0

我在本地服务器上安装了新的 Symfony 2.1 框架

当我跑步时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

1 回答 1

4

通常 PHP 产生 httpd 段错误(我想没有留下核心转储)的原因是 PHP 中的一个错误扩展,或者是两个不兼容的扩展的组合。

例子是:

  • APC + XCache(或者,通常是两个加速器)
  • suhosin + xdebug
于 2012-04-24T10:39:50.217 回答