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

Detailed solutions when PHPstudy port 80 is occupied

韦小宝
韦小宝Original
2018-02-22 09:32:3510800browse

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!

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