Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP Apache won't start

I am using Windows 8 Pro. I have just installed XAMPP Windows 1.8.1. I tried to start Apache from the XAMPP control panel but it wont start. It gives the following error.

enter image description here

Also I have no IIS Services running, Web Deployment Agent Service also not running, World Wide Web Publishing Service also not running..

What could be the problem? Can anyone please help?

Error Log

like image 552
rohan_vg Avatar asked Dec 12 '12 07:12

rohan_vg


2 Answers

To Windows users:

You can easily "debug" this error by calling the apache httpd-service directly.

  1. Go to XAMPP\apache\bin
  2. Open a cmd-shell or Powershell here (From explorer: 'Shift' + 'right click' on a blank area in the folder)
  3. enter httpd.exe
  4. read the output

It is usually something within one of the many *.conf-files in the XAMPP\apache\conf\extra folders.

like image 189
Kekzpanda Avatar answered Oct 06 '22 00:10

Kekzpanda


I experienced this issue and I preferred to free up the port .80 and my XAMPP/Apache restarted again. This is how I made the port .80 free. First: -Open a command prompt and type this :

netstat -aon | findstr :80

You'll get this display:enter image description here

Then type this command:

tasklist /fi "pid eq 4"

You'll get the name of the process using the is displayed. Now, press: Win+R services.msc in the invite, then press Ok. Now you can start stopping all services which can use the port .80.

Find some of them here: W3SVC,WAS,SSRS,PeerDistSvc,NcbService.

like image 42
DOUMBIA Mamadou Avatar answered Oct 05 '22 23:10

DOUMBIA Mamadou