1

I'm trying to run Apache and MySQL on XAMPP Control Panel v.3.2.2, but it doesn't want to start.

I googled and it was mostly because port was already in used(usually because Skype is using it), but I re-mark that function in Skype and it's still the same.

I'm not sure if I'm using it anywhere else - I do not as far as I know - or it's something else.

XAMPP installation is fresh, I've never installed it before.

This is the error that I get:

11:31:48 [Apache] Attempting to start Apache app... 11:31:48 [Apache] Status change detected: running 11:31:49 [Apache] Status change detected: stopped 11:31:49 [Apache] Error: Apache shutdown unexpectedly. 11:31:49 [Apache] This may be due to a blocked port, missing dependencies,
11:31:49 [Apache] improper privileges, a crash, or a shutdown by another method. 11:31:49 [Apache] Press the Logs button to view error logs and check 11:31:49 [Apache] the Windows Event Viewer for more clues 11:31:49 [Apache] If you need more help, copy and post this 11:31:49 [Apache] entire log window on the forums

Abdulla Nilam
  • 36,589
  • 17
  • 64
  • 85
Seinfeld
  • 433
  • 7
  • 24
  • 1
    Possible duplicate of [Apache is not running from XAMPP Control Panel](http://stackoverflow.com/questions/17946150/apache-is-not-running-from-xampp-control-panel) – mega6382 Jan 23 '16 at 10:58
  • You should check the apache log file. – Carlo Jan 23 '16 at 11:01

2 Answers2

2

Change these

Method 01 - Change XAMPP port

In your httpd.conf

Change port like this

#Listen 12.34.56.78:80 
Listen 85

Then access localhost by using

localhost:85/

Check this answer too


Method 02 - Change Skype Port

Go to Tools/Option/Advanced/Connections and uncheck the box "use port 80 and 443 as alternative".

Community
  • 1
  • 1
Abdulla Nilam
  • 36,589
  • 17
  • 64
  • 85
0

You can click the netstat on the XAMMP and see which services are using the ports needed for Apache and mysql. Then go to the services (which you can get when you simply search on the start menu) and stop the service which is using the necessary port and try to start Apache and mysql from XAMMP.

The required ports were being blocked by vmware in my case, simply stopping the vmware workstations service solved the situation for me.