Apache not starting

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache not starting

Postby satyak » 29. December 2010 20:44

Hi,

I am new to the webhosting/webdesigning/developing. I am learning PHP and MYSQL by myself and I've installed XAMPP for windows xp. On the XAMPP control panel application, the Apache is not getting started. When I click on Start for Apache, there is a msg

Busy...
Apache service started

But there is no green colored label 'Running' for Apache. When I click on start for MYSQL, the green colored label running is present the start button has changed to stop.

Pls guide me on how to make the Apache run.

Thanks
Satya
satyak
 
Posts: 3
Joined: 29. December 2010 14:59

Re: Apache not starting

Postby Sharley » 29. December 2010 20:46

Any clues in the C:\xampp\apache\logs\error.log file?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache not starting

Postby satyak » 29. December 2010 22:34

Thanks Sharley. Apache is now running on my sys. I uninstalled skype (which I guess is blocking the port 80) and Apache started running.

Can you/anyone pls help me on how to execute my php code. I wrote one script and saved as hello.php in 'C:\xampp\htdocs'. From there I don't know how to proceed. Looks like I need to FTP the code to the server. But I dont know how.

Pls help me with the execution steps.

Thank you so much !
Satya
satyak
 
Posts: 3
Joined: 29. December 2010 14:59

Re: Apache not starting

Postby Sharley » 29. December 2010 22:48

Simply type http://localhost/hello.php in your browser's address bar.

PHP scripts must be parsed by the server and will not be executed by double clicking on the file.

BTW, no need to uninstall Skype, just configure it to use other ports than 80 and 443 or start Apache before Skype and then Skype can't use the Apache ports - configuring Skype is the simple way round this so you can still use Skype and Apache together if you wish.

Good luck.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache not starting

Postby satyak » 29. December 2010 23:28

Thanks Sharley. I can see my output now :) .

Yeah, I will now configure Skype.

Thank you so much !!
Satya
satyak
 
Posts: 3
Joined: 29. December 2010 14:59

Re: Apache not starting

Postby Sharley » 29. December 2010 23:39

You're most welcome Satya, good luck for 2011.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache not starting

Postby MoHaNaD » 05. January 2011 20:36

i have the same problem , but when i check port i found that port 80 is occupied by system , so how can i make it free ?
pls necessary
MoHaNaD
 
Posts: 2
Joined: 05. January 2011 20:21

Re: Apache not starting

Postby MoHaNaD » 05. January 2011 21:35

MoHaNaD
 
Posts: 2
Joined: 05. January 2011 20:21

Re: Apache not starting

Postby Mary2011 » 13. January 2011 16:50

Hello,
after installing xampp I have tried to run Apache, using apache_start.bat, but I got the message:
starting “apache”…
“apache” is not started

I have followed your suggestions to release port 80(netstat -o -n -a | findstr 0.0:80
… and so on), but this port was used again by inetinfo.exe
What can I do?
Thank you for your help
Mary2011
 
Posts: 2
Joined: 13. January 2011 16:37

Re: Apache not starting

Postby Sharley » 13. January 2011 21:08

Mary, you might like to read through this similar topic for possible help with disabling inetinfo (IIS also known as World Wide Publishing service)
viewtopic.php?f=16&t=43891
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache not starting

Postby Mary2011 » 17. January 2011 19:49

Not so easy for me to find the good way to deactivate IIS, but later all proceded.
Your list has been useful for me.
Thank you to you all.
Mary2011
 
Posts: 2
Joined: 13. January 2011 16:37

Re: Apache not starting

Postby vincebrock » 18. January 2011 22:34

This solution works on Vista as well. Finding out that World Wide Web Publishing is the same as IIs did it for me. I spent hours googling - trying to solve this problem and read many posts that explained that Skype and IIs interfere with port 80. I had not installed either of those programs that I knew of and was stumped. Reading the post above and realizing that Worldwide Web Publising in vista is a standard windows service, clued me in on what to look for and stop.

Many thanks!!!
vincebrock
 
Posts: 1
Joined: 18. January 2011 22:29

Re: Apache not starting

Postby Sharley » 18. January 2011 22:42

Your welcome.

It is a favorite trick of Micro$oft to change the names of things that for ages people have gotten used to, perhaps to justify another version release with the extra dollars it will bring in profits.

Good luck and best wishes.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 121 guests