+ -
当前位置:首页 → 问答吧 → 求助 apache不能启动

求助 apache不能启动

时间:2007-09-11

来源:互联网

网上的答案都是非常模糊,我弄了几天了
请哪位帮帮好么,谢谢

apache的err.log文件
复制内容到剪贴板
代码:
[Tue Sep 11 12:58:34 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Tue Sep 11 12:58:34 2007] [notice] Server built: Jan  9 2007 23:17:20
[Tue Sep 11 12:58:34 2007] [notice] Parent: Created child process 1056
[Tue Sep 11 12:58:34 2007] [notice] Child 1056: Child process is running
[Tue Sep 11 12:58:34 2007] [notice] Child 1056: Acquired the start mutex.
[Tue Sep 11 12:58:34 2007] [notice] Child 1056: Starting 250 worker threads.
[Tue Sep 11 12:58:34 2007] [notice] Child 1056: Starting thread to listen on port 80.
[Tue Sep 11 13:00:33 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Sep 11 13:00:33 2007] [notice] Child 1056: Exit event signaled. Child process is ending.
[Tue Sep 11 13:00:33 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Tue Sep 11 13:00:33 2007] [notice] Server built: Jan  9 2007 23:17:20
[Tue Sep 11 13:00:33 2007] [notice] Parent: Created child process 3840
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_gd2.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_gettext.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_mbstring.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_mysql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_mysqli.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_pdo.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_pdo_mysql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_pdo_pgsql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_pdo_sqlite.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_pgsql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_sqlite.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_zip.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.3.0 is incompatible with Xdebug 2.0.0 in Unknown on line 0
[Tue Sep 11 13:00:33 2007] [crit] master_main: create child process failed. Exiting.
[Tue Sep 11 13:00:34 2007] [notice] Child 1056: Released the start mutex
[Tue Sep 11 13:00:35 2007] [notice] Child 1056: Waiting for 250 worker threads to exit.
[Tue Sep 11 13:00:35 2007] [notice] Child 1056: All worker threads have exited.
[Tue Sep 11 13:00:35 2007] [notice] Child 1056: Child process is exiting
[Tue Sep 11 13:01:03 2007] [notice] Parent: Forcing termination of child process 36

作者: shenstef   发布时间: 2007-09-11

看日志,是不能正常加载PHP里面的gd库模块:
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/php5/ext\\php_gd2.dll' -“
查看一下你的php.ini扩展相关的模块是否设置正确。

作者: netseek   发布时间: 2007-09-11

不是的
主要是这个错误,应为我现在没有整合php还是出错
复制内容到剪贴板
代码:
[Tue Sep 11 13:44:05 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Tue Sep 11 13:44:05 2007] [notice] Server built: Jan  9 2007 23:17:20
[Tue Sep 11 13:44:05 2007] [notice] Parent: Created child process 3188
[Tue Sep 11 13:44:05 2007] [notice] Child 3188: Child process is running
[Tue Sep 11 13:44:05 2007] [crit] (OS 10022)提供了一个无效的参数。  : Child 3188: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Tue Sep 11 13:44:05 2007] [crit] Parent: child process exited with status 3 -- Aborting.

作者: shenstef   发布时间: 2007-09-11

:Q 版主和众位高手快帮忙瞧瞧啊

作者: shenstef   发布时间: 2007-09-11

引用:
原帖由 shenstef 于 2007-9-11 13:48 发表
不是的
主要是这个错误,应为我现在没有整合php还是出错

[Tue Sep 11 13:44:05 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Tue Sep 11 13:44:05 2007] [notice] Serv ...
那你重新配置一下,再有问题,具体分析。
如果你对坏境要求不是很强,推荐你使用XAMPP超强的集成环境,具体请参见:
http://www.apachefriends.org/zh_cn/xampp.html

作者: netseek   发布时间: 2007-09-11

引用:
原帖由 netseek 于 2007-9-11 18:04 发表


那你重新配置一下,再有问题,具体分析。
如果你对坏境要求不是很强,推荐你使用XAMPP超强的集成环境,具体请参见:
http://www.apachefriends.org/zh_cn/xampp.html
:Q 问题是用集成包还是不能启动的
:lol

作者: shenstef   发布时间: 2007-09-11

发配置瞧下:lol

作者: �����i�i   发布时间: 2007-09-11

引用:
原帖由 �����i�i 于 2007-9-11 22:20 发表
发配置瞧下:lol
:$
台式电脑
酷睿2 4400
kingstong 1G
onda 946
benq dvd
maxtor 80G
七彩虹 256M

作者: shenstef   发布时间: 2007-09-12

:L:Q  XAMPP也装不了,你得把原来的服务删除,重启后再装XAMPP。
如果想自定义安装请参照本论坛的LAMP专栏相关贴子就可以了。

[ 本帖最后由 netseek 于 2007-9-13 08:49 编辑 ]

作者: netseek   发布时间: 2007-09-12

发 php.ini和 httpd.conf 的:L

作者: �����i�i   发布时间: 2007-09-12