今天打開(kāi)Apache的時(shí)候報(bào)錯(cuò):
22:15:30 [Apache] Problem detected!
22:15:30 [Apache] Port 80 in use by "Unable to open process" with PID 4!
22:15:30 [Apache] Apache WILL NOT start without the configured ports free!
22:15:30 [Apache] You need to uninstall/disable/reconfigure the blocking application
22:15:30 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
是系統(tǒng)的服務(wù)占用了80端口,所以要么結(jié)束系統(tǒng)服務(wù),要么修改apache端口。
可能占用80端口的服務(wù)有:
1."SQL Server Reporting Service(MSSQLSERVER)"
2.World Wide Web Publishing Service
這里選擇結(jié)束這個(gè)系統(tǒng)服務(wù),運(yùn)行services.msc,找到然后停止即可。防止下次開(kāi)機(jī)再出現(xiàn)這種情況,在屬性里可設(shè)置成手動(dòng)啟動(dòng)。