Where can I find the WAMP error log?

六眼飞鱼酱① 提交于 2019-11-26 23:02:31

问题


I am using WAMP2.2 on Windows. I need to set up SSL port on my server. My Apache, WAMP and site work well without SSL. But when I uncomment the line

Include conf/extra/httpd-ssl.conf 

in my httpd.conf, the WAMP Server is not working anymore.(It remains orange when I restart). I assume that something is wrong with the configurations in httpd-ssl.conf. But I am wondering how I can find the error that doesn't let WAMP to start properly. Is there any error log file for WAMP?

I found these errors on wamp/logs/apache-error.log:

Script not found or unable to start: wamp/bin/apache/apache2.4.2/cgi-bin/php
Script not found or unable to start: wamp/bin/apache/apache2.4.2/cgi-bin/php5
Script not found or unable to start: wamp/bin/apache/apache2.4.2/cgi-bin/php-cgi
Script not found or unable to start: wamp/bin/apache/apache2.4.2/cgi-bin/php4

Are these errors related to SSL configuration. And if so what should I do?


回答1:


Apache in WAMPServer writes errors to the C:\wamp\logs folder or C:\wamp64\logs if you are using the 64bit version, as does MYSQL and PHP

If Apache or MySQL find errors before they can open their own error.log it will write errors to the Windows Event Log as well.

Try opening a command window and

>CD c:\wamp\bin\apache\apachex.y.z\bin

Then run

httpd -t

That should check the config and return you any errors to the command window.



来源:https://stackoverflow.com/questions/19713001/where-can-i-find-the-wamp-error-log

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!