Linux Apache LOG: child pid xxxx exit signal Segmentation fault (11)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5335250/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Apache LOG: child pid xxxx exit signal Segmentation fault (11)
提问by Bruce Dou
Apache + PHP + Mysql + Linux
Apache + PHP + Mysql + Linux
[notice] child pid 23145 exit signal Segmentation fault (11), possible coredump in /tmp
[notice] child pid 23145 exit signal Segmentation fault (11), 可能 coredump in /tmp
But nothing found under /tmp
但是在 /tmp 下没有找到
How can i find the error?
我怎样才能找到错误?
采纳答案by Bruce Dou
Endless loop of the function in PHP code caused this error.
PHP 代码中函数的无限循环导致此错误。
回答by Gen.Stack
Check whether your PHP-FPM and PHP versions match. Make sure there is a (correct) PHP-FPM configuration corresponding to your PHP and PHP-FPM version, respectively.
检查您的 PHP-FPM 和 PHP 版本是否匹配。确保有(正确的)PHP-FPM 配置分别对应于您的 PHP 和 PHP-FPM 版本。
PHP-FPM (config in /etc/php/7.0/fpm
) and PHP versions may have gotten out of sync while updating. Updated PHP (/etc/php/7.3/
) may cause apache child segfaults because of missing PHP-FPM configuration in /etc/php/7.3/
.
PHP-FPM(配置文件/etc/php/7.0/fpm
)和 PHP 版本可能在更新时不同步。更新的 PHP ( /etc/php/7.3/
) 可能会导致 apache 子段错误,因为/etc/php/7.3/
.
See also “[notice] child pid XXXX exit signal Segmentation fault (11)” in apache error.log.
另请参阅apache error.log 中的“[notice] child pid XXXX exit signal Segmentation fault (11)”。