无法在XAMPP上启动Apache

无法在XAMPP上启动Apache

问题描述:

i can't seem to figure out what is blocking my port. however i rechecked what was blocking it, and XAMPP says apache is. then says to start from the root directory? not really to sure how its running into itself, if it doing what it's saying. also, i cannot edit the configure logs with apache on motepad++, just comes up with a blank new note. thanks!

here is the log---

10:57:21 PM  [Apache]   Problem detected: Apache Not Found!
10:57:21 PM  [Apache]   Disabling Apache buttons
10:57:21 PM  [Apache]   Run this program from your XAMPP root directory!
10:57:21 PM  [Apache]   Problem detected!
10:57:21 PM  [Apache]   Port 80 in use by "C:\xampp\apache\bin\httpd.exe" with PID 15972!
10:57:21 PM  [Apache]   Apache WILL NOT start without the configured ports free!
10:57:21 PM  [Apache]   You need to uninstall/disable/reconfigure the blocking application
10:57:21 PM  [Apache]   or reconfigure Apache and the Control Panel to listen on a different port
10:57:21 PM  [Apache]   Problem detected!
10:57:21 PM  [Apache]   Port 443 in use by "C:\xampp\apache\bin\httpd.exe" with PID 15972!
10:57:21 PM  [Apache]   Apache WILL NOT start without the configured ports free!
10:57:21 PM  [Apache]   You need to uninstall/disable/reconfigure the blocking application
10:57:21 PM  [Apache]   or reconfigure Apache and the Control Panel to listen on a different port

</div>

我似乎无法弄清楚什么阻塞了我的端口。 但是我重新检查阻止它的是什么,XAMPP说apache是​​。 然后说从根目录开始? 如果它正在做它所说的话,那就不确定它是如何进入自身的。 另外,我无法在motepad ++上使用apache编辑配置日志,只需要一个空白的新注释。 谢谢! p>

这里是日志--- p>

p>

  10:57:  21 PM [Apache]检测到问题:Apache Not Found!
 
10:57:21 PM [Apache]禁用Apache按钮
 
10:57:21 PM [Apache]从XAMPP根目录运行此程序!
 
  
10:57:21 PM [Apache]检测到问题!
 
10:57:21 PM [Apache]端口80正由“C:\ xampp \ apache \ bin \ httpd.exe”使用,PID为15972!
 
  
10:57:21 PM [Apache] Apache无法在没有配置端口的情况下启动!
 
10:57:21 PM [Apache]您需要卸载/禁用/重新配置阻止应用程序
 
10:57:  21 PM [Apache]或重新配置Apache和控制面板以侦听不同的端口
 
10:57:21 PM [Apache]检测到问题!
 
10:57:21 PM [Apache]端口443正在使用 带有PID 15972的“C:\ xampp \ apache \ bin \ httpd.exe”!
 
10:57:21 PM [Apache] Apache将无法启动 配置端口免费!
 
10:57:21 PM [Apache]您需要卸载/禁用/重新配置阻止应用程序
 
10:57:21 PM [Apache]或重新配置Apache和控制面板以监听 不同的端口 code>  pre> 
 
  div> 
 
  div> 
 
 
  div>

Make sure that skype is not running in your PC while starting Apache. Its because Apache can start only when the port 80 is open. But skype reserves the port. You can exit skype, start Apache, and then start Skype again.

You Don't Need to reinstall it just change the port number of your tomcat server by following procedure:

1.C:\xampp\tomcat\conf\server.xml

  1. change port number

          <Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" />
    

8080 to any other that is not used by any other app in your system ex.1234

it definately works restart your server and then start tomcat......

Something similar to this happened to me at work the other day while setting up XAMPP on a Windows 7 laptop. As soon as the installation completed, I could not start Apache on port 80, because the Apache service was already started, though the XAMPP console showed stopped. But, Task Manager showed that the httpd service initiated from the XAMPP bin directory.

I tried uninstalling, reinstalling... but what worked was rebooting the laptop right after installing it. Once Windows came back up, I verified Apache had not started. I was then able to successfully open the XAMPP console and start Apache.

Silly Windows....

Hope this helps....