In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is to share with you about the problems encountered in apache installation. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. First download the zip package of apache, and extract it to the specified path; (e:\ Apache24)
Download apache path: http://www.apachehaus.com/cgi-bin/download.plx
2. Enter the doc interface as an administrator, enter the bin directory of apache, and enter httpd.exe-k install
3. Error reported: Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
Httpd.exe: Syntax error on line 40 of E:/Apache24/conf/httpd.conf: ServerRoot must be a valid directory
Because the path cannot be found, you need to modify the path of the Define SRVROOT specified apache in the httpd.conf file.
4. Error reported: Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10013) an attempt to access a socket is made in a way that access permissions are not allowed. : AH00072: make_sock: could not bind to address [::]: 80
(OS 10013) an attempt to access a socket is made in a way that access permissions are not allowed. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Because the port is occupied, you need to modify the Listen and ServerName in the httpd.conf file to modify the port number. Here, set 80 to 8080.
5. Error reported: Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10048) each socket address (protocol / network address / port) is usually allowed to be used only once. : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
It is due to the problem of listening port occupancy. Due to the installation of Skype, port 443is occupied by driving Skype.
You need to modify httpd-ahssl.conf and httpd-ssl.conf under Apache24\ conf\ extra to change 443 to 442 here.
6. The installation is successful and appears as follows:
7. Click ApacheMonitor.exe to launch apche successfully; visit localhost:8080 in the browser, and the apache interface appears successfully.
Thank you for reading! This is the end of this article on "what are the problems encountered in the installation of apache?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.