random 502 gateway errors with nginx php-fpm and ubuntu

前端 未结 4 1161
长情又很酷
长情又很酷 2021-02-01 23:54

I was having an issue with random 502 gateway errors using nginx and php-fpm. In my case I discovered a scenario where various php.ini error_log settings and error_reporting lev

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 00:56

    If above steps don't help you solve your issue, check if you have eaccelerator enabled.

    Disable it globally by disabling the load .so entry in either your php.ini or php.d/eaccelerator.ini

    All problems are gone. Seems like the accellerator fails in certain situations in combination with php-fpm.

提交回复
热议问题