Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know that there are like 1000 posts about this problem,but non of them help me.

I have skype, and I'm using another port. I think that I don't have IIS because I can't find it into services. And when I try to listen ports with netstat, I can't see that any app is using port 80

And still I can't apache start.

I have Windows 7.And didn't sleep all night because of this.

share|improve this question
    
What's the error message when you execute 'httpd -k start' from the command line (run cmd.exe)? Could try another WAMP package: WampDeveloper, WampServer, etc. –  rightstuff Jul 4 '11 at 20:43
add comment

closed as off-topic by Tom O'Connor Aug 14 '13 at 21:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

With XAMPP (and apache in general) you should check the error logs. They will provide a good starting point for diagnosing your problem. For me, there have been times when XAMPP wouldn't start apache because the httpd.conf file was misconfigured or the php.ini file was misconfigured (usually because I copied them from a previous install).

The error log is located at: C:\Program Files (x86){XAMPP Directory}\apache\logs\error.log

You may also want to check the Event Viewer for any addition information. Control Panel > Admininistrative Tools > Event Viewer

share|improve this answer
    
I have take a look at error log before I have ask here, and there is nothing, there was several days ago some notice,but nothing today. –  user41117 Jul 4 '11 at 14:28
    
I only had windows critacl update.It looks like that is crashing apache. –  user41117 Jul 4 '11 at 14:29
    
A few suggestions in that case: a) ensure you checked the right error.log (taken for granted, but important); try xampp-portcheck.exe; and try to start from apache_start.bat; also check task manager - is the process there (and just another problem?). –  cyberx86 Jul 4 '11 at 14:54
    
A few more ideas: check skype if you use it - it may listen on port 80; try a vanilla (unmodified) copy of XAMPP - using the default php.ini, httpd.conf, and httpd-ssl.conf files; and try to change the listen directive in your httpd.conf file to something other than port 80 and see if it works. –  cyberx86 Jul 4 '11 at 15:07
    
First I have check is there problem with skype. I can't start port checker it just doesn't want to start, and I have try to install again xampp,but still port checker just display black cmd win and close, I have also try to start it from cmd,but same thing, port checker just show black cmd win and close. I have restore my win before that critical update and now xampp works fine. –  user41117 Jul 6 '11 at 0:13
add comment

I had the same problem some time ago. In my case, the Web Deployment Tool was started as a service and it didn't let XAMPP to start the Apache in the port 80. Therefore, please check if you have the Web Deployment Tool service started on your machine: Start-> search for Services -> then look for Web Deployment Tool as see if it's started. If it is started, then right click on it and stop that service. After that, it should work. (this works only if Web Deployment Tool service is started).

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.