Illuminate \ Http \ Exceptions \ PostTooLargeException

后端 未结 4 2062
感动是毒
感动是毒 2021-02-14 08:01

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:43

    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

提交回复
热议问题