Uniform Server 5.6-Nano.

Edit menu introduction

This menu provides short cuts to Apache, MySQL and PHP configuration files.

In addition opens change sever port and Vhost edit windows.

Menu Item Description

Opens window allowing you to change Apache and MySQL ports. From this window you can change the MySQL password.

This menu items opens the Virtual Host Editor window.

  • Apache config httpd.conf
  • Apache ssl config ssl.conf
  • MySQL my.ini
  • PHP php.ini
  • PHP php-cli.ini
  • PHP production ini
  • PHP development ini

These menu items open the corresponding configuration file in your default editor.

Top

Change Server Ports

  • Enter a new port number and press corresponding button. For the new ports to become effective you need to restart the servers.

Note: If you are changing ports to run mutli-servers do not use this window. Several other parameters require chagrining hence use Move servers

Change MySQL password

  • Enter a new password
  • Click Set MySQL password button

This updates MySQL server and password file. You can continue running the servers no need to restart.

Note: When installing applications or reading the Wiki you see a reference to MySQL password “root” remember to substitute your new password for root.

 

Top

Virtual Host Editor

The virtual host editor allows you to add new virtual hosts to Apache’s configuration file. You can edit or delete existing ones, deleting a virtual host only removes that entry from Apache’s configuration file associated root folder and its contents is not deleted.

An entry added to your PC’s hosts file resolves that host name. If you are using the USB plugin an entry is made to a PAC file allowing full portability.

The virtual host editor is split into two sections:

Virtual host set-up

Virtual host set-up allows you to create a new virtual host or edit a host you select from one listed in the list of host window.

List of hosts

After creating a virtual host it is listed in this window. Selecting a host allows you to either edit or delete it.

You can also view that host in your default web browser (Note you will need to restart Apache if you have just create that host otherwise Apache will not pick it up)

Editing the first host (localhost:80) only additional parameters are accessible you can add or delete parameters you cannot delete this host.

Top

Edit Window

Create Virtual host

  • Host Name The host name is what a user would type into a browser to access your web site excluding the http:// part. For example my_books.com
  • DocumentRoot This is the full path to a folder (root) that contains your site. This does not necessarily need to be within UniServer’s folder, however for portable it is a good idea to create it in www. By default root folder path is displayed just add a folder name to the end of this for example \my_books . If that folder does not exist it will be created, place your new site in this folder.
  • Create Vhost Clicking this button creates your new host. It is listed in the bottom window.
  • Cancel Resets window text fields allowing you to back out

Edit Vhost

  • List From the list of Hosts select a Vhost you wish to edit
  • Delete Vhost Click this button to delete a selected Vhost
  • Edit Vhost Clicking this button populates top window where you can edit parameters. To save edits click Update Vhost button.
  • Browser View Click this button to view the selected Vhost in your default browser.
  • Cancel Resets window text fields allowing you to back out

 

Related links:

Top

Summary

The short cuts allow access to all configuration files hence you can edit any of the server parameters.

Change server ports and MySQL password window provides a convenient way of changing these parameters, saves searching configuration files.

The virtual host edit window makes it extremely easy to set-up Virtual Hosts.

Next page covers Logs drop down menu this provides quick access to all server logs.

Top