1. Error message1. After installation, it shows that the installation is successful, but the service cannot be started error code 1 2. Enter the Apache24/bin target as an administrator and execute httpd.exe 2. Cause of errorError code 1 is displayed, which means that the port number is occupied. Execute the code httpd.exe in the bin directory in cmd to make it display the error and see the occupied port number to solve the problem 3. Solution1. Enter and run netstat -ano in the command prompt to view port occupancy The process with process ID (PID) 6812 occupies port 443. 3. Run tasklist |findstr 4 to view process information From the above, we can see that the port is occupied by the vmware-hostd.ext program, so we need to change the port of Apache24 and search for httpd-ssl.conf in the Apache24 directory. Replace 443 in the two files with any number that does not exist in the port number (such as 442) (right click - open with Notepad - edit - replace) Do the same for the other one; then restart the service and restart the computer! OK solution This concludes this article about the inability to start the service after Apache installation (error code 1 appears when starting the service). For more information about Apache error code 1, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: CSS injection knowledge summary
>>: MySQL scheduled full database backup
Preface The project requires a circular menu. I s...
This article example shares the specific code of ...
Docker Compose can realize the orchestration of D...
Table of contents A brief overview of the replica...
1. What is mycat A completely open source large d...
Some time ago, I encountered the problem that the...
This article uses an example to describe how to i...
In the process of Django web development, when wr...
This article shares the specific code for JavaScr...
How to add css in html? There are three ways to s...
1. MySQL's own stress testing tool - Mysqlsla...
30 free high-quality English ribbon fonts for down...
Table of contents 1. Spark vs. Hadoop 1.1 Disadva...
In the trend of gradual transition from tradition...
Table of contents What is a trigger Create a trig...