nginx – Updated upload_max_filesize and post_max_size in php.ini but still cant upload large files
I am using a Laravel based app on Ubuntu 22.04, Nginx, php8.2-fpm.
I have deployed the same app on 2 other servers but they use Ubuntu 20.04 and php8.1-fpm.
In each case I updated the php.ini of both the cli and the fpm.
When I run php.ini | grep upload_max_filesize it shows the values I updated.
I have restarted php, nginx and the server several times.
On the old servers large file uploads are no problem.
However on the new server I can not upload files larger than 2M.
Does anyone know of any other settings I need to be aware of?
I’m, just completely baffled right now…..
Read more here: Source link
