1. Environment: Win7 64-bit installation XAMPP 32-bit.
Xampp:https://www.apachefriends.org/download.html
2. The installation process finally, error, prompting Windows cannot find the-n file. And that Microsoft Visual C + + Redistributable Package (x86) is not installed.
Solution:
Download the Microsoft Visual C + + Redistributable Package (x86) and install it. : https://www.microsoft.com/zh-CN/download/details.aspx?id=29
Then uninstall the previous version and reinstall it. To avoid other errors, I installed it under the default C:\XAMPP.
3. Startup fails when the APAHCE service is started. Modifying the default port number 80 for others still fails to start.
On the command line, open the Httpd.exe under C:\xampp\apache\bin, prompting (OS 10048) is usually allowed only once per socket address (Protocol/network address/port). : Ah00072:mak
E_sock:could not bind to address [::]:443
Solution: Enter Netstat-ano in the console. Displays all the processes and their corresponding port numbers. Find the 443 address that corresponds to the process ID of 2200. Then open Task Manager and find that my visualsvnserver boot is open, which takes up this port number.
Shut down the Visualsvnserver service.
If your message says yes: 80, then the port number is occupied. Directly modify the port number of the C:\xampp\apache\conf\httpd.conf 80 for others.
Please feel free to correct me!
Win7 Install XAMPP, prompt Windows cannot find the-N file (after successful installation, 443 port occupied, Apache server does not start properly)