imagick crash with PHP 5.3

前端 未结 3 2045
情话喂你
情话喂你 2021-02-20 13:06

I\'m getting this error:

The connection to the server was reset while the page was loading.

This only occurs when I try to load an i

3条回答
  •  无人共我
    2021-02-20 13:10

    I just got the same error in my new server, if using PHP "new Imagick("$imagebath")"

    the fix is:

    set "php.ini" "memory_limit = 256M" (or more, it was 128, it's not enough), error log: "Out of memory in UB xxx: OOM killed process x (httpd)..." So the request was reset to browser.

提交回复
热议问题