欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

XAMPP Apache 启动失败 This may be due to a blocked port, missing dependencies(:端口被占用) 有大用 有大大用

12:15:13  [main] Initializing Control Panel

12:15:13  [main] Windows Version:   64-bit

12:15:13  [main] XAMPP Version: 1.8.1

12:15:13  [main] Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]

12:15:13  [main] Running with Administrator rights - good!

12:15:13  [main] XAMPP Installation Directory: "d:\xampp\"

12:15:13  [main] Checking for prerequisites

12:15:13  [main] All prerequisites found

12:15:13  [main] Initializing Modules

12:15:13  [Apache] Problem detected!

12:15:13  [Apache] Port 443 in use by "vmware-hostd.exe"!

12:15:13  [Apache] Apache WILL NOT start without the configured ports free!

12:15:13  [Apache] You need to uninstall/disable/reconfigure the blocking application

12:15:13  [Apache] or reconfigure Apache to listen on a different port

12:15:13  [mysql] XAMPP MySQL is already running on port 3306

12:15:13  [main] Starting Check-Timer

12:15:13  [main] Control Panel Ready

12:15:34  [Apache] Attempting to start Apache app...

12:15:34  [Apache] Status change detected: running

12:15:36  [Apache] Status change detected: stopped

12:15:36  [Apache] Error: Apache shutdown unexpectedly.

12:15:36  [Apache] This may be due to a blocked port, missing dependencies, 

12:15:36  [Apache] improper privileges, a crash, or a shutdown by another method.

12:15:36  [Apache] Check the "/xampp/apache/logs/error.log" file

12:15:36  [Apache] and the Windows Event Viewer for more clues

12:18:32  [Apache] Attempting to start Apache app...

12:18:32  [Apache] Status change detected: running

12:18:34  [Apache] Status change detected: stopped

12:18:34  [Apache] Error: Apache shutdown unexpectedly.

12:18:34  [Apache] This may be due to a blocked port, missing dependencies, 

12:18:34  [Apache] improper privileges, a crash, or a shutdown by another method.

12:18:34  [Apache] Check the "/xampp/apache/logs/error.log" file

12:18:34  [Apache] and the Windows Event Viewer for more clues

12:20:41  [Apache] Attempting to start Apache app...

12:20:41  [Apache] Status change detected: running

12:20:43  [Apache] Status change detected: stopped

12:20:43  [Apache] Error: Apache shutdown unexpectedly.

12:20:43  [Apache] This may be due to a blocked port, missing dependencies, 

12:20:43  [Apache] improper privileges, a crash, or a shutdown by another method.

12:20:43  [Apache] Check the "/xampp/apache/logs/error.log" file

12:20:43  [Apache] and the Windows Event Viewer for more clues

12:23:09  [Apache] Attempting to start Apache app...

12:23:10  [Apache] Status change detected: running


image.png

可能是 80  或 443 端口被占用


把httpd.conf中的 error.log路径由 /xampp/apache/logs/error.log  改成  D:/xampp/apache/logs/error.log


同时 C:\Users\Administrator>netstat -ano | findstr "80"

 C:\Users\Administrator>netstat -ano | findstr "443"


好像 443 被占用 ,,,D:\xampp\apache\conf 路径下 搜 443 ,,替换成  4433 (好像不能替换成445,因为可能 445 也会被占用)

或者把 D:\xampp\apache\conf\httpd.conf 里面的包含的 httpd-ssl.conf 移除掉




普通分类: