Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
changing upload_max_filesize in php.ini
Hello! I had “413 Request Entity Too Large” problem.
So I’ve fixed it by adding
Then I tried to upload my theme again and saw the message that I should change uploadmaxfilesize 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 uploadmaxfilesize in php.ini
Please help! :)
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.×