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.
展开
 我来答
流云水中的倒影
2012-05-27 · TA获得超过441个赞
知道答主
回答量:225
采纳率:0%
帮助的人:134万
展开全部
你把咯calhost换成172.0.0.1试试
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
zhuzhe0618
2012-05-26 · 超过37用户采纳过TA的回答
知道小有建树答主
回答量:185
采纳率:0%
帮助的人:113万
展开全部
配置文件弄好没有??推荐你用集成的开发环境
更多追问追答
追问
用的就是集成的
追答
你的服务文件夹下有index.php之类的文件么???可能是这个导致的
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
情商励志
2012-05-26 · TA获得超过167个赞
知道小有建树答主
回答量:184
采纳率:100%
帮助的人:124万
展开全部
你确定您的配置信息都是正确的吗?
apache的网站根目录下是否有index.php
或者你设置的主文件。
追问
是的确实有,全部采用默认的安装,应该不会有错的
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
创作者Em5wIQ0ex5
2012-05-26 · TA获得超过691个赞
知道小有建树答主
回答量:527
采纳率:0%
帮助的人:132万
展开全部
安装个wamp不就好了
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 3条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式