I am in the native configuration of PHP environment, installed when encountered 80 port is occupied, after the query to know that the original is Inetinfo.exe occupied 80 ports, so the Inetinfo.exe service can be installed normal PHP environment.
Workaround in Windows Service Management, stop the IIS Admin server, or run it in cmd
The code is as follows |
Copy Code |
Iisreset.exe/stop |
Forced shutdown of the IIS service is OK.
Here's a quick way to take a look at a query port in Windows:
1, choose to start-> run->cmd-> OK, enter "Netstat-ano" in the command line, and then find the 0.0.0.0:80 of this line of the corresponding PID value. This PID value is the program process handle that is currently using port 80.
2, immediately followed by pressing Ctrl+alt+del, open Task Manager, select View-> Select column-> hook on the PID (process identifier)-> OK. Finally find the 80-port PID Value Line, the previous image name is currently consuming 80 ports of the program.
method Two: change the IIS 80 port to the other used port, such as 80 to 81, and change the port of the site to 81.
Steps:
1, change the IIS 80 port to unused port, arbitrary value, not used on the sex, in this change to 81 ports.
2, restart IIS. Now that IIS is ready to start, you can already browse the files in IIS.
3, corresponding in the site to the site's port to IIS now 81 ports, such as from the original http://localhost/changed to http://localhost:81/. If you do not change the site port, you need to enter the port every time you visit the site, if you want to access index.asp, you must enter: http://localhost:81/index.asp.