How big is the file? What error are you getting in your nginx logs ? /var/log/nginx.log most likely
Jan 26, 2023
8
Level 1
upload large file in php not working
I am trying to upload large file on my web application, I edited the max_file_uploads and post_max_size in my php.ini file which is located in /etc/php/7.4/fpm/php.ini, and edited ngnix.conf and added http { client_max_body_size 100M; } and restarted php7.4-fpm and ngnix but still I get 413 error code and can't upload large files
Level 102
@Sting So it isnt being picked up somewhere. Start by creating a file named info.php inside your public folder.
<?php
phpinfo();
Addt this content and open it in a browser. Find max_file_uploads and post_max_size and ensure they have the correct values
Please or to participate in this conversation.