Home  >  Article  >  Backend Development  >  Solution for apache startup failure in phpstudy and port 80 occupied

Solution for apache startup failure in phpstudy and port 80 occupied

little bottle
little bottleforward
2019-04-25 16:06:265330browse

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.

Solution for apache startup failure in phpstudy and port 80 occupied

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!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete