Illuminate \ Http \ Exceptions \ PostTooLargeException

后端 未结 4 2063
情书的邮戳
情书的邮戳 2021-02-14 15:30

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 15:49

    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

提交回复
热议问题