Monday, May 22, 2017

[XAMPP][Resolved] Apache service detected with wrong path change xampp apache and control panel settings or

Error message

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

Step 1 

If you are using window 7, click Start menu and type "services" and start it. Opening services and see is there sth like "apache" is listed. If the answer is yes, mark the name down and it will be used later.


Step 2

Run commend prompt tool with administrator, otherwise you may not have the permission to kill the apache service.

Step 3

Run the command sc delete with the service name you marked at step 1, such as
sc delete "apache2.4"

Step 4

Visit your service window again and click is that apache service still here:

Step 5

Restart your apache.


Reference

https://stackoverflow.com/questions/19124599/trouble-with-apache-in-xampp-after-multiple-apache-installs

2 comments :