php – 臭名昭着的Apache错误“父:子进程退出状态为3221225477”
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了php – 臭名昭着的Apache错误“父:子进程退出状态为3221225477”,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2178字,纯文字阅读大概需要4分钟。
内容图文
![php – 臭名昭着的Apache错误“父:子进程退出状态为3221225477”](/upload/InfoBanner/zyjiaocheng/966/5486b60b8c3240f5a730cf822102275e.jpg)
我已经阅读了一些与臭名昭着的Apache错误相关的问题和回答
Apache error [notice] Parent: child process exited with status 3221225477 — Restarting
但到目前为止没有什么可以帮助我.我问你的是,如果我使用Linux版本,脚本是否会因为同样的原因而崩溃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(XAMPP for Windows 1.5.4)运行旧的XAMPP版本并使用Doctrine ORM(是的,我知道Doctrine需要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,Apache中发生这种情况的原因.
干杯
T恤
内容总结
以上是互联网集市为您收集整理的php – 臭名昭着的Apache错误“父:子进程退出状态为3221225477”全部内容,希望文章能够帮你解决php – 臭名昭着的Apache错误“父:子进程退出状态为3221225477”所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。