Win7 Install XAMPP, prompt Windows cannot find the-N file (after successful installation, 443 port occupied, Apache server does not start properly)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.