win10phpstudy prompts that the port is occupied

步履不停
Release: 2019-06-17 15:22:39
Original
5306 people have browsed it

win10phpstudy prompts that the port is occupied

1.Suitable for the crowd?

Before, I installed Apache, php, and mysql environments separately on my notebook, but later I wanted to use the integrated development environment phpstudy. After installing phpstudy (the previous separate environment still existed), I found that when starting, it always It shows that port 80 is occupied. How to solve the problem? See the second article:

2. Because the service was automatically started when Apache was installed at that time, every time the notebook is turned on, it will show that the Apache service has been started and you need to exit manually. Apache, and then found that restarting phpstudy still shows that port 80 is occupied. How to solve the problem? See the third article:

3.Solution:

Enter netstat on the command line - aon can check who is occupying port 80. It was found that it was occupied by the system. So:

It is found that the process with pid 4 occupies port 80. This is still a system process and cannot be killed. So I can only think of another way:

1. Open the run input, regedit, that is, open the notebook's registry

2. Find: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP

3. Find the Start item on the right and change it to 0

4. Restart the system. The System process will not occupy port 80. You can also check it through netstat -aon and find that port 80 is indeed no longer available. Occupied

 5. The last step is to restart phpstudy after restarting.

Tips: After the change, some notebooks can be used directly after restarting phpstudy, while some still show that port 80 is occupied. At this time, you need to restart your notebook and it will be ok!

Recommended tutorial: phpStudy quick entry video tutorial

The above is the detailed content of win10phpstudy prompts that the port is occupied. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template