亚马逊Linux上的Nginx php-fpm =退出信号11

前端之家收集整理的这篇文章主要介绍了亚马逊Linux上的Nginx php-fpm =退出信号11前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
亚马逊 Linux最新

PHP 5.4.19(cli)(建于2013年9月3日23:19:23)

Nginx版本:Nginx / 1.2.9

安装PHP-FPM:PHP 5.4.19(fpm-fcgi)(内置:2013年9月3日23:22:01)

PHPinfo()正在工作

pma.Nginx.conf:

server {
listen 80;
server_name pma.my.server;

root /usr/share/PHPmyadmin;
index index.PHP;
charset UTF-8;

access_log /var/log/myserver/pma.access.log;
error_log /var/log/myserver/pma.error.log;

location ~ \.PHP${
    include fastcgi_params;
    fastcgi_pass  PHP-fpm;
    fastcgi_index index.PHP;
    fastcgi_param SCRIPT_FILENAME /usr/share/PHPmyadmin/$fastcgi_script_name;
    fastcgi_param DOCUMENT_ROOT /usr/share/PHPmyadmin/;
    fastcgi_intercept_errors on;
}

}

/var/log/myserver/pma.error.log:

[error] 21374#0: *13 recv() Failed (104: Connection reset by peer) while reading response header from upstream,client: 1.0.255.202,server: pma.my.server,request: "GET /js/get_image.js.PHP?theme=pmahomme HTTP/1.1",upstream: "fastcgi://unix:/var/run/PHP-fpm/PHP-fpm.sock:",host: "pma.my.server",referrer: "http://pma.my.server/"

/var/log/PHP-fpm/error.log

NOTICE: fpm is running,pid 21598
NOTICE: ready to handle connections
WARNING: [pool www] child 21600 exited on signal 11 (SIGSEGV) after 12.862493 seconds from start
NOTICE: [pool www] child 21614 started
WARNING: [pool www] child 21602 exited on signal 11 (SIGSEGV) after 13.768522 seconds from start
NOTICE: [pool www] child 21617 started

在/ var / log / messages中

kernel: [12499.658777] PHP-fpm[21603]: segfault at 0 ip 00000000005c5a39 sp 00007fffb44d6d60 error 4 in PHP-fpm[400000+31c000]

我没有Nginx和FastCGI的丰富经验,所以我需要你的帮助.你有什么想法?提前致谢

解决方法

似乎PHP正试图将会话数据写入一个实际上不可写的目录,即/ var / lib / PHP / session.

Thanks to Michael Hampton

原文链接:https://www.f2er.com/linux/393086.html

猜你在找的Linux相关文章