user1071339
user1071339

Reputation:

xampp apache not running

I want to install wordpress on localhost

I have downloaded and installed XAMPP.

I have downloaded the wordpress 3.4.1 and placed it in htdocs folder.and i renamed it as demo_folder.

when i type in navigation bar localhost/demo_folder it shows Unable to connect page.

As you can see the apache is not running as shown in fig.

enter image description here

when i click on start it doesnt get started

I dont know why?

can anyone help me out???

EDIT1

the below is netstat -an cmd screenshot

enter image description here

Upvotes: 0

Views: 395

Answers (4)

user9912
user9912

Reputation: 17

It seems you have tried to install the XAMP multiple times or PORT 80 has been used by other Application. If you are sure other applications is not using the Port 80 try this:

Close the XAMP and go to run and type services.msc and find the service named Apache 2.x.x etc go to its properties and get the exact name of it . For eg, mysql service name is mysql.

After you have found the service name , Open cmd with administrator privilege and type sc delete apache here is the manual to delete the service name : http://technet.microsoft.com/en-us/library/cc742045(v=ws.10).aspx

after deleting the service name try opening the XAMP and click on Start next to Apache, hope it will be running now.

If nothing works above ,most of the cases I have seen Skype is the problem:

Go to Tools>Options>Advanced>Connections

Untick Use Port 80 for incoming connections

Upvotes: 0

calebds
calebds

Reputation: 26228

This is a fairly common problem with XAMPP/Windows. The usual suspect is that there is another application running on port 80, which you should terminate. Also please use the web, there is a wealth of information on this topic.

To view all currently open ports and the PID of the process using that port, open cmd and run

> netstat -o

This should help with changing the port Apache runs on: http://www.geckoandfly.com/7491/xampp-apache-wont-start-change-port-to-listen-85/ .

Upvotes: 1

Biotox
Biotox

Reputation: 1601

XAMPP does have some problems with Windows. You could also try using WAMP. It seems to be a lot easier to install and use.

As for XAMPP, try making sure nothing else is using the port 80.

Upvotes: 0

Dave Swersky
Dave Swersky

Reputation: 34810

If you're on Windows 7, shut down the Web Deployment Agent Service. That should clear port 80.

Upvotes: 0

Related Questions