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
php.ini upload_max_filesize is not working
I have updated uploadmaxfilesize in php.ini (which is in the php_info()) and restarted the apache with
sudo service apache2 restart
But phpinfo() still showing uploadmaxfilesize as 2M. I even tried to restart the server but the same result. I changed the postmax_size but it is showing as 8M.
Can someone give solution to this?
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.×