首页 > 后端开发 > php教程 > 502 - php的phalcon框架502 Bad Gateway错误,nginx环境

502 - php的phalcon框架502 Bad Gateway错误,nginx环境

WBOY
发布: 2016-06-06 20:34:42
原创
1785 人浏览过

如果是简单的 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"

回复内容:

如果是简单的 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,先禁用试试。

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板