|
5.0-Nano: Introduction | Install and Run | Control | DtDNS | Cron| Security features | Enable SSL | Multi-Servers | Perl | UniTray | Security and passwords | Known Issues | Support
|
|
| Uniform Server 5.0-Nano. PHP 5.2.10 Uniform Server 5.1-Nano. PHP 5.3.0 |
5.0-Nano Installation and run guide
Uniform Server 5.0-Nano has a single installation option: extract to any folder, and two operation modes, either as a standard program or service.
Portability is nothing more complex than copying folder UniServer to where you want to run the servers. That includes any hard drive or USB memory stick.
Can’t run UniServer because it clashes with an existing server? Three mouse clicks and a few key presses reconfigures the server allowing it to coexist with an existing host server.
Uniform Server tries not to impose any restrictions, hence has numerous user configurable features allowing you to tailor the servers. This page explores some of these after first covering the basics.
Download Uniform Server 5.*-Nano from Sourceforge choose either UniServer5_*.exe or UniServer5_*.zip. The .exe is a self-extracting 7-zip archive, and is much smaller.
For 5.0, 5.1, 5.2 and 5.3 there are two parallel versions, the main difference being the version of PHP:
Note versions 5.4 and 5.5 use PHP version 5.3.1
The simplest way of getting UniServer up and working on Windows 7 and I presume the same will apply for Vista is by doing as follows.
After a couple of seconds Apache and Mysql should now run as expected.
If you really want to be lazy and are happy to always grant UniServer Run as administrator privileges then use the following method:
Now in future you can just run Start.exe as normal by double clicking it and it will always automatically be run as an administrator.
Note: You only need to perform the above if you want to install Apache and MySQL as a service.
If you want to just use them as a normal program then there is no issue and you don't need to run as administrator, you can just choose to run them as standard programs by left clicking on the system tray icon (UniTray) and selecting 'Start Uniserver'.
To allow Internet or Intranet access, edit file .htaccess located in the root folder www H):
| 1) Locate these lines: | 2) Disable local only access by commenting each line with an hash "#" as shown | |
Order Deny,Allow Deny from all Allow from 127.0.0.1 |
|
#Order Deny,Allow #Deny from all #Allow from 127.0.0.1 |
Note 1:
After saving the file, there's no need to restart server. Changes are automatically picked-up by Apache, and your servers are now on-line.
Note 2:
The Secure Web root folder D) UniServer\ssl contains example pages that will be encrypted when served. With the exception of file .htaccess, delete its content and copy your Secure Web site (folders and pages) to this folder. You need to enable SSL for pages to be served from this folder.
Note 3:
If you experience difficulties in accessing your server from the Internet, check out this section.
Also check out the DtDNS page for a free domain name and how to resolve a dynamic IP address.
Before serving encrypted pages, the server requires a certificate and key. These are created by running a script as follows:
Left click tray icon > Advanced > click "Server Certificate and Key Generator"
To view your secure web site, run the servers and type https://localhost into your browser.
Note: The script can also be run from Apanel.
To allow Internet or Intranet access, edit file .htaccess located in the SSL root folder D):
UniServer\ssl\.htaccess
| 1) Locate these lines: | 2) Disable local only access by commenting each line with an hash "#" as shown | |
Order Deny,Allow Deny from all Allow from 127.0.0.1 |
|
#Order Deny,Allow #Deny from all #Allow from 127.0.0.1 |
One of Uniform Server’s unique features is the capability to run more than one complete server on the same PC. When running a server from a USB memory stick, you can use this to great advantage and prevent server clashes. You will have noticed UniTray’s icon displays one (meaning standard ports). Moving UniServer increments this digit and so on for each server move. In reality, it’s not just a port change but a complete server update. Running server status displays the server characteristics.
Move Servers:
The first time you move the servers, the ports will have the following values: Apache port = 81 and MySQL port = 3307
Confused? No problem. Take a look at these two pages. They provide real applications and hopefully will clarify any issues:
There are two Web Root folders, “www” and “ssl”. Folder www is where you place your regular web site. Pages served from this folder are not encrypted. Any sites or pages you want served encrypted are placed in folder ssl.
Note: Moving the servers increments these ports, invalid ports are skipped
Although UniServer has significantly changed, it still remains easy to use.
A central control architecture reduces complexity and adds more flexibility.
This flexibility and control are covered on the next page Control and Alternative control.