Question

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

I´m trying to increase the upload_max_filesize 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

Subscribe
Share

Define digit the code


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Open your php.ini file to configure…

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

Press Ctrl+W and search for upload_max_filesize ,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.

This comment has been deleted

what code?