apache error.log中的"[notice]子pid XXXX退出信号分段错误(11)" [英] “[notice] child pid XXXX exit signal Segmentation fault (11)” in apache error.log
问题描述
首先,这不是重复的,因为所提供的解决方案与针对类似问题的解决方案有所不同,并且"[notice] child pid XXXX exit信号分段故障(11)"在Apache error.log 中不再接受任何答案.我还不能对此发表评论.
First off: this is no duplicate as the solution provided differs from any solution for similar questions and "[notice] child pid XXXX exit signal Segmentation fault (11)" in apache error.log does not accept any more answers. Also I cannot comment on SO yet.
我刚刚从PHP-7.0升级到PHP-7.3(或与此相关的任何版本组合),现在可以得到
I just upgraded from PHP-7.0 to PHP-7.3 (or any version combo for that matter) and am now getting
[notice]子pid XXXX退出信号分段错误(11)
[notice] child pid XXXX exit signal Segmentation fault (11)
在我的Apache error.log文件中.
in my apache error.log file.
此问题的其他解决方案不适用:
Other solutions to this question did not apply:
- Apache LOG:子pid xxxx退出信号分段错误(11)
- centos Apache"error_log中的"Child pid ***退出信号分段错误(11)""
- child pid xxxxx退出信号分段错误(11)
- Apache LOG: child pid xxxx exit signal Segmentation fault (11)
- centos Apache "Child pid *** exit signal Segmentation fault (11)" in error_log
- child pid xxxxx exit signal Segmentation fault (11)
TIA
推荐答案
检查您的PHP-FPM和PHP版本是否匹配.确保分别有一个与您的PHP和PHP-FPM版本相对应的(正确)PHP-FPM配置.
在Debian系统上,应该是这样的:
On a Debian system there should be something like this:
/etc/php/7.3/fpm
/etc/php/7.3/fpm/php.ini
/etc/php/7.3/fpm/php-fpm.conf
/etc/php/7.3/fpm/pool.d
/etc/php/7.3/fpm/conf.d
/etc/php/7.3/fpm/pool.d/www.conf
在我的系统上,缺少/etc/php/7.3/fpm
目录.原因:旧版PHP-FPM没有更新.安装PHP-FPM更新并通过我的调整后的配置同步新的fpm配置后,不再有段错误,并且一切都像更新前一样开始工作.
On my system the /etc/php/7.3/fpm
directory was missing. Reason: legacy PHP-FPM didn't get updated. After installing the PHP-FPM update and synch'ing the new fpm config w/ my tweaked config there were no more segfaults and everything started working as it did before the update.
那些儿童段过错的根本原因是特别讨厌隔离,也许这样的答案可以为其他人省去麻烦.
The root cause for those child segfaults was particulary nasty to isolate, maybe this SO answer can save others the hassle.
HTH
这篇关于apache error.log中的"[notice]子pid XXXX退出信号分段错误(11)"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!