小弟最近准备学习PHP
刚做到配置PHP,出现问题
PHP 跟 APACHE已经下好刚开始apache服务器还能启动,在我配置httpd.conf时出现问题我按书上说的
添加LoadModule php5_module "C:\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:\PHP"添加完后 服务器不能启动 把上述注释掉则可以启动
已经网上搜了很多方法 均不能解决 求大侠帮助~~~apache2.2.14
php5.2.11
刚做到配置PHP,出现问题
PHP 跟 APACHE已经下好刚开始apache服务器还能启动,在我配置httpd.conf时出现问题我按书上说的
添加LoadModule php5_module "C:\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:\PHP"添加完后 服务器不能启动 把上述注释掉则可以启动
已经网上搜了很多方法 均不能解决 求大侠帮助~~~apache2.2.14
php5.2.11
这样试试
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:\PHP"
\改为 /
另外你要确认php5apache2_2.dll 是在那个目录下边
你看看你的php.ini 在哪个目录下边,就修改PHPIniDir 里边为哪个目录
如果启动不起来 你把错误信息发到这看看
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 172.16.213.96 for ServerName
[Tue Oct 27 22:17:38 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Tue Oct 27 22:17:38 2009] [notice] Server built: Sep 28 2009 22:41:08
[Tue Oct 27 22:17:38 2009] [notice] Parent: Created child process 7008
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.213.96 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.213.96 for ServerName
[Tue Oct 27 22:17:38 2009] [notice] Child 7008: Child process is running
[Tue Oct 27 22:17:38 2009] [notice] Child 7008: Acquired the start mutex.
[Tue Oct 27 22:17:38 2009] [notice] Child 7008: Starting 64 worker threads.
[Tue Oct 27 22:17:38 2009] [notice] Child 7008: Starting thread to listen on port 80.
[Tue Oct 27 22:17:53 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Oct 27 22:17:53 2009] [notice] Child 7008: Exit event signaled. Child process is ending.
[Tue Oct 27 22:17:54 2009] [notice] Child 7008: Released the start mutex
[Tue Oct 27 22:17:55 2009] [notice] Child 7008: All worker threads have exited.
[Tue Oct 27 22:17:55 2009] [notice] Child 7008: Child process is exiting
[Tue Oct 27 22:17:55 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.213.96 for ServerName
[Tue Oct 27 22:18:03 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Tue Oct 27 22:18:03 2009] [notice] Server built: Sep 28 2009 22:41:08
[Tue Oct 27 22:18:03 2009] [notice] Parent: Created child process 8064
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.213.96 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.213.96 for ServerName
[Tue Oct 27 22:18:03 2009] [notice] Child 8064: Child process is running
[Tue Oct 27 22:18:03 2009] [notice] Child 8064: Acquired the start mutex.
[Tue Oct 27 22:18:03 2009] [notice] Child 8064: Starting 64 worker threads.
[Tue Oct 27 22:18:03 2009] [notice] Child 8064: Starting thread to listen on port 80.
[Wed Oct 28 08:13:49 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/INDEX.HTM
[Wed Oct 28 08:13:55 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Wed Oct 28 12:18:30 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/000041256632944968.WMV
[Wed Oct 28 12:18:30 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/000041256632944968.WMV
[Wed Oct 28 12:18:30 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/000041256632944968.WMV
[Wed Oct 28 12:42:24 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Oct 28 12:42:24 2009] [notice] Child 8064: Exit event signaled. Child process is ending.
[Wed Oct 28 12:42:25 2009] [notice] Child 8064: Released the start mutex
[Wed Oct 28 12:42:26 2009] [notice] Child 8064: All worker threads have exited.
[Wed Oct 28 12:42:26 2009] [notice] Child 8064: Child process is exiting
[Wed Oct 28 12:42:27 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Oct 28 13:13:48 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Wed Oct 28 13:13:48 2009] [notice] Server built: Sep 28 2009 22:41:08
[Wed Oct 28 13:13:48 2009] [notice] Parent: Created child process 1564
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Oct 28 13:13:48 2009] [notice] Child 1564: Child process is running
[Wed Oct 28 13:13:48 2009] [notice] Child 1564: Acquired the start mutex.
[Wed Oct 28 13:13:48 2009] [notice] Child 1564: Starting 64 worker threads.
[Wed Oct 28 13:13:48 2009] [notice] Child 1564: Starting thread to listen on port 80.
[Wed Oct 28 13:14:21 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Oct 28 13:14:21 2009] [notice] Child 1564: Exit event signaled. Child process is ending.
[Wed Oct 28 13:14:22 2009] [notice] Child 1564: Released the start mutex
[Wed Oct 28 13:14:23 2009] [notice] Child 1564: All worker threads have exited.
[Wed Oct 28 13:14:23 2009] [notice] Child 1564: Child process is exiting
[Wed Oct 28 13:14:23 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.18.161.64 for ServerName
[Wed Oct 28 19:14:18 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Wed Oct 28 19:14:18 2009] [notice] Server built: Sep 28 2009 22:41:08
[Wed Oct 28 19:14:18 2009] [notice] Parent: Created child process 7876
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.18.161.64 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.18.161.64 for ServerName
[Wed Oct 28 19:14:18 2009] [notice] Child 7876: Child process is running
[Wed Oct 28 19:14:18 2009] [notice] Child 7876: Acquired the start mutex.
[Wed Oct 28 19:14:18 2009] [notice] Child 7876: Starting 64 worker threads.
[Wed Oct 28 19:14:18 2009] [notice] Child 7876: Starting thread to listen on port 80.
[Wed Oct 28 20:25:49 2009] [notice] Apache/2.0.63 (Win32) configured -- resuming normal operations
[Wed Oct 28 20:25:49 2009] [notice] Server built: Jan 17 2008 22:58:29
[Wed Oct 28 20:25:49 2009] [notice] Parent: Created child process 2916
[Wed Oct 28 20:25:49 2009] [notice] Child 2916: Child process is running
[Wed Oct 28 20:25:49 2009] [notice] Child 2916: Acquired the start mutex.
[Wed Oct 28 20:25:49 2009] [notice] Child 2916: Starting 250 worker threads.
[Wed Oct 28 20:26:14 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Oct 28 20:26:14 2009] [notice] Child 2916: Exit event signaled. Child process is ending.
[Wed Oct 28 20:26:15 2009] [notice] Child 2916: Released the start mutex
[Wed Oct 28 20:26:16 2009] [notice] Child 2916: All worker threads have exited.
[Wed Oct 28 20:26:16 2009] [notice] Child 2916: Child process is exiting
[Wed Oct 28 20:26:16 2009] [notice] Parent: Child process exited successfully.