Apache cannot start after installing the new XAMPP hint: Apache Service detected with wrong path solution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.