Coral: general change ports

General - Change Ports

The Uniform Server provides two ways of changing the ports used by the servers. Normally you should run the multi-server script. This automatically increments all the ports and renames the executables. However there are situations where you need to change individual server ports. This menu allows you to specify the Apache (standard and secure) and MySQL ports.


UniServer 8-Coral
  Home
  Quick Start
» General
  Apache
  MySQL
  PHP
  MSMTP
  CRON
  DtDNS
  Db Backup
  Perl
  Main Index

Change Apache and MySQL ports

UniController: Server Configuration > General > Change ports, Apache and MySQL

Change a Single port

  • Current port setting is displayed.
  • Change the port to required value.
  • Click the corresponding change button.

Change all ports

  • Change all ports to required value.
  • Click change all button.

Note: For new ports to become effective you must restart the servers.

 

Top

Files modified

The Uniform Server scripts that use server ports will read them directly from the appropriate configuration file. The following files are updated when a port is changed:

Apache standard port

  • UniServer\usr\local\apache2\conf\httpd.conf
  • UniServer\usr\local\apache2\conf\extra\httpd-vhosts.conf

Apache ssl port

  • UniServer\usr\local\apache2\conf\extra\ssl.conf

MySQL standard port

  • UniServer\usr\local\mysql\my.ini
  • UniServer\usr\local\mysql\small_my.ini
  • UniServer\usr\local\mysql\medium_my.ini

Top