HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Perfect ubuntu server (apache) + Wordpress and php max_upload_size (http://www.howtoforge.com/forums/showthread.php?t=59099)

Tarm 15th October 2012 00:06

Perfect ubuntu server (apache) + Wordpress and php max_upload_size
 
Hi!

I've followed the Perfect Ubuntu Server (apache) tutorial, and got my server up and running.

After installing Wordpress and trying to upload some plugins (the smaller one works), I get the error 'the uploaded file are larger than max_upload_filesize in php.ini'.
I have increased max_upload_filesize in /etc/php5/apache2/php.ini to 30M (the file I'm trying to upload is about 3mb). I also found a tutorial with the same issue here, which says to set MaxRequestLen to 15728640 (15mb, I used 30mb) in /etc/apache2/mods-enabled/fcgid.conf.

I did reboot the server after this, to ensure all involved services would restart.

I'm still getting the same issue. Does anyone got any tips?

Thanks!

till 15th October 2012 08:34

Increase the value in the file /etc/php5/cgi/php.ini as well and restart apache.

Tarm 15th October 2012 09:13

It works great, than you sir! : )


All times are GMT +2. The time now is 19:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.