Do you use Forge to serve your site? If so, I had a similar problem a while back which was answered by Nash. This is the thread :
https://laracasts.com/discuss/channels/forge/changes-to-phpini-not-being-reflected-on-forge-server
I want to upload a video file, about 10MB. I tried to override php's default upload sizes by setting these in AppServiceProvider boot function:
ini_set("memory_limit", "100M");
ini_set('post_max_size', '50M');
ini_set('upload_max_filesize', '50M');
However these don't seem to help because I get the same error as before:
Warning: POST Content-Length of 8982677 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
How can I achieve this in Laravel?
Please or to participate in this conversation.