Illuminate \ Http \ Exceptions \ PostTooLargeException

后端 未结 4 2108
失恋的感觉
失恋的感觉 2021-02-14 08:03

I already configured php.ini file (post_max_size=10240M), but it\'s still throwing PostTooLargeException. How to increase upload and download limit in Laravel 5.5?

4条回答
  •  执念已碎
    2021-02-14 08:58

    You may try the following code in your php.ini file to increase the memory limit.

     ini_set('memory_limit','10240M');
     # Do your Intervention operations...
    

    You may also be interested to read https://laracasts.com/discuss/channels/servers/interventionimage-memory-limit?page=1

提交回复
热议问题