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

Posted July 5, 2015 4.5k views

I´m trying to increase the uploadmaxfilesize in WordPress

Using this tutorial:

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.

Submit an Answer
4 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…


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.