XAMPP Apach cannot start Solution

Source: Internet
Author: User

 

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

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.