臭名昭著的apache错误“父母:以状态退出的子进程3221225477“

问题描述 投票:0回答:1
但是到目前为止,没有什么能帮助我。我要问的是,如果我使用了linux版本,脚本是否可以出于相同的原因crash apache?

如果有人对我的情况有任何建议,这就是Apache的
error.log

[Mon Aug 08 14:31:44 2011] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Mon Aug 08 14:31:44 2011] [crit] (22)Invalid argument: unable to replace stderr with error_log [Mon Aug 08 14:31:44 2011] [crit] (2)No such file or directory: unable to replace stderr with /dev/null [Mon Aug 08 14:31:44 2011] [notice] Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_autoindex_color PHP/5.1.6 configured -- resuming normal operations [Mon Aug 08 14:31:44 2011] [notice] Server built: Aug 13 2006 19:16:43 [Mon Aug 08 14:31:44 2011] [notice] Parent: Created child process 4364 [Mon Aug 08 14:31:45 2011] [notice] Child 4364: Child process is running [Mon Aug 08 14:31:45 2011] [notice] Child 4364: Acquired the start mutex. [Mon Aug 08 14:31:45 2011] [notice] Child 4364: Starting 250 worker threads. [Mon Aug 08 14:31:45 2011] [notice] Child 4364: Starting thread to listen on port 8088. [Mon Aug 08 14:31:45 2011] [notice] Child 4364: Starting thread to listen on port 8086.

我不明白为什么在文件系统周围移动DLL解决了大多数问题和有关移动库的相关问题中的所有建议,这些问题对我不起作用。

我正在运行带有php 5.1.6(Windows 1.5.4的XAMPP)的旧XAMPP版本并使用学说ORM(是的,我知道学说需要PHP 5.2.3+)。
    

我在WAMP安装上遇到了同样的问题。我将其跟踪到了一些自己的垃圾代码。我有一种方法来调用自己。
这里是一个例子: - 

<?php echo "Welcome to stupid class!"; class stupid_class { public $example_data; function stupid_function($Data) { self::stupid_function($Data); if($Data=="Hello") return true; else die("Incorrect data passed through.".$Data."<br />"); } } $myClass = new stupid_class(); $myvalue = $myClass->stupid_function("Hello"); ?>

我知道这几乎不是一个很好的代码的理想例子(实际上是错别字),但是我希望在获得“连接已重置”消息之前会出现一些错误。
php apache2 xampp
1个回答
3
投票

Tee

在我的情况下,这是PHP扩展APC(php_apc.dll,3.1.10-5.4-vc9-x86,threadSafe),造成了错误。

I使用XAMPP 1.8.2与PHP 5.4.19和Apache2.4.4

使用

由于也可能是另一个扩展名引起的,这可能是从XAMPP分布中恢复原始php.ini的好起点。如果此操作效果很好,请尝试通过行将其更改为您所需的配置(从扩展名列表开始)。

当它找不到引用的PHP模块时;例如:

LoadModule php_module "C:/Program Files/PHP/php8apache2_4.dll"

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.