xampp安装。安装xampp / apache.I有错误显示以下行

时间:2017-06-26 12:02:11

标签: php mysql apache xampp

安装xampp / apache时。我显示错误,显示以下行。

5:24:47 PM  [Apache]    Apache Service detected with wrong path
5:24:47 PM  [Apache]    Change XAMPP Apache and Control Panel settings or
5:24:47 PM  [Apache]    Uninstall/disable the other service manually first
5:24:47 PM  [Apache]    Found Path: "c:\apache24\bin\httpd.exe" -k 
runservice
5:24:47 PM  [Apache]    Expected Path: "c:\xampp\apache\bin\httpd.exe" -k 
runservice

1 个答案:

答案 0 :(得分:0)

    5:24:47 PM  [Apache]    Apache Service detected with wrong path
    5:24:47 PM  [Apache]    Change XAMPP Apache and Control Panel settings or
    5:24:47 PM  [Apache]    Uninstall/disable the other service manually first
    5:24:47 PM  [Apache]    Found Path: "c:\apache24\bin\httpd.exe" -k runservice
    5:24:47 PM  [Apache]    Expected Path: "c:\xampp\apache\bin\httpd.exe" -k 

从我所看到的,问题是你在错误的路径上安装了XAMPP,所以我建议你卸载xampp并重新安装它,确保它的 PATH 安装得像这 - >

    "c:\xampp\apache\bin\httpd.exe"

XAMPP文件夹必须位于 C-drive 本地磁盘中,即程序文件和程序文件(x86)所在的位置。

希望这有帮助。