Please solve Apache installation problems-php Tutorial

Source: Internet
Author: User
How can I solve Apache installation problems for PHP beginners ~~~ I just installed Apache but it cannot run ~~~ The situation is as follows:

Enter localhost to display


I studied it for a long time last night ~~~ I tried a variety of methods online, but none of them worked ~~~
Please help ·~~ In the following example, I am excited ~~~


Reply to discussion (solution)

Port 80 is occupied by IIS
You need to allocate a new port to apache

Are there any advertisements? I answered a question from someone else. The question is exactly the same as LZ. For more information, see.
Http://wenwen.soso.com/z/q479675492.htm
Find the httpd. conf file
Search for "Listen" and find the text content Listen 80.
Modify port 80 to another idle port to use this port for access debugging.

For example, change to Listen 8080.
Then the browser accesses http: // localhost: 8080/
Or http: // 127.0.0.1: 8080/
You can also use http: // hostname: 8080/(hostname is your own computer name)

1. find the conf folder in the Apache installation directory, find the httpd. conf file, and modify the port.
2. disable IIS when running Apache.
You can select either of the two methods.

If you are a beginner, change to integration. wait until you know the steps for running a website and try to release the website.

If your Apache port is occupied by IIS, turn off the IIS service and try again. choose Control Panel> Administrative Tools> services. Find the IIS service and disable it!

Search for 80 in the configuration file httpd. conf to modify the port number.

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.