没事升级了下PHP并顺便安装了eAccelerator组件,没想到竟然让偶折腾了几个小时。。。
安装完成后访问后台空白,访问探针文件502错误,其它都正常,看Nginx日志:
recv() failed (104: Connection reset by peer) while reading response header from upstream
看样子是后端PHP-FPM的问题,接着看其日志:
child 4736 exited on signal 11 (SIGSEGV) after 1336.002675 seconds from start
果真如此,配置让其更详细的输出错误:
catch_workers_output = yes
再次查看PHP-FPM日志:
[notice] EACCELERATOR(5646): PHP crashed on opline 674 of main()
竟然是eAccelerator的问题,删除之,恢复正常。
标签:none