ispCP - Board - Support
Increase image file upload size in wordpress - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Increase image file upload size in wordpress (/thread-14107.html)



Increase image file upload size in wordpress - Holmey - 06-03-2011 07:31 AM

Hi,

I've recently hosted a Wordpress based site on a server with an ispCP, (a CP I am not familiar with), and the image upload on the web site is a max of 2mb. I understand that to increase this I need to increase the limit in the database, can anybody please advise me how to do this.

Many thanks.

Holmey


RE: Increase image file upload size in wordpress - kilburn - 06-03-2011 12:42 PM

You have to change the directives "upload_max_filesize" and "post_max_size" in the domain's php.ini file, that is located in "/var/www/fcgi/domain.tld/php5/php.ini" (where domain.tld is the domain you want to change).


RE: Increase image file upload size in wordpress - Holmey - 06-03-2011 07:30 PM

Thanks for the reply and I would do that if I could find the php.ini file on the server with the 2 attached screenshots being of the server directories.

Can you please point out to me where I can find this file to edit.

Holmey


RE: Increase image file upload size in wordpress - fluser - 06-03-2011 09:36 PM

You should have a look onto the shell of your server...