Question

How can I increase the upload_max_filesize in WordPress? PLEASE HELP!!!

Posted July 5, 2015 4.1k views
UbuntuApacheWordPress

I´m trying to increase the uploadmaxfilesize in WordPress

Using this tutorial:
https://www.digitalocean.com/community/questions/how-can-i-increase-the-upload_max_filesize-in-wordpress

But when I try to digit the code in console acces NOTHING APPEARS, what is happening???

Please help me

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Open your php.ini file to configure…

sudo nano /etc/php5/fpm/php.ini

Press Ctrl+W and search for uploadmaxfilesize ,set it to your desired size…

upload_max_filesize=100M

Restart PHP…

sudo service php5-fpm restart

Good luck!

My mistake, it seems you’re using a LAMP stack so you might be not be using php5-fpm. I’m using that on an Ubuntu 14.04 LTS install along with a LEMP stack, so I’m using Nginx, and there are some differences between Nginx and Apache.

Submit an Answer