How to deal with PHPstudy runtime port 80 is occupied

  
PHPstudy is a popular PHP integration environment, integrated with the latest Apache+PHP+MySQL+phpMyAdmin+ZendOptimizer, one-time installation, no need to configure, it is very convenient and easy to use PHP debugging environment. But sometimes when running, it prompts that Apache can't run. The error shows that port 80 is occupied. What should I do? 1. Run is PHPstudy prompts port 80 is occupied, the program can not run. 2. Check what is the program that occupies port 80. Generally, you can use the cmd tool that comes with Windows. The first thing is to start the computer in the lower left corner -> run; or press the Windows button + R button directly under the keyboard, press together Oh. 3. Then, in the input box that opens “ open, enter “cmd”, at the point "OK", and then click ">" to confirm ”, enter the cmd interface, enter "ld"; Netstat -ano”, press the Enter key again; 5. After pressing the Enter key, the port and program ID occupied by the program in the current computer will be displayed; see the first one: 0.0.0.0:80 This is 80 Port, is tcp protocol, the latter PID is 4; 6. Then, we open the task manager of the computer, the method is: Ctrl+Alt+Delete three buttons together, then, click "PID"; let the manager PID to sort, so that we can view it, see the program with PID 4. 7. If you don't see the PID, you need to set up the manager: “View”->“Select column”->Check the ”PID” option. 8. Finally, select the process with PID 4, then right click and select to end the process; 9. After the process is finished, there is no program that occupies port 80, and then enter the PHPstudy interface <;start & rdquo;, the program can run normally It is. This article comes from [System Home] www.xp85.com
Copyright © Windows knowledge All Rights Reserved