I am getting following console logs:
1:14:33 PM [apache] Possible problem detected! 1:14:33 PM [apache] Port 80 in use by "c:\program files (x86)\skype\phone\skype.exe"! 1:14:33 PM [apache] Possible problem detected! 1:14:33 PM [apache] Port 443 in use by "c:\program files (x86)\skype\phone\skype.exe"! 1:14:33 PM [main] Starting Check-Timer 1:14:33 PM [main] Control Panel Ready 1:15:10 PM [apache] Starting apache app... 1:15:11 PM [apache] Status change detected: running 1:15:11 PM [apache] Status change detected: stopped
It says 'Status change detected: running' to 'stopped' right away. I have tried to:
The most common cause for the XAMPP Apache server not starting issue is because the default port no 80 may already be in use by another program like Skype, Teamviewer etc. For example, in my previous blog post with the solution for XAMPP and Windows User Account Control warning message issue, Mr.
There are several reasons your Apache server might fail to run. Something could be blocking the port it uses; there could be another instance of Apache already running; or there might be an incompatibility with the version of PHP you're using in MAMP.
Run XAMPP (=> Apache) under an another port: Rename all ports with 80 to 8080 in your httpd. conf file. Your using Windows: Use notpad or editor with Ctrl+H to replace "80".
go in skype->tools->options->advanced and UN-check use ports 80 & 443.
This happened to me while collaborating with someone over Skype, so closing Skype was not an option.
One possible solution is changing the port XAMPP is using for Apache.
Go to the XAMPP Control Panel, click Config for the Apache module and then Apache (httpd.conf).
This will now open the configuration file in the editor that is configured in the XAMPP settings (Windows default is notepad.exe). Open the search tool and search for 80
. There should be two lines containing 80 as in the port number 80:
Listen 80
ServerName localhost:80
Now replace 80
with an open port. I used 8080
.
Listen 8080
ServerName localhost:8080
The same procedure needs to be repeated with the SSL configuration. Repeat the steps above but go to Apache (httpd-ssl.conf). Replace the port numbers in the following lines:
Listen 443
<VirtualHost _default_:443>
ServerName www.example.com:443
I choose 4433
.
Done. Click Start for Apache and Apache should start fine. On my end, the errors would still show up, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With