search
HomeOperation and MaintenancephpstudyHow to modify Apache's port number with PhpStudy (picture)

The content of this article is about the method of modifying the port number of Apache in PhpStudy (picture). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

phpStudy is a program integration package for PHP debugging environment. This package integrates the latest Apache PHP MySQL phpMyAdmin ZendOptimizer. It can be installed once and can be used without configuration. It is a very convenient and easy-to-use PHP debugging environment. In the Apache website server, if port 80 is occupied, the Apache server may fail to start. You can use PhpStudy to modify the port number of the Apache server, such as changing it to port 8080.

(1) Find the Apache configuration file httpd-conf file.

First start PhpStudy, then select Other options menu in the lower right corner of the interface, click and select the submenu Open the configuration file, and select httpd-conf , as shown below:

(2) In the opened httpd-conf file, find port 80, and you can find the following setting item

#Listen 12.34.56.78:80
Listen 80 //This sentence means: tell Apache to listen to port 80

At this time, change port 80 to the port number you need to set, such as Port 880 or port 8080.

(3) After the modification is completed, save the file, then return to the initial interface of phpstudy and restart the service.

(4) If the port number of Apache is not port 80, when debugging the local website, you must add the port number to the URL address. If it is set to port 808, you need to use: 127.0 for local debugging. 0.1:808 or localhost:808

The above is the detailed content of How to modify Apache's port number with PhpStudy (picture). For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:segmentfault. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.