Home > Backend Development > PHP Problem > How to modify the port in php

How to modify the port in php

王林
Release: 2023-03-07 08:54:02
Original
7970 people have browsed it

php修改端口的方法:1、使用编辑器打开httpd.conf配置文件;2、修改配置【Listen 8080】;3、保存修改,并重启服务器即可。

How to modify the port in php

具体方法如下:

(视频教程推荐:java视频教程

1、打开httpd.conf配置文件

\\apache\\conf\\httpd.conf
Copy after login

2、在配置文件中找到Listen 80

# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80
Copy after login

将其修改为Listen 8080

3、重启服务器。

相关推荐:php培训

The above is the detailed content of How to modify the port in php. 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