502 - php的phalcon框架502 Bad Gateway错误,nginx环境
php-fpm.log总是出现下面这样的提示:
[16-May-2015 19:08:58] NOTICE: [pool www] child 28875 started
[16-May-2015 19:09:00] WARNING: [pool www] child 28870 exited on signal 11 (SIGSEGV - core dumped) after 3.975894 seconds from start
[16-May-2015 19:09:00] NOTICE: [pool www] child 28878 started
[16-May-2015 19:09:02] WARNING: [pool www] child 28875 exited on signal 11 (SIGSEGV - core dumped) after 4.456202 seconds from start
[16-May-2015 19:09:02] NOTICE: [pool www] child 28880 started
[16-May-2015 19:10:20] WARNING: [pool www] child 28878 exited on signal 11 (SIGSEGV - core dumped) after 80.234199 seconds from start
[16-May-2015 19:10:20] NOTICE: [pool www] child 28896 started
[16-May-2015 19:10:27] WARNING: [pool www] child 28880 exited on signal 11 (SIGSEGV - core dumped) after 84.586972 seconds from start
[16-May-2015 19:10:27] NOTICE: [pool www] child 28902 started
[16-May-2015 19:33:08] WARNING: [pool www] child 28902 exited on signal 11 (SIGSEGV - core dumped) after 1361.414055 seconds from start
[16-May-2015 19:33:08] NOTICE: [pool www] child 29351 started
nginx错误
015/05/16 19:10:27 [error] 27803#0: *214 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.153.1, server: www.codebaa.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fastcgi.socket:", host: "www.codebaa.com", referrer: "http://www.codebaa.com/ajax/test/test"
2015/05/16 19:33:08 [error] 27803#0: *218 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.153.1, server: www.codebaa.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fastcgi.socket:", host: "www.codebaa.com", referrer: "http://www.codebaa.com/ajax/test/test"
回复内容:
如果是简单的 echo 'hello world'; 的话可以正常访问,使用phalcon的就不行,不知道怎么回事,求助。
php-fpm.log总是出现下面这样的提示:
[16-May-2015 19:08:58] NOTICE: [pool www] child 28875 started
[16-May-2015 19:09:00] WARNING: [pool www] child 28870 exited on signal 11 (SIGSEGV - core dumped) after 3.975894 seconds from start
[16-May-2015 19:09:00] NOTICE: [pool www] child 28878 started
[16-May-2015 19:09:02] WARNING: [pool www] child 28875 exited on signal 11 (SIGSEGV - core dumped) after 4.456202 seconds from start
[16-May-2015 19:09:02] NOTICE: [pool www] child 28880 started
[16-May-2015 19:10:20] WARNING: [pool www] child 28878 exited on signal 11 (SIGSEGV - core dumped) after 80.234199 seconds from start
[16-May-2015 19:10:20] NOTICE: [pool www] child 28896 started
[16-May-2015 19:10:27] WARNING: [pool www] child 28880 exited on signal 11 (SIGSEGV - core dumped) after 84.586972 seconds from start
[16-May-2015 19:10:27] NOTICE: [pool www] child 28902 started
[16-May-2015 19:33:08] WARNING: [pool www] child 28902 exited on signal 11 (SIGSEGV - core dumped) after 1361.414055 seconds from start
[16-May-2015 19:33:08] NOTICE: [pool www] child 29351 started
nginx错误
015/05/16 19:10:27 [error] 27803#0: *214 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.153.1, server: www.codebaa.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fastcgi.socket:", host: "www.codebaa.com", referrer: "http://www.codebaa.com/ajax/test/test"
2015/05/16 19:33:08 [error] 27803#0: *218 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.153.1, server: www.codebaa.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fastcgi.socket:", host: "www.codebaa.com", referrer: "http://www.codebaa.com/ajax/test/test"
是否安装了opcache,先禁用试试。
下一篇: 有关网页头部的课程推荐8篇
推荐阅读
-
Yii框架使用xhprof会在nginx下报502 Bad Gateway错误
-
nginx-php5-fpm - Nginx + PHP(php-fpm)遇到的502 Bad Gateway 错误,该如何解决,有哪些方法?
-
502 - php的phalcon框架502 Bad Gateway错误,nginx环境
-
nginx-php5-fpm - 当nginx显示502 Bad Gateway错误,如何实现用户无感知的自动重启php-fpm
-
502 - php的phalcon框架502 Bad Gateway错误,nginx环境
-
nginx加php-fpm出现502 bad gateway错误的5种解决方法
-
Nginx 502 Bad Gateway错误常见的4种原因和解决方法
-
解决Nginx + PHP(FastCGI)遇到的502 Bad Gateway错误
-
深入探讨:Nginx 502 Bad Gateway错误的解决方法
-
nginx加php-fpm出现502 bad gateway错误的5种解决方法