Blog

Solved – Apache Service detected with wrong path

 

Hej, I have problem with:

Apache Service detected with wrong path

4:31:33 PM [Apache] Change XAMPP Apache and Control Panel settings or
4:31:33 PM [Apache] Uninstall/disable the other service manually first
4:31:33 PM [Apache] Found Path: “C:\Apache\bin\httpd.exe” -k runservice
4:31:33 PM [Apache] Expected Path: “c:\xampp\apache\bin\httpd.exe” -k runservice

How to fix it?

Solution:-

Here’s the fix:
  1. Window + R and type regedit then enter
  2. Open this directory HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.4
  3. Right-click on the “ImagePath” and choose “Modify”
  4. Change the Value Data field with your current installed path of apache in XAMPP
  5. In my case, the value is “C:\xampp\apache\bin\httpd.exe” -k runservice
  6. For the question poster case, change the value to “c:\xampp\apache\bin\httpd.exe” -k runservice
  7. Close the Xampp Control panel and Open Again.

That’s it !!

Happy Learning !!

Thank you !!

 

7 thoughts on “Solved – Apache Service detected with wrong path

  1. Nothing happens when i type HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.4. All I get is “windows cannot find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.4 Make sure you typed the name correctly.

Leave a Reply

Your email address will not be published. Required fields are marked *