'Where can I find the WAMP error log?
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?
Solution 1:[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.
Solution 2:[2]
If you want to see a brief log of Wamp services:
Right click on wampserver icon-> Tools-> Check state of services
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | Yousef .f |