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.