Home >Backend Development >PHP Tutorial >Solution for apache startup failure in phpstudy and port 80 occupied
This article talks about the solution for apache startup failure in phpstudy and the occupation of port 80. Friends who have the same problem can come and learn about it.
When installing phpstydy and starting apache, the startup fails, prompting that port 80 is occupied, and the service process occupying port 80 needs to be closed
1. Run cmd, netstat -ano Find the pid corresponding to port 80 4
2. Generally it is occupied by applications that call http.sys. Run cmd, netsh http show servicestate to find the application that uses http.sys and shut down the process. Just drop it.
If you want to know more tutorials, please pay attention to the PHP video tutorial on the PHP Chinese website.
The above is the detailed content of Solution for apache startup failure in phpstudy and port 80 occupied. For more information, please follow other related articles on the PHP Chinese website!