I have previously installed XAMPP, because learning thingphp need to upgrade PHP5.0 above, so I removed the xampp, new version of the XAMPP to install it PHP is the latest edition, but the installation after the launch XAMPP prompt as follows:
Apache Service detected with wrong path. Change XAMPP Apache and Control Panel settings oruninstall/disable The other service manually first
Found Path: "H:\program files\xampp\apache\bin\httpd.exe"-K Runservice
Expected Path: "H:\xampp\apache\bin\httpd.exe"-K Runservice
Fortunately there is no port occupied situation, this is the boot path error,Found path: "H:\program files\xampp\apache\bin\httpd.exe"-K runservice This is my old version of the installation of the path,"H:\xampp\apache\bin\httpd.exe"-K runservice This is the path I am now installed, how to modify it?
First, check the path of your environment variable to see if you still have the XAMPP path that you added before, and if you do, delete it, and if not, proceed to the next step.
Then go into your own registry: Win+r Open the Run dialog---> enter regedit to enter the registry---> click HKEY_LOCAL_MACHINE---->SYSTEM----> CurrentControlSet---->services----> Find Apache2.4, you'll be on the right
ImagePath look at that path is not the path of the previous version, if it is selected ImagePath right-click Modify, the xampp inside the expected path behind the paths pasted in, and then determine.
Finally, restart XAMPP to start Apache. If your Mysql,filezilla also has a path problem, you can modify it as described above.
Apache cannot start after installing the new XAMPP hint: Apache Service detected with wrong path solution