Xampp reinstallation prompts httpd path error
Since the previously installed version of xampp is relatively low, download the new version of xampp and reinstall it after uninstallation. The prompt to start xampp after installation is as follows:
Expected Path: "d:\ txampp\ apache\ bin\ httpd.exe"-k runservice
Problem detected!
Port 443 in use by "D:\ program files\ xampp\ apache\ bin\ httpd.exe"-k runservice "with PID 6336!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application or reconfigure Apache and the Control Panel to listen on a different port
This is because there is an error in the startup path. Found Path: "D:\ programfiles\ xampp\ apache\ bin\ httpd.exe"-k runservice this is the path where the previous version was installed, and "d:\ txampp\ apache\ bin\ httpd.exe"-k runservice this is the path to install now.
Solution:
First, enter your own registry: win+R opens the run dialog box
Then, enter regedit enter, enter the registry-> Click HKEY_LOCAL_MACHINE---- > SYSTEM---- > currentControlSet---- > Services---- > find Apache2.4, and you will see ImagePath on the right. At this time, the path is the path of the previous version. Select ImagePath, right-click to modify, paste the path behind the Expected Path prompted in xampp, and then make sure, as shown in the figure below:
Finally, restart xampp.
Brother Yang's learning home page: http://edu.51cto.com/lecturer/index/user_id-5811414.html