关于Parent: child process exited with status 3221225477 -- Restarting.(转)

来源:互联网 发布:广州知伴科技有限公司 编辑:程序博客网 时间:2024/06/18 00:30

关于Parent: child process exited with status 3221225477 -- Restarting.(转)

配置Discuz!论坛项目,从网上下载的是4.1.0版本,在我机器上的环境是Apache2.2.15+MySQL5.1.45+PHP5.2.13。

按照Discuz!的说明,一步一步的走,刚走了没几步,数据库里建表的时候Apache突然崩掉了,以为是突发问题,OK,一切重新来……

问题依旧。

查看error.log,发现Parent: child process exited with status 3221225477 -- Restarting.信息提示,求助于百度大叔,无解……

因为每次都是操作数据库的时候出的问题,怀疑是不是连接数据库出现问题,自己手动写个连接数据库操作的测试页面,执行。

咔,那个证明Apache崩溃的窗口又一次出现了。

查看日志,又是Parent: child process exited with status 3221225477 -- Restarting.这个信息,OK,现在确定是连接数据库操作的时候出现问题,继续网上流浪吧。

百度,谷歌

哈,功夫不负有心人啊,终于找到个解决方案:

blog.she.vc/(这里发现的,内容如下)

php5与apache2.x环境报错:

[notice] Parent: child process exited with status 3221225477 — Restarting.

解决办法:

copied the following two files from my PHP directory to the Win32 directory and the errors stopped : php5apache.dll, libmysql.dll.

中文解析:复制php5目录下的php5apache.dll和libmysql.dll两个dll文件到windows/system32目录下,然后重启server.

注意,php5apache.dll只适用于apache 版本1的,
PHP5压缩包里的php5apache2.dll只适用于apache2.0.*版本;
如果是2.2.*以上版本,换成php5apache2_2.dll即可。

请遇到问题的朋友注意一下php5apache.dll的版本,根据自己的Apache版本COPY对应的php5apache.dll文件。

按照上面的操作之后,再次执行连接数据库的测试页面,OK,一切正常,Discuz!配置,一切OK。


转自 http://dayong20040206.blog.163.com/blog/static/17699232201022210049331/

0 0
原创粉丝点击