fix
Please note: This website includes an accessibility system. Press Control-F11 to adjust the website to people with visual disabilities who are using a screen reader; Press Control-F10 to open an accessibility menu.

How to change php listen port

Avatar
  • Answered
I need to listen 7777 port on my php website, how can I change it?
Avatar
Scott
Hello mastobaev,

Thank you for your question on changing the port for php. This is not something that can be done on a shared server at all. For VPS and Dedicated plans, it will take root access. To do it, log into the WHM, then go to the "Tweak Settings" tool. From there, on the "All" tab, locate the setting named "Apache non-SSL IP/port" Then set the port from 80 to 7777.

Kindest Regards,
Scott M