Problems with the Apache server not starting under Windows system resolution _linux

Source: Internet
Author: User
Tags mysql tutorial

About Apache failed to boot is primarily 80 port problem, let's take a look at the treatment of Port occupied

Solution: 1: Run Netstat-ano under DOS

2: In the Xampp Control Panel, click Setup to open the command interface,

3: Select 6 Enable Mob_perl

4: Restart XAMPP, this time running http://localhost should work properly

The third situation is a number of online users encountered problems:

Problem occurred with port binding, not bound to required port

This is where you can exit the port-hogging program based on the prompts in Error.log, which should enable Apache.

But starting those programs may make a mistake again.

Solution:

The cmd command line can be viewed directly to see if any programs are consuming the port

1, run cmd, and then input Netstat-ano, enter;
2, look at the first few lines containing the port of the last line of the PID, for a few numbers, put these figures down;
3, start "Task Manager"-"process", in the "toolbar"-"Select columns" in front of the box ticked;
4, and then find the corresponding with just that PID which program, it is easy to find, that is, it is bound with the port (BIND);

Station port is accounted for

XAMPP Apache does not start properly in Windows environment

One situation is because the port number is occupied

Here is the hint of IIS, thunder and other tools, the default port number is the same as Apache is 80

Solution: This can be done by modifying the port number in the httpd.conf file in the apache/conf/directory to start the Apache correctly

There are two places to revise.

1:

#listen 0.0.0.0:80
#listen [::]:80
Listen 80

2:

ServerName localhost:80

The second kind of situation is the problem I'm having.

IIS, Thunderbolt and other tools do not start, and Apache is not bootable, XAMPP integrated in other such as MySQL tutorial can be enabled normally

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.