Home > Backend Development > PHP Tutorial > Detailed solutions when PHPstudy port 80 is occupied

Detailed solutions when PHPstudy port 80 is occupied

韦小宝
Release: 2023-03-20 10:52:02
Original
10892 people have browsed it

I believe that many students like to use PHP integrated environment. Most of them should have used PHPstudy. I believe that some students have encountered the situation where phpstudy port 80 is occupied when using phpstudy. This article will tell you about it. How to solve this problem.

When using phpstudy, port 80 will always be occupied. I saw other steps: 1. Run netstat -ano on cmd to see what port 80 is occupied, and then find the corresponding end process in the task manager. Usually it is occupied by System. Right-clicking to end the process cannot end it. If you end the process tree, you will get a blue screen~

So I thought of modifying the port and not competing with them for port 80, so I set port 8080,

Set Listen 8080 under httpd.conf

Detailed solutions when PHPstudy port 80 is occupied

## Set under httpd-vhosts.conf

Detailed solutions when PHPstudy port 80 is occupied

In fact, this configuration will eventually stop apache from running

Detailed solutions when PHPstudy port 80 is occupied

Finally, httpd. Just delete one of the Listen 8080s set under conf

But now the latest version of PHPstudy encounters port 80 being occupied and just abort it and then restart it


Detailed solutions when PHPstudy port 80 is occupied

PHP toolbox download:

http://www.php.cn/xiazai/gongju/844

PHPstudy download:

http:// www.php.cn/xiazai/gongju/845

Recommended similar articles:

After installing phpstudy, I found that port 80 was occupied

The above is the detailed content of Detailed solutions when PHPstudy port 80 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