win7 installation of xampp prompt windows cannot find n file of installation is successful port 443 occupied apache server can not start the solution

  • 2020-05-10 23:21:57
  • OfStack

1. Environment: win7 64-bit install xampp 32-bit.

xampp download address: https: / / www apachefriends. org/download html

2. At the end of the installation process, an error is reported that windows cannot find the -n file. Microsoft Visual C++ 2008 Redistributable Package (x86) is not installed.

Solutions:

Download Microsoft Visual C++ 2008 Redistributable Package (x86) and install it. Download address: https: / / www microsoft. com/zh - CN/download/details aspx & # 63; id = 29

Then uninstall the previous version and reinstall it. To avoid other errors, I installed the default C:\xampp.

3. Failed to start apahce service. Failed to change the default port number 80 to the other.

On the command line, open httpd.exe under C:\xampp\apache\bin and note (OS 10048) that normally each socket address (protocol/network address/port) is only allowed once.  : AH00072: mak
e_sock: could not bind to address [::]:443

Solutions:

Enter netstat-ano in the console. Display all processes and their corresponding port Numbers. Then I opened the task manager and found that my VisualSVNServer startup was open, occupying the port number.

Just turn off the VisualSVNServer service.

If your message says: 80, then the port number is occupied. Directly modify C:\xampp\apache\conf\ httpd.conf port number 80 for the rest.


Related articles: