php和apache在windows上的安装问题

php和apache在windows上的安装问题

按照网上的说明在winxp上安装配置apache和php5,在重启电脑之前apache服务启动都是正常的,restart服务也正常。
而且系统的path中也添加了C:\PHP\ext和C:\PHP\ 两个路径。
但是电脑重启之后,apache服务就不能启动了,而且还弹出一个系统错误“apache http server 遇到问题需要关闭”,之后弹出“the requested operation has failed”
apache的错误日志如下:

QUOTE:
[Fri Jul 27 08:43:15 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Fri Jul 27 08:43:15 2007] [notice] Child 3880: Exit event signaled. Child process is ending.
[Fri Jul 27 08:43:15 2007] [notice] Apache/2.0.59 (Win32) configured -- resuming normal operations
[Fri Jul 27 08:43:15 2007] [notice] Server built: Jul 27 2006 15:55:03
[Fri Jul 27 08:43:15 2007] [notice] Parent: Created child process 2584
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_oci8.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 'C:\\PHP\\ext\\php_pdo_oci.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 'C:\\PHP\\ext\\php_pdo_oci8.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:  Module 'gd' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_ldap.dll' - \xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0 %1\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_oci8.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 'C:\\PHP\\ext\\php_openssl.dll' - \xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0 %1\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_pdo_oci.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 'C:\\PHP\\ext\\php_pdo_oci8.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 'C:\\PHP\\ext\\php_pdo_sqlite_external.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 'C:\\PHP\\ext\\php_pspell.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 'C:\\PHP\\ext\\php_sybase_ct.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 'C:\\PHP\\ext\\php_ibm_db2.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 'C:\\PHP\\ext\\php_ingres.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 'C:\\PHP\\ext\\php_maxdb.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 'C:\\PHP\\ext\\php_mcve.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 'C:\\PHP\\ext\\php_netools.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 'C:\\PHP\\ext\\php_oracle.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 'C:\\PHP\\ext\\php_pdo_ibm.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 'C:\\PHP\\ext\\php_pdo_informix.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 'C:\\PHP\\ext\\php_ssh2.dll' - \xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0 %1\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_svn.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:  Possible integer overflow in memory allocation (2214591606 * 4 + 0) in Unknown on line 0
[Fri Jul 27 08:43:16 2007] [notice] Child 3880: Released the start mutex
[Fri Jul 27 08:43:17 2007] [notice] Child 3880: Waiting for 250 worker threads to exit.
[Fri Jul 27 08:43:18 2007] [notice] Child 3880: All worker threads have exited.
[Fri Jul 27 08:43:18 2007] [notice] Child 3880: Child process is exiting
[Fri Jul 27 08:43:20 2007] [crit] master_main: create child process failed. Exiting.
[Fri Jul 27 08:43:20 2007] [notice] Parent: Forcing termination of child process 2866784

可是我上面提示的那些dll文件在php.ini文件中的extension中都有,而且前面没有"; ",而且这些dll文件在php安装目录的ext文件夹下也都存在,现在真是难住人了,在网上搜了半天,有的办法只是在path中添加php的路径,但是我的安装php之后就已经添加过了,这是为什么呢,请高手指点。
php.ini里面的php_pdo_oci8这个删除掉好了
那偶试试看先
问题还在呀,郁闷ing
现在什么问题?
错误提示信息是什么?


QUOTE:
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_pdo_oci.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:  Module 'gd' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_ldap.dll' - \xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0 %1\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_oci8.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 'C:\\PHP\\ext\\php_openssl.dll' - \xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0 %1\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_pdo_oci.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 'C:\\PHP\\ext\\php_pdo_sqlite_external.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 'C:\\PHP\\ext\\php_pspell.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 'C:\\PHP\\ext\\php_sybase_ct.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 'C:\\PHP\\ext\\php_ibm_db2.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 'C:\\PHP\\ext\\php_ingres.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 'C:\\PHP\\ext\\php_maxdb.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 'C:\\PHP\\ext\\php_mcve.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 'C:\\PHP\\ext\\php_netools.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 'C:\\PHP\\ext\\php_oracle.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 'C:\\PHP\\ext\\php_pdo_ibm.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 'C:\\PHP\\ext\\php_pdo_informix.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 'C:\\PHP\\ext\\php_ssh2.dll' - \xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0 %1\xa1\xa3\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_svn.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:  Possible integer overflow in memory allocation (3229865030 * 4 + 0) in Unknown on line 0
[Fri Jul 27 10:12:14 2007] [crit] master_main: create child process failed. Exiting.
[Fri Jul 27 10:12:14 2007] [notice] Parent: Forcing termination of child process 2866784
Error in my_thread_global_end(): 3 threads didn't exit

难不成将里面所有提到的dll在php.ini中都屏蔽掉?

是啊。
先禁止了看看是否可以启动。

线可以启动了,再来调式扩展。
偶把里面提到不能加载的dll都屏蔽了,但是还是提示错误。

QUOTE:
PHP Warning:  Module 'gd' already loaded in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Fatal error:  Possible integer overflow in memory allocation (1086263261 * 4 + 0) in Unknown on line 0
[Fri Jul 27 10:51:46 2007] [crit] master_main: create child process failed. Exiting.
[Fri Jul 27 10:51:46 2007] [notice] Parent: Forcing termination of child process 2866784
Error in my_thread_global_end(): 3 threads didn't exit

没人回答
我的也出现这种情况,但apache可以启动,但就是用以下文件在web下连不起数据库
在cmd模式也又可以
<?php
$link=mysql_connect('localhost','root','123456');
if (!$link):
echo "fail";
else:
echo "success";
endif;
mysql_close();
?>
phpinfo()也没显示有mysql的信息

楼上还是搞apache的低一点的版本看看吧