1
我安裝了兩個xampp,它們都有兩個不同的PHP版本。當我用舊的PHP運行xampp時,一切都運行平穩。但是當我使用最新的PHP運行xampp時,Apache和MySQL無法運行,請始終顯示「嘗試啓動mysql服務」和「嘗試啓動apache服務」一詞。我試圖改變Apache和MySQL的端口,但一切都沒用。 哦,我得到這樣的錯誤消息:XAMPP 3.2.1上的Apache和Mysql無法啓動
11:07:51 [Apache] Apache Service detected with wrong path
11:07:51 [Apache] Change XAMPP Apache and Control Panel settings or
11:07:51 [Apache] Uninstall/disable the other service manually first
11:07:51 [Apache] Found Path:"D:\file3\install\xampp1\apache\bin\httpd.exe" -k runservice
11:07:51 [Apache] Expected Path: "c:\xampp1\apache\bin\httpd.exe" -k runservice
11:07:51 [mysql] MySQL Service detected with wrong path
11:07:51 [mysql] Change XAMPP MySQL and Control Panel settings or
11:07:51 [mysql] Uninstall/disable the other service manually first
11:07:51 [mysql] Found Path: D:\file3\install\xampp1\mysql\bin\mysqld.exe --defaults-file=d:\file3\install\xampp1\mysql\bin\my.ini mysql
11:07:51 [mysql] Expected Path: c:\xampp1\mysql\bin\mysqld.exe --defaults-file=c:\xampp1\mysql\bin\my.ini mysql
11:07:51 [main] Starting Check-Timer
11:07:51 [main] Control Panel Ready
,但如果我更改PATH然後用舊版本PHP的XAMPP將無法運行,對不對?我該怎麼辦?沒人能幫助我?
備份第一。您最好卸載兩個XAMPP,然後重新安裝最新版本。 – Raptor