Win10 system Apache can not start after installing XAMPP

  
After installing XAMPP in the new Windows 10 operating system, I found that the computer will not be able to start apache, and will return an error message similar to the following: The following phenomenon is displayed:
Error message:
9:52: 41 AM [Apache] This may be due to a blocked port, missing dependencies, 9:52:41 AM [Apache] improper privileges, a crash, or a shutdown by another method.9:52:41 AM [Apache] Press the Logs button to view error logs and check9:52:41 AM [Apache] the Windows Event Viewer for more clues9:52:41 AM [Apache] If you need more help, copy and post this9:52:41 AM [Apache] entire Log window on the forums
Workaround:
1. Click on the Netstat button on the right side of XAMPP to see if any program is using port 80 or 443. In my case which you can see 443 port is not occupied, while 80 ports are occupied by the system;


2, in the installation folder found under .. \\ XAMPP \\ apache \\ conf \\, and In the httpd.conf file in this directory, all 80s are replaced by 82 or other unoccupied ports. There are a total of three ports in the file that mention port 80, all changed to 82 (or other ports of your choice).



3, (this step is not everyone needs) If some students have been modified httpd-vhosts file, you also need the ... \\ XAMPP \\ apache \\ conf \\ extra \\ In this path, find httpd-vhosts.conf and change all ports 80 to 82 or other ports.

443 port is occupied:
1, if port 443 is also being used to open the installation path ... \\ xampp \\ apache \\ conf \\ httpd-ssl.conf file in the extra, will Listen 443 Comment out the phrase: add & ldquo; # & rdquo; become & ldquo; # Listen 443 & rdquo ;, or other ports will be changed to 443 unoccupied, such as 4433


2, to return to the XAMPP The main interface, start apache, this time should be able to run smoothly.

above solution is to install XAMPP apache unable to start after the windows10 system introduced method is very simple, friends have the same problem can be resolved in accordance with the method described above!
Copyright © Windows knowledge All Rights Reserved