Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP is not working in window

Tags:

apache

xampp

Trying to install XAMPP v3.2.1 on windows8 and it gives me the following error:

23:30:36  [Apache]  Error: Apache shutdown unexpectedly.
23:30:36  [Apache]  This may be due to a blocked port, missing dependencies, 
23:30:36  [Apache]  improper privileges, a crash, or a shutdown by another method.
23:30:36  [Apache]  Press the Logs button to view error logs and check
23:30:36  [Apache]  the Windows Event Viewer for more clues
23:30:36  [Apache]  If you need more help, copy and post this
23:30:36  [Apache]  entire log window on the forums

I actually tried so many things but I don't know what to do now. Any suggestions?

like image 832
Luffy Avatar asked Jul 24 '13 18:07

Luffy


People also ask

Why XAMPP is not working in my PC?

This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Check the "/xampp/apache/logs/error. log" file and the Windows Event Viewer for more clues.

How do I fix localhost refused to connect to XAMPP?

First off, the most common way to resolve this error is by changing the port of the apache web server if you are using XAMPP or WAMP on windows. Usually, some other web application that you might be running on your computer can get the hold of port 80 and it is blocked/not accessible to an application like apache.


1 Answers

Actually Skype is causing this issue so there are two ways to resolve this issue.

  1. Quit the Skype so it'll release port 80 and 433.

  2. Go to Skype Tools-> options -> Advanced -> Connection and unchecked port 80 after this you need to restart your Skype and try to run the XAMPP now it'll not throw any issue as port 80 and 443 is free to use


In Some cases IIS Server is using port 80 or 443. which cause XAMPP to stop running. To stop IIS Server you can follow this step.

  • Go to start Menu type Internet Information Services select this and stop it's service which will release port 80 and 443.
like image 167
Luffy Avatar answered Oct 19 '22 10:10

Luffy