Illuminate \ Http \ Exceptions \ PostTooLargeException

后端 未结 4 843
眼角桃花
眼角桃花 2021-02-14 15:24

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

    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

提交回复
热议问题