FAQ 1: Port 80 is occupied
Solution:
1. IIS occupies port 80: Disable the IIS service, stop the IIS service on the control panel ---- Administrative Tools ---- service, or set it to manual start. Then restart XAMPP.
2. Thunder and QQ occupy port 80: Close thunder and restart XAMPP after QQ.
3. Unknown programs occupy port 80: Run ---- cmd ---- netstat-ano to view the port usage on the computer. xxx. xxx. XXX: What is the PID of port 80? Remember This PID Number and open "Task Manager" and click "View". In the Select column, select the PID (process identifier) in front of the PID. Find the PID number that you noted down to occupy port 80 to end the process, and then start XAMPP.
4. Modify the Apache port number. Open the XAMPP installation directory and find: XAMPP \ apache \ conf \ httpd. after conf is enabled, change every 80 in it to the desired port number, and then restart XAMPP.
FAQ 2: error message: APACHE service not started [-1]
Solution:
1. Make sure that the port is not the same as that of IIS. IIS uses 80 by default, and Apache uses the port to be staggered;
2. a. network neighbors->; view Network Connections-> local connections (the connection you are using, usually the name)->; right-click it and select "attribute"->; select "Internet Protocol (TCP/IP)->; properties->; advanced->; switch to the" wins "tag->; remove the check box before" enable LmHosts query.
B. control Panel->; Windows Firewall->; Advanced tab->; local connection settings->; select "Secure Web Server (https)" in the service tab, and click OK twice. restart the apache service