Xampp-installation problems; ports not free and Apache not starting

巧了我就是萌 提交于 2019-12-13 04:32:07

问题


I tried installing xampp from the following site: http://www.apachefriends.org/en/xampp-windows.html

I had problems installing. When the control panel runs, it shows green signal for MySql and Mercury only, and especially when I start Apache, it gives an Exception.

And at some point it says to disable UAC, but I guess that is not recommended in Windows, so what should I do?

And I also received an error which said "class not registered".

The following are the errors I receive when I start Apache:

11:27:40  [Apache]  Problem detected!
11:27:40  [Apache]  Port 443 in use by "Unable to open process" with PID 1476!
11:27:40  [Apache]  Apache WILL NOT start without the configured ports free!
11:27:40  [Apache]  You need to uninstall/disable/reconfigure the blocking application
11:27:40  [Apache]  or reconfigure Apache and the Control Panel to listen on a                 different port
11:27:40  [Apache]  Attempting to start Apache service...
12:04:47  [Apache]  Problem detected!
12:04:47  [Apache]  Port 80 in use by "Unable to open process" with PID 1476!
12:04:47  [Apache]  Apache WILL NOT start without the configured ports free!
12:04:47  [Apache]  You need to uninstall/disable/reconfigure the blocking application
12:04:47  [Apache]  or reconfigure Apache and the Control Panel to listen on a             different port
12:04:47  [Apache]  Problem detected!
12:04:47  [Apache]  Port 443 in use by "Unable to open process" with PID 1476!
12:04:47  [Apache]  Apache WILL NOT start without the configured ports free!
12:04:47  [Apache]  You need to uninstall/disable/reconfigure the blocking application
12:04:47  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
12:04:47  [Apache]  Attempting to start Apache service...
12:04:52  [Apache]  Status change detected: running
12:04:53  [Apache]  Status change detected: stopped
12:04:53  [Apache]  Error: Apache shutdown unexpectedly.
12:04:53  [Apache]  This may be due to a blocked port, missing dependencies, 
12:04:53  [Apache]  improper privileges, a crash, or a shutdown by another method.
12:04:53  [Apache]  Press the Logs button to view error logs and check
12:04:53  [Apache]  the Windows Event Viewer for more clues

Where are these logs buttons? And from where to free the ports?. I don't use Skype so my port 80 is probably free. Please help.


回答1:


I was able to fix this by disabling UAC control and restarted it. But then contrary to my expectation after enabling UAC again it is still working fine.



来源:https://stackoverflow.com/questions/17888848/xampp-installation-problems-ports-not-free-and-apache-not-starting

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!