In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to solve the problem that Apache can not start after xampp installation". In daily operation, I believe that many people have doubts about how to solve the problem that Apache cannot start after xampp installation. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt that "Apache can not start after xampp installation". Next, please follow the editor to study!
Preface
XAMPP (Apache+MySQL+PHP+PERL) is a powerful integrated software package for building XAMPP software stations, and includes Apache distributions of MySQL, PHP and Perl.
Because Apache or VMware may have been installed before, or the xampp path may have been uninstalled and not deleted, it is not possible to start Apache through xampp.
Here are two main solutions, as follows:
Method 1: (configure path)
First, check whether the previously added xampp path is still left in the path of your environment variables, delete it if there is one, and proceed to the next step if not.
Then enter your own registry: win+r opens the run dialog box-- > enter regedit enter to enter the registry-> click HKEY_LOCAL_MACHINE---- > SYSTEM---- > currentControlSet---- > Services---- > find Apache2.4, and you will see it on the right.
ImagePath to see if that path is the previous version of the path, if it is selected ImagePath right-click to modify, paste the path behind the Expected Path prompted in the xampp, and then make sure.
Finally, restart xampp and start apache.
Method 2: (modify port)
Usually, ports 80,443 are occupied. Here, use the setting function provided by the program to set the port. You need to click the [config] button on the program interface.
Click [server and por setting] in the new window, and enter the corresponding port on the settings window. You need to remember that port 80 and port 443 can be modified together.
Here both 801 and 4431 are set (remember the modified port, which will be used next)
Click Save after configuration, return to the main page, then modify the configuration file under the program, click xampp after config, it should be noted that port 80 and port 443 need to be set respectively.
After clicking Apache (httpd.conf) to open the configuration file, directly use the search function to find the configuration of port 80 and modify the port to 801 (modified in the previous step 2)
After clicking Apache (httpd-ssl.conf) to open the configuration file, directly use the search function to find the configuration of port 443 and modify the port to 4431 (modified in the previous step 2)
Save after the modification is completed.
Start Apache again, and continue to modify the port according to the above steps if you still report the same error.
At this point, the study on "how to solve the problem that Apache cannot be started after xampp installation" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.