XAMPP 無法啟用 解決辦法

7年前 (2016-05-15) Yosheng 資訊教學 0評論 已收錄 2569℃

下述訊息顯示 Port80 被佔用 當然可以透過改 Port的方式啟用 但是這邊不寫
這邊先紀錄要關哪些東西 我寫成批次檔 直接一口氣關閉即可

下午 09:31:18 [Apache] Problem detected!
下午 09:31:18 [Apache] Port 80 in use by "Unable to open process" with PID 4!
下午 09:31:18 [Apache] Apache WILL NOT start without the configured ports free!
下午 09:31:18 [Apache] You need to uninstall/disable/reconfigure the blocking application
下午 09:31:18 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

主要原因:process id 4 "NT Kernel & System"

process id 4有可能是以下幾種服務導致的:

  • IIS
  • SQL Server Reporting services
  • Web Deployment Agent Service
  • World Wide Web Publishing service

 

將上述影響的程式寫成批次檔關閉即可

除此之外如果電腦開機自動執行 Skype 也會導致 Port 80 in use by "Unable to open process" with PID 4!

此時只要關閉 Skype後 再開起 XAMPP相關服務即可 最後再開 Skype仍然可以正常使用

博主

擅長使用 C# 和 Java 開發項目,全棧開發工程師,前端主要使用 Vue 其次 Angular ,目前正在學習分布式架構,運維研發兼具,平時愛好鑽研技術並應用於實務當中,常駐於上海。

相關推薦

相逢就是有緣,留下足跡吧!