I installed XAMPP tried starting Apache and got the folowing crash: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I installed XAMPP tried starting Apache and got the folowing crash:

23:01:13 [Apache] Attempting to start Apache app... 23:01:13 [Apache] Status change detected: running 23:01:16 [Apache] Status change detected: stopped 23:01:16 [Apache] Error: Apache shutdown unexpectedly. 23:01:16 [Apache] This may be due to a blocked port, missing dependencies, 23:01:16 [Apache] improper privileges, a crash, or a shutdown by another method. 23:01:16 [Apache] Press the Logs button to view error logs and check 23:01:16 [Apache] the Windows Event Viewer for more clues 23:01:16 [Apache] If you need more help, copy and post this 23:01:16 [Apache] entire log window on the forums I'd be really happy if someone could help. Thank you in advance :) .

27th Dec 2015, 9:03 PM
Totten Kopf
Totten Kopf - avatar
7 Answers
+ 1
Hi If you use Skype, unistall it, restart your systdm and try again. Skype uses the same port as Aphache does.
2nd Jan 2016, 8:52 PM
Edris Feiz marzooghi
Edris Feiz marzooghi - avatar
+ 1
Hi Totten! I recommend you try to install again. But first make a thorough cleaning of your windows . Maybe you can use CCleaner to that task and then reinstall XAMPP. Cheers
21st Jan 2016, 3:33 PM
Arturo Pérez H
Arturo Pérez H - avatar
0
maybe port 80 used befor . two method to solve if port 80 used by another application 1- stop any applicatin used port 80 or 2- change apache default port by editing C:\xampp\apache\conf\httpd.conf find value "listen 80" and change it to another port like 8080 after save file and restart xampp again
29th Dec 2015, 3:40 PM
Ali Bozorgi
Ali Bozorgi - avatar
0
Right click on XAMMP and run as adminitrator
7th Jan 2016, 2:48 PM
Sebastián Brun Valiente
Sebastián Brun Valiente - avatar
0
To make your life easier with LAMP or WAMP installation, i recommend you visit bitnami.org and download the WAMP server from there, its very easy installer and well maintained, never had any issues with it in years.
9th Jan 2016, 8:35 PM
Ameed Jamous
Ameed Jamous - avatar
0
change the port
13th Jan 2016, 8:03 AM
Abdul Rauf
Abdul Rauf - avatar
0
As I am working in a corporate environment where developers faces firewall issues, none of the other answers resolved my issue. As the port is not used by Skype, but by some other internal applications, I followed the below steps to resolve the issue: Step 1 - From the XAMPP Control Panel, under Apache, click the Config button, and select the Apache (httpd.conf). Inside the httpd.conf file, somehow I found a line that says: Listen 80 And change the 80 into any number / port you want. In my scenario I’m using port 8080. Listen 8080 Still from the httpd.conf file, I found another line that says: ServerName localhost:80 Change 80 to 8080. ServerName localhost:8080 Step 2 - From the XAMPP Control Panel, under Apache, click the Config button again, but this time select the Apache (httpd-ssl.conf). Inside the httpd-ssl.conf file, find line that says Listen 443 And change the 443 into any number / port you want. I’ll using 4433 as the new port number. Listen 4433 Still from the httpd-ssl.conf file, find another line that says <VirtualHost _default_:443> ServerName localhost:443 And change 443 to 4433. <VirtualHost _default_:4433> ServerName localhost:4433 Remember to save the httpd.conf and httpd-ssl.conf files after performing some changes. Then restart the Apache service.
8th Aug 2019, 10:24 AM
Hasan Ali