Report this

What is the reason for this report?

changing upload_max_filesize in php.ini

Posted on April 21, 2015

Hello! I had “413 Request Entity Too Large” problem. So I’ve fixed it by adding

client_max_body_size 32m;

to nginx.conf.

Then I tried to upload my theme again and saw the message that I should change upload_max_filesize in php.ini.

I have nginx, so I’ve found /etc/php5/fpm/php.ini. And set parameters:

post_max_size = 16M
upload_max_filesize = 16M
memory_limit = 128M

Then I’ve rebooted nginx using

sudo service nginx restart

But the problem is still exists: when I’m trying to upload a theme a see a message about changing upload_max_filesize in php.ini

Please help! :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.