php开发环境搭建后发现,在浏览器输入localhost显示404,弄了许久不知道什么原因?
这是appche的错误日志:StartingtheApache2.2serviceTheApache2.2serviceisrunning.rminetheserver'...
这是appche的错误日志:
Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 10.0.0.109 for ServerName
[Thu Jan 31 20:30:15 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Thu Jan 31 20:30:15 2008] [notice] Server built: Jan 18 2008 00:37:19
[Thu Jan 31 20:30:15 2008] [notice] Parent: Created child process 756
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.109 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.109 for ServerName
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Child process is running
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Acquired the start mutex.
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Starting 64 worker threads.
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Starting thread to listen on port 80.
[Thu Jan 31 20:30:22 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Jan 31 20:30:22 2008] [notice] Child 756: Exit event signaled. Child process is ending.
[Thu Jan 31 20:30:23 2008] [notice] Child 756: Released the start mutex
[Thu Jan 31 20:30:24 2008] [notice] Child 756: All worker threads have exited.
[Thu Jan 31 20:30:24 2008] [notice] Child 756: Child process is exiting
[Thu Jan 31 20:30:24 2008] [notice] Parent: Child process exited successfully.
(OS 5)拒绝访问。 : Failed to open the Apache2.2 Service
PHP Warning: Directive 'register_globals' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'magic_quotes_gpc' is no longer supported in PHP 6 and greater in Unknown on line 0
[Sat May 26 11:18:30 2012] [notice] Apache/2.2.8 (Win32) PHP/6.0.0-dev configured -- resuming normal operations
[Sat May 26 11:18:30 2012] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 26 11:18:30 2012] [notice] Parent: Created child process 1396
PHP Warning: Directive 'register_globals' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'magic_quotes_gpc' is no longer supported in PHP 6 and greater in Unknown on line 0
[Sat May 26 11:18:30 2012] [notice] Child 1396: Child process is running
[Sat May 26 11:18:30 2012] [notice] Child 1396: Acquired the start mutex.
[Sat May 26 11:18:30 2012] [notice] Child 1396: Starting 64 worker threads.
[Sat May 26 11:18:30 2012] [notice] Child 1396: Starting thread to listen on port 80. 展开
Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 10.0.0.109 for ServerName
[Thu Jan 31 20:30:15 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Thu Jan 31 20:30:15 2008] [notice] Server built: Jan 18 2008 00:37:19
[Thu Jan 31 20:30:15 2008] [notice] Parent: Created child process 756
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.109 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.109 for ServerName
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Child process is running
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Acquired the start mutex.
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Starting 64 worker threads.
[Thu Jan 31 20:30:15 2008] [notice] Child 756: Starting thread to listen on port 80.
[Thu Jan 31 20:30:22 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Jan 31 20:30:22 2008] [notice] Child 756: Exit event signaled. Child process is ending.
[Thu Jan 31 20:30:23 2008] [notice] Child 756: Released the start mutex
[Thu Jan 31 20:30:24 2008] [notice] Child 756: All worker threads have exited.
[Thu Jan 31 20:30:24 2008] [notice] Child 756: Child process is exiting
[Thu Jan 31 20:30:24 2008] [notice] Parent: Child process exited successfully.
(OS 5)拒绝访问。 : Failed to open the Apache2.2 Service
PHP Warning: Directive 'register_globals' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'magic_quotes_gpc' is no longer supported in PHP 6 and greater in Unknown on line 0
[Sat May 26 11:18:30 2012] [notice] Apache/2.2.8 (Win32) PHP/6.0.0-dev configured -- resuming normal operations
[Sat May 26 11:18:30 2012] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 26 11:18:30 2012] [notice] Parent: Created child process 1396
PHP Warning: Directive 'register_globals' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is no longer supported in PHP 6 and greater in Unknown on line 0
PHP Warning: Directive 'magic_quotes_gpc' is no longer supported in PHP 6 and greater in Unknown on line 0
[Sat May 26 11:18:30 2012] [notice] Child 1396: Child process is running
[Sat May 26 11:18:30 2012] [notice] Child 1396: Acquired the start mutex.
[Sat May 26 11:18:30 2012] [notice] Child 1396: Starting 64 worker threads.
[Sat May 26 11:18:30 2012] [notice] Child 1396: Starting thread to listen on port 80. 展开
4个回答
展开全部
你把咯calhost换成172.0.0.1试试
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
配置文件弄好没有??推荐你用集成的开发环境
更多追问追答
追问
用的就是集成的
追答
你的服务文件夹下有index.php之类的文件么???可能是这个导致的
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你确定您的配置信息都是正确的吗?
apache的网站根目录下是否有index.php
或者你设置的主文件。
apache的网站根目录下是否有index.php
或者你设置的主文件。
追问
是的确实有,全部采用默认的安装,应该不会有错的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
安装个wamp不就好了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |