Devmaurice's avatar

A video file Server configurations:

So suppose i want to do a vido uploader app. Which settings should change especially in php and nginx.

I get errors such as this

 413 Request Entity Too Large

but i have already bumped up my php.ini file upload size.

Its good to mention am using forge by @TaylorOtwell and i have changed the php-fpm config from there and restarted php-fpm.

0 likes
2 replies
rin4ik's avatar

@Devmaurice had the same problem. please in your index.php file(which is in public folder in your project) write phpinfo(); and see this line https://d.pr/free/i/tXLAkF.

and this line as well https://d.pr/free/i/UYYbgv. after go to php.ini(which is in phpinfo) and make this upload_max_filesize = 1000M to equal whatever you want. it should absolutely solve your problem

Devmaurice's avatar

@rin4ik i had already done that. i found the problem i added this to my nginx file

   client_max_body_size 100M;

Please or to participate in this conversation.