求大神:apache 和php配置成功后localhost网页还是打不开
cmd显示:serviceisalreadyinstalled。但是localhost网页总是无法显示出来,就跟没联网一样。apache错误日志如下:AH00558:ht...
cmd显示:service isalready installed。但是localhost网页总是无法显示出来,就跟没联网一样。apache错误日志如下:
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::c578:36ac:da8f:54f7. Set the 'ServerName' directive globally to suppress this message
Apache server shutdown initiated...
ly determine the server's fully qualified domain name, using fe80::c578:36ac:da8f:54f7. Set the 'ServerName' directive globally to suppress this message
[Thu Apr 02 22:47:31.919966 2015] [mpm_winnt:notice] [pid 6800:tid 460] AH00354: Child: Starting 64 worker threads.
[Thu Apr 02 22:49:22.572159 2015] [mpm_winnt:notice] [pid 5288:tid 436] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 02 22:49:24.573274 2015] [mpm_winnt:notice] [pid 6800:tid 460] AH00364: Child: All worker threads have exited.
[Thu Apr 02 22:49:24.596275 2015] [mpm_winnt:notice] [pid 5288:tid 436] AH00430: Parent: Child process 6800 exited successfully.
[Thu Apr 02 23:21:04.422538 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00455: Apache/2.4.12 (Win64) PHP/5.6.7 configured -- resuming normal operations
[Thu Apr 02 23:21:04.422538 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 11:22:29
[Thu Apr 02 23:21:04.422538 2015] [core:notice] [pid 6076:tid 220] AH00094: Command line: 'httpd -d F:/yujingjing/apache/Apache24'
[Thu Apr 02 23:21:04.425538 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00418: Parent: Created child process 6052
Apache server shutdown initiated...
pm_winnt:notice] [pid 6052:tid 244] AH00354: Child: Starting 64 worker threads.
[Thu Apr 02 23:21:23.718642 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 02 23:21:25.718756 2015] [mpm_winnt:notice] [pid 6052:tid 244] AH00364: Child: All worker threads have exited.
[Thu Apr 02 23:21:25.741757 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00430: Parent: Child process 6052 exited successfully. 展开
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::c578:36ac:da8f:54f7. Set the 'ServerName' directive globally to suppress this message
Apache server shutdown initiated...
ly determine the server's fully qualified domain name, using fe80::c578:36ac:da8f:54f7. Set the 'ServerName' directive globally to suppress this message
[Thu Apr 02 22:47:31.919966 2015] [mpm_winnt:notice] [pid 6800:tid 460] AH00354: Child: Starting 64 worker threads.
[Thu Apr 02 22:49:22.572159 2015] [mpm_winnt:notice] [pid 5288:tid 436] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 02 22:49:24.573274 2015] [mpm_winnt:notice] [pid 6800:tid 460] AH00364: Child: All worker threads have exited.
[Thu Apr 02 22:49:24.596275 2015] [mpm_winnt:notice] [pid 5288:tid 436] AH00430: Parent: Child process 6800 exited successfully.
[Thu Apr 02 23:21:04.422538 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00455: Apache/2.4.12 (Win64) PHP/5.6.7 configured -- resuming normal operations
[Thu Apr 02 23:21:04.422538 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 11:22:29
[Thu Apr 02 23:21:04.422538 2015] [core:notice] [pid 6076:tid 220] AH00094: Command line: 'httpd -d F:/yujingjing/apache/Apache24'
[Thu Apr 02 23:21:04.425538 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00418: Parent: Created child process 6052
Apache server shutdown initiated...
pm_winnt:notice] [pid 6052:tid 244] AH00354: Child: Starting 64 worker threads.
[Thu Apr 02 23:21:23.718642 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 02 23:21:25.718756 2015] [mpm_winnt:notice] [pid 6052:tid 244] AH00364: Child: All worker threads have exited.
[Thu Apr 02 23:21:25.741757 2015] [mpm_winnt:notice] [pid 6076:tid 220] AH00430: Parent: Child process 6052 exited successfully. 展开
1个回答
展开全部
看报错说ServerName有问题。不过一般默认是不需要动ServerName的,可能你设置了虚拟站点?
直接用127.0.0.1试试能不能访问。
win下跑php一般是生产环境,直接装个wamp就行了,何必知己动手设置。linux下为了优化,才有手设的意义。
直接用127.0.0.1试试能不能访问。
win下跑php一般是生产环境,直接装个wamp就行了,何必知己动手设置。linux下为了优化,才有手设的意义。
更多追问追答
追问
都不能访问,我是按书上操作的,但是书是两年前的,好多变动,好多不会装的就乱装的。。有什么解决方法吗?
追答
新手跑php的话全删了直接装wamp,记得先装VC++环境
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询