In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
How to solve the problem of Apache shutdown unexpectedly startup error? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.
The error displayed when xampp starts is:
9:52:41 [Apache] Attempting to start Apache app...
9:52:41 [Apache] Status change detected: running
9:52:42 [Apache] Status change detected: stopped
9:52:42 [Apache] Error: Apache shutdown unexpectedly.
9:52:42 [Apache] This may be due to a blocked port, missing dependencies
9:52:42 [Apache] improper privileges, a crash, or a shutdown by another method.
9:52:42 [Apache] Check the "/ xampp/apache/logs/error.log" file
9:52:42 [Apache] and the Windows Event Viewer for more clues
This problem is quite common, usually ports 80,443 are occupied.
Cmd prints the following log by running apache/bin/httpd.exe:
(OS 10048) each socket address (protocol / network address / port) is usually allowed to be used only once. : make_sock: could not bind to address 0.0.0.0:443
Or port 80 is occupied at the back.
(OS 10048) each socket address (protocol / network address / port) is usually allowed to be used only once. : make_sock: could not bind to address 0.0.0.0 80 or [:]: 80
1. The fastest way to deal with this is to change the port number:
1. Port 443 is occupied and apache cannot listen to port 443. how to solve it?
In / xampp/apache/conf/extra/httpd-ssl.conf
Modify Listen 443 to 444 (customizable)
2. Port 80 is occupied and apache cannot listen to port 80. how to solve it?
In / xampp/apache/conf/extra/httpd.conf
Change Listen 80 to 88 (customizable)
If vhosts is configured, please change the port in httpd-vhosts.conf to 88 (same as the port number above)
Second, the most direct way is to shut down the process that occupies ports 80,443:
1. Check whether ports 80,443 are occupied by netstat-ano in cmd-this may be occupied by other programs such as iis, virtual machine, etc.
two。 Print tasklist in cmd to find the process names that occupy ports 80,443.
The 3.taskkill / pid port number kills the process name, and XAMPP can restart apache.
To sum up, the first method is recommended, and the second method is encountered more or less again every time it starts.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.