Home > Article > Operation and Maintenance > Solution to phpstudy port being occupied
After phpstudy is installed, the port often appears to be occupied when running. I often encounter this situation, so I searched many tutorials on the Internet and finally summarized two methods.
The first type of program that is running on this port is deleted
I saw many people searching for programs that port 80 is occupied. The name is system, and its PID is 4. Then open the task manager
I saw the system with the same name. I was worried that there would be the same name, so I right-clicked on the list header and checked Select PID and saw a
with a value of 4. I thought it would be successful as long as I deleted it, but after I found this and clicked delete, a warning box popped up. , which states that if deleted, it will affect system operation. So I paused this approach.
The second method is to change the port number in the phpstudy interface
In clicking other options, find phpstudy settings and select port general settings
Modify the port number: 8080, 8088, etc.
This will also change the login link address http://localhost:8088/bookstore/
The above is the detailed content of Solution to phpstudy port being occupied. For more information, please follow other related articles on the PHP Chinese website!