Home > Article > Operation and Maintenance > 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.
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
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).
Find out the program corresponding to the PID and close it. Finally, you can successfully start phpstudy.
Related video recommendations:
phpStudy Quick Start Video Tutorial
phpstudyHow to configure a virtual domain name
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!