有同樣的問題,如上所述,提出確保沒有使用端口80,但仍不能工作,得到的信息是Apache和MySQL被錯誤的路徑檢測到。
我之前安裝過XAMPP一次,卸載並重新安裝。我甚至手動卸載,但仍然有問題。
的修復。確保你先備份你的系統!
Start Services via Control Panel>Admin Tools
Look for Apache and mySQL services. Look at the patch indicated in the description (right click on service then click on properties). Chances are that you have Apache listed twice, one from your correct install and one from a previous install. Even if you only see one, look at the path, chances are its from a previous install and causing your install not to work. In either case, you need to delete those incorrect services.
a. Got to command prompt (run as administrator): Start > all programs > Accessories > right click on Command Prompt > Select 'run as administrator'
b. on command prompt type sc delete service (service = the service you're wanting to delete) such as apache2.1. It should be exactly as it appears in your services. If the service has spaces such as apache 2.1 then enter it in quotes, i.e. sc delete "apache 2.1"
c. press enter. Now refresh or close/open your services window and you'll see its gone.
對於XAMPP發現運行路徑不正確的所有服務,請執行此操作。
一旦你做到這一點,去頭,並重新啓動XAMPP控制面板(如管理員),這就是。沒有衝突
你以前安裝過另一個Apache服務器嗎?似乎這樣... – Sirko
是的,我已經安裝了以前的版本一次。 –