Apache / PHP分段错误

时间:2015-01-09 08:04:45

标签: php apache segmentation-fault

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

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

在我的apache error_log中,我得到了这个:

[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

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

任何想法?

1 个答案:

答案 0 :(得分: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"

问题解决了。