Current location - Quotes Website - Team slogan - How to modify the default port of php
How to modify the default port of php
I don't know what installation mode and server type you are using. If you use some service packages, you can open them directly. If you install them manually, you can find the apache installation directory.

\ Apache \ conf \ httpd . conf//httpd . conf? This is a file, not a folder. Can I open it with Notepad or editplus? When the editor is opened

Search in files, listen//? Attention, is the front useless? "#"? Number # is the comment code #? Change? This? Where to? Listen. Open? Specific? IP? Address? As? Display? Below? Where to?

#? Prevention? Apache? From where? glomming? Go? All of them? Bound? IP? Address.

#

# Listen? 12.34.56.78:80

Listen. Is 80 ok? Just change the 80 after listening to 80 to the port you need.

Then enter the http:/localhost: port number in the browser when visiting.