2012-04-24 92 views
0

我已經安裝了新的Symfony 2.1框架我的本地服務器阿帕奇2.22 + PHP 5.40 + Symfony2的Frameowrk =阿帕奇分割故障(11)

當我運行http://www.myhost.com/app_dev.php

我得到我的瀏覽器

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data. 

,當我結帳我/var/log/apache2/error.log文件,我看到

[Tue Apr 24 12:03:43 2012] [notice] seg fault or similar nasty error detected in the parent process 
[Tue Apr 24 12:03:44 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.0-3~precise+4 configured -- resuming normal operations 
[Tue Apr 24 12:03:58 2012] [notice] child pid 3016 exit signal Segmentation fault (11) 
[Tue Apr 24 12:03:59 2012] [notice] child pid 3014 exit signal Segmentation fault (11) 
[Tue Apr 24 12:04:00 2012] [notice] child pid 3025 exit signal Segmentation fault (11) 
[Tue Apr 24 12:04:01 2012] [notice] child pid 3013 exit signal Segmentation fault (11) 
[Tue Apr 24 12:04:24 2012] [notice] child pid 3012 exit signal Segmentation fault (11) 

我該如何調試,或者更好的解決這個問題?

回答

4

通常,爲什麼PHP會發出httpd segfault(不會留下核心轉儲,我猜想)是PHP中的錯誤擴展,或者是兩個不兼容的擴展。

的例子是:

  • APC +了XCache(或在普通二加速器)
  • 了Suhosin + Xdebug的
+0

感謝,我想通了,它與我的APC的事,當我啓用它,它再次打破....這裏是我的配置擴展=/usr/lib/php5/20100525/apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 50M – Confidence 2012-04-24 12:31:40

+0

嘿,沒有你會發現任何解決方案使用apc與你的confi guration呢? – lenybernard 2015-01-06 23:44:01