XAMPP learns how to solve the problem of port 80 modification by ApacheBusy in the PHP configuration environment ------ solution ------------------ find confhttpd. in the conf file, change Listen80 to Listen8080 (configured by yourself) ServerNamelocalhost: 80 to ServerNamelocalhost: 8080-XAMPP to learn how to configure the PHP environment.
How to solve the problem of Apache Busy modifying port 80
------ Solution --------------------
Find the conf \ httpd. conf file and modify the following
Change Listen 80 to Listen 8080 (configured by yourself)
ServerName localhost: 80 changed to ServerName localhost: 8080
------ Solution --------------------
Find the httpd. conf file in the apache \ conf file.
Modify Listen to the port to use.
ServerName localhost: change the port to be used
------ Solution --------------------
The landlord said that the Apache server cannot be started.
In Windows, port 80 is occupied by Web servers by default, such as IIS,
The default port of the Apache server is 80, so the solution is:
1. modify the default port of Apache. The procedure is as follows:
Modify xampp \ apache \ conf \ httpd. conf file. open it in a text editor. because there are too many contents, use Ctrl + F to find the default port 80, which has two parts: Listen and ServerName. change the port as needed, it is best to change it to a larger value (for example, 4498), because I changed it to 123 at the beginning. I tried it many times but it was not successful.
Then restart xampp-control.exe and you will be OK.
2. if the problem persists, check whether port 80 is occupied by other applications. The specific method is as follows:
First, open cmd and check the port 80 occupied by the program. netstat-a-n-o
Find the PID corresponding to port 80 and kill it in task manager !!!
Good luck !!!