【问题标题】:Apache/PHP Segmentation faultApache/PHP 分段错误
【发布时间】:2015-03-07 12:23:38
【问题描述】:

我已经尝试解决这个问题大约 2 个月了。

我正在运行 xampp 5.6.3 64 位(apache 2.4.10 和 php 5.6.3)

在我的 apache 错误日志中,我得到了这个:

[Mon Dec 29 20:53:49.172435 2014] [core:notice] [pid 15389] AH00051: child pid 15800 exit signal Segmentation fault (11), possible coredump in /opt/lampp/dumps/
[Mon Dec 29 20:53:51.174128 2014] [core:notice] [pid 15389] AH00051: child pid 15917 exit signal Segmentation fault (11), possible coredump in /opt/lampp/dumps/
[Mon Dec 29 20:54:02.185605 2014] [core:notice] [pid 15389] AH00051: child pid 15904 exit signal Segmentation fault (11), possible coredump in /opt/lampp/dumps/
[Mon Dec 29 20:54:03.186109 2014] [core:notice] [pid 15389] AH00051: child pid 15972 exit signal Segmentation fault (11), possible coredump in /opt/lampp/dumps/
[Mon Dec 29 20:54:07.190239 2014] [core:notice] [pid 15389] AH00051: child pid 15942 exit signal Segmentation fault (11), possible coredump in /opt/lampp/dumps/
[Mon Dec 29 20:54:22.205090 2014] [core:notice] [pid 15389] AH00051: child pid 15808 exit signal Segmentation fault (11), possible coredump in /opt/lampp/dumps/

这种情况随机且经常发生... 我做了一个 apache 的核心转储,这就是我得到的:

Core was generated by `/opt/lampp/bin/httpd -k start -E /opt/lampp/logs/error_log -DSSL -DPHP'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f747374a7d6 in zend_stack_push () from /opt/lampp/modules/libphp5.so  

我还尝试了 xampp 5.5.19-0(apache 2.4.10 和 php 5.5.19),但我的 error_log 中仍然出现相同的错误。我目前正在运行 5.5.19

我在此服务器上运行的站点/脚本非常密集。

有什么想法吗?

【问题讨论】:

  • 似乎某些库已损坏。您是否尝试重新安装?
  • 我重新安装了 Xampp(5.63 和 5.5.19)2 次。
  • 我遇到了同样的问题:我开发了一个非常数据库密集型的 WordPress 插件(该插件从不同的 CMS 迁移内容并尝试解决所有内部引用)。第二个功能(调整内部引用)使用 LIKE 语句的大量 SELECT 查询(因为我需要搜索子字符串)在出现错误时正确工作到某个点(我现在无法找到)在 apache error_log 文件中
  • 我的是一个无限递归的问题。参考:stackoverflow.com/questions/7327393/…

标签: php apache segmentation-fault


【解决方案1】:

我遇到了这个问题并检查了我的日志。我找到了这样的一行

 [25-Dec-2017 20:38:45 Europe/Berlin] PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0

我将 Ioncube 加载程序行移到 php.ini 的顶部

zend_extension="ioncube_loader_lin_5.6.so"

问题解决了。

【讨论】:

    猜你喜欢
    • 2020-11-26
    • 1970-01-01
    • 2014-01-03
    • 2013-08-12
    • 2017-09-29
    • 2011-08-05
    • 2020-05-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多