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

July 5, 2015 3.7k views
WordPress Apache Ubuntu

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
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!

  • I went to that exact location and my php.ini file has nothing written in it, where could it be?

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.

Have another answer? Share your knowledge.