Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the WAMP error log?

Tags:

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?

like image 235
Jina Avatar asked Oct 31 '13 17:10

Jina


People also ask

Where are Apache logs on Windows?

By default, you can find the Apache access log file at the following path: /var/log/apache/access. log. /var/log/apache2/access.

How do I know if WAMP is working?

Click on the wamp server icon in the taskbar and test "localhost". If that works, click the " phpinfo() " link on the page. If that works too, your wamp server is working and you should be able to execute php files.

What is W in WAMP?

Download Glossary For Web Beginners. WAMP is an acronym that stands for Windows, Apache, MySQL, and PHP. It's a software stack which means installing WAMP installs Apache, MySQL, and PHP on your operating system (Windows in the case of WAMP).


1 Answers

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.

like image 74
RiggsFolly Avatar answered Sep 19 '22 19:09

RiggsFolly