Home  >  Article  >  Operation and Maintenance  >  Solution to phpstudy port being occupied

Solution to phpstudy port being occupied

angryTom
angryTomOriginal
2019-07-15 16:38:3113933browse

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

Solution to phpstudy port being occupied

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

Solution to phpstudy port being occupied

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

Solution to phpstudy port being occupied

Modify the port number: 8080, 8088, etc.

Solution to phpstudy port being occupied

This will also change the login link address http://localhost:8088/bookstore/

Solution to phpstudy port being occupied

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!

Statement:
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