PHP file upload limit

the venerable php hammer. 

a hammer with two claws
the php hammer

For some reason the defaults in php will remain tiny forever and ever, amen. So you always gotta do this if you want to upload a pic or clip larger than the default upload_max_filesize of 2MB:

root@www:~# cat /etc/php/8.2/fpm/php.ini  |egrep "upload_max|post_max"
post_max_size = 400M
upload_max_filesize = 200M
root@www:~# systemctl restart php8.2-fpm.service

, ,