Please, God, solve the Apache installation problem.

Source: Internet
Author: User
PHP Beginner ~ ~ ~ just installed an Apache but can't run ~ ~ ~ The situation is as follows

The input localhost displays the


Last night studied for a long time ~ ~ ~ on the Internet to try a variety of methods are not effective ~ ~ ~
Beg help ~~ under the Grateful ~ ~ ~


Reply to discussion (solution)

Port 80 is already occupied by IIS
You need to assign a new port to Apache

Is there a suspicion of advertising? I answered the question before others, the same as LZ. Can be used to refer to the next.
Http://wenwen.soso.com/z/q479675492.htm
Locate httpd.conf File
Search "Listen" to find text content Listen 80
You can use this port to access debugging by modifying 80 to another idle port.

Like change to Listen 8080.
Then the browser accesses http://localhost:8080/
or http://127.0.0.1:8080/.
Also can http://hostname:8080/(hostname for LZ your own computer name)

1. Locate the Conf folder in the Apache installation directory, go in to locate the httpd.conf file, and modify the port.
2. Turn off IIS when you run Apache.
Two methods, as you choose.

Beginner's words, change an integrated bar, wait until know a website to run the play, to publish the website to try

Your Apache port is occupied by IIS, you turn the IIS service off and try it, in Control Panel, management tools, services. Locate the IIS service, and then close the try!

Modify the port number directly under Httpd.conf Search under Configuration file 80.

  • 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.