我安装了WAMP 3,x64位版本,包含PHP 7和PHP 5.6.16。
事情是,它只适用于版本7,但不适用于版本5.6.16。
如果我在版本7上,我可以打开localhost就好了,如果我切换到5.6版,它会说“无法访问此站点”。 Apache错误日志:
[Fri Jul 08 18:59:42.721292 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00428: Parent: child process 8788 exited with status 255 -- Restarting.
[Fri Jul 08 18:59:42.859839 2016] [auth_digest:notice] [pid 8776:tid 652] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:42.936418 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00455: Apache/2.4.17 (Win64) PHP/5.6.16 configured -- resuming normal operations
[Fri Jul 08 18:59:42.936418 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00456: Apache Lounge VC14 Server built: Oct 11 2015 11:49:07
[Fri Jul 08 18:59:42.936418 2016] [core:notice] [pid 8776:tid 652] AH00094: Command line: 'C:\\wamp64\\bin\\apache\\apache2.4.17\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.17'
[Fri Jul 08 18:59:43.007482 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00418: Parent: Created child process 5336
[Fri Jul 08 18:59:43.647394 2016] [auth_digest:notice] [pid 5336:tid 420] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:43.728167 2016] [mpm_winnt:notice] [pid 5336:tid 420] AH00354: Child: Starting 64 worker threads.
[Fri Jul 08 18:59:45.162617 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00428: Parent: child process 5336 exited with status 255 -- Restarting.
[Fri Jul 08 18:59:45.368338 2016] [auth_digest:notice] [pid 8776:tid 652] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:45.436406 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00455: Apache/2.4.17 (Win64) PHP/5.6.16 configured -- resuming normal operations
[Fri Jul 08 18:59:45.436406 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00456: Apache Lounge VC14 Server built: Oct 11 2015 11:49:07
[Fri Jul 08 18:59:45.436406 2016] [core:notice] [pid 8776:tid 652] AH00094: Command line: 'C:\\wamp64\\bin\\apache\\apache2.4.17\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.17'
[Fri Jul 08 18:59:45.534501 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00418: Parent: Created child process 7404
[Fri Jul 08 18:59:46.217823 2016] [auth_digest:notice] [pid 7404:tid 156] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:46.276887 2016] [mpm_winnt:notice] [pid 7404:tid 156] AH00354: Child: Starting 64 worker threads.
可能是什么原因?
答案 0 :(得分:0)
第一: 检查apache日志,或手动运行httpd.exe并查看错误响应。