Home  >  Article  >  Operation and Maintenance  >  phpstudyWhy is Apache showing red light?

phpstudyWhy is Apache showing red light?

步履不停
步履不停Original
2019-06-29 15:47:4428316browse

phpstudyWhy is Apache showing red light?

The default port of Apache is 80. Sometimes when installing phpstudy, it will prompt "The port is occupied and Apache failed to start", which means a red square is displayed in the running status.

phpstudyWhy is Apache showing red light?

image.png

Solution:

We can first check which program occupies port 80: Start-Run- Enter cmd (Enter) - open the command prompt and enter - netstat -ano, you can check the opening of the local port and the corresponding program PID

phpstudyWhy is Apache showing red light?

to get the use of port 80 After selecting the program PID, open Task Manager. By default, there is no PID item. You only need to check the PID in the View-Option Column (s).

phpstudyWhy is Apache showing red light?

Find out the program corresponding to the PID and close it. Finally, you can successfully start phpstudy.

phpstudyWhy is Apache showing red light?

Related video recommendations:

phpStudy Quick Start Video Tutorial


# #Related article recommendations:


phpstudyHow to configure a virtual domain name


##phpstudy What to do if port 80 is occupied during operation


The above is the detailed content of phpstudyWhy is Apache showing red light?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn