Modifying the “Path to executable” of a windows service

后端 未结 8 1652
终归单人心
终归单人心 2020-11-30 17:11

I\'d like to modify the path to my application, but doing so breaks it because the service still points to the old location.

By going to Administrative Tools

8条回答
  •  感情败类
    2020-11-30 17:48

    Open Run(win+R) , type "Regedit.exe" , to open "Registry Editor", go to

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services

    find "Apache2.4" open the folder find the "ImagePath" in the right side, open "ImagePath" under "value Data" put the following path:

    "C:\xampp\apache\bin\httpd.exe" -k runservice foe XAMPP for others point to the location where Apache is installed and inside locate the bin folder "C:(Apache installed location)\bin\httpd.exe" -k runservice

提交回复
热议问题