AddType application/x-httpd-php .php
PHPIniDir "d:/Program Files/php-5.3.6/"
#LoadModule php5_module "d:/Program Files/php-5.3.6/php5apache2_2.dll"这是我添加的
现在打开文件的话 是出现下载框 貌似apache没有解析 如何改
PHPIniDir "d:/Program Files/php-5.3.6/"
#LoadModule php5_module "d:/Program Files/php-5.3.6/php5apache2_2.dll"这是我添加的
现在打开文件的话 是出现下载框 貌似apache没有解析 如何改
前面的#去掉,然后从其apache
#LoadModule php5_module "d:/Program Files/php-5.3.6/php5apache2_2.dll"去掉这个注释符。
老大一针见血记得我那会找VC6版本找了N久..
错误日志位置:apache安装目录/logs/error.log
PHPIniDir "D:/Program Files/php-5.3.6/"不过貌似目录不能带空格的。
再次确认:php-5.3.6-nts-Win32-VC9-x86.zip 包中并没有 php5apache2_2.dll 文件
[Thu Jul 21 09:58:27 2011] [notice] Child 548: Released the start mutex
[Thu Jul 21 09:58:27 2011] [notice] Child 3840: Acquired the start mutex.
[Thu Jul 21 09:58:27 2011] [notice] Child 3840: Starting 64 worker threads.
[Thu Jul 21 09:58:27 2011] [notice] Child 3840: Starting thread to listen on port 80.
[Thu Jul 21 09:58:31 2011] [notice] Child 548: All worker threads have exited.
[Thu Jul 21 09:58:31 2011] [notice] Child 548: Child process is exiting
[Thu Jul 21 10:44:20 2011] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Jul 21 10:44:20 2011] [notice] Child 3840: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.2 for ServerName
[Thu Jul 21 10:44:20 2011] [notice] Apache/2.2.17 (Win32) configured -- resuming normal operations
[Thu Jul 21 10:44:20 2011] [notice] Server built: Oct 18 2010 01:58:12
[Thu Jul 21 10:44:20 2011] [notice] Parent: Created child process 5656
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.2 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.2 for ServerName
[Thu Jul 21 10:44:20 2011] [notice] Child 5656: Child process is running
[Thu Jul 21 10:44:21 2011] [notice] Child 3840: Released the start mutex
[Thu Jul 21 10:44:21 2011] [notice] Child 5656: Acquired the start mutex.
[Thu Jul 21 10:44:21 2011] [notice] Child 5656: Starting 64 worker threads.
[Thu Jul 21 10:44:22 2011] [notice] Child 3840: All worker threads have exited.
[Thu Jul 21 10:44:22 2011] [notice] Child 3840: Child process is exiting
[Thu Jul 21 10:44:22 2011] [notice] Child 5656: Starting thread to listen on port 80.
[Thu Jul 21 11:11:24 2011] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Jul 21 11:11:24 2011] [notice] Child 5656: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 129 of D:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load D:/Program Files/php-5.3.6/php5apache2_2.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
[Thu Jul 21 11:11:24 2011] [warn] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。 : winnt_accept: Asynchronous AcceptEx failed.
[Thu Jul 21 11:11:25 2011] [notice] Child 5656: Released the start mutex
[Thu Jul 21 11:11:26 2011] [notice] Child 5656: All worker threads have exited.
[Thu Jul 21 11:11:26 2011] [notice] Child 5656: Child process is exiting
PHPIniDir "d:/php/"
AddType application/x-httpd-php .php这三句话增加了以后就无法启动apache了
php-5.2.17-nts-Win32-VC6-x86.zip现在用的是这个版本···
不需要引号
我的也是5.2.17-nts-VC6
确实是没有这个文件,建议改为PHP5.3.3或者更低版本即可
我现在加入那三行代码apache就无法启动 怎么办啊··