Enter the installation directory of apache, then open the /conf/httpd.conf file, find the line Listen 80, change 80 to the port you want, and then restart apache
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