SMBs

Install a WAMP server with VertrigoServ

Jack Wallen describes the process of installing the Apache port Vertrigo, so you can get a WAMP server running on your Windows machine.

Modern business depends upon web-based applications which, in turn, require web servers. If you're running a Windows-based machine, you don't want to place your faith completely in Internet Information Services (IIS). For most web-based applications (especially CMS, ERP, and HRM tools), you want Apache.

Many IT pros assume Apache is a Linux-only server, but that's not true -- there have been many ports of Apache to the Windows platform. One such port is VertrigoServ, which makes the process of installing and configuring a WAMP (Windows Apache MySQL PHP) server as easy as installing any application on Windows.

VertrigoServ features include:

  • Small footpring
  • Up-to-date packages
  • Very easy to install and use
  • No configuration or manual installation required
  • Compatible with all major Windows versions
  • Completely free for any use

With a single installer, VertrigoServ will install all the tools you need to get your WAMP server up and running.

Installing VertrigoServ

  1. Download the VertrigoServ .exe installer file.
  2. Double-click the installer.
  3. Walk through the simple wizard.
The wizard shouldn't present a challenge. On the fourth screen (Figure A), you will be asked which components to install. Both the VertrigoServ and the Desktop Shortcut are selected by default. You must install the former; the latter is optional. Figure A

The Desktop Shortcut will add an icon to your desktop that will start the server. (Click the image to enlarge.)
When the installation completes, a new window will appear (Figure B) that informs you what was installed, offers links to documentation/settings, and has a button to click to hide the window and start the server. Figure B

Click on one of the links to be taken to that tool or document. (Click the image to enlarge.)

Controlling the server

The main control for VertrigoServ is in the Windows System Tray. If you right-click the VertrigoServ icon, a full menu will appear (Figure C). From this menu, you can start/stop/restart the server, open the various configuration files, and much more. Figure C

You can get to the VertrigoVserv Program Settings by going to Settings | Program Settings. (Click the image to enlarge.)

If you want VertrigoServ to always be running, you'll want to set it to run as a service. Follow these steps:

  1. Right-click the VertrigoServ icon in the System Tray.
  2. Go to Settings | Program Settings.
  3. Click the check box for Run Servers As Services (Figure D).
  4. Click the check box for Automatically Start Servers.
  5. Click the check box for Start At System Startup.
  6. Click Save Settings And Restart Servers.
Figure D

If you aren't sure if your configuration have caused issues, click the Return To Default Settings button. (Click the image to enlarge.)

You can also map the Apache document root as a drive in My Computer; this setting will make it easy to gain quick access to the htdocs folder. To do this, check the box under Mapping and select a drive to map to in the drop-down.

Configuring components

Though this is not a lesson in configuring Apache or MySQL, you need to know where the configuration files are so you can set up your server exactly how you need it. By default, the VertrigoServ will be listening to localhost:8080. You'll change that in the httpd.conf file. To find that file, right-click the VertrigoServ icon in the System Try and then click Config Files | httpd.conf. The file will open in Notepad, where you can make all the changes you need. The same goes for these config files: vertrigo.conf, php.ini, my.ini, config.inc.php (each of which can be accessed in the same way as the httpd.conf file).

If you click Tools in the VertrigoServ System Tray menu, you will find tools that allow you to manage your MySQL server:

  • PhpMyAdmin
  • SQLiteManager
  • SQLite Console
  • MySQL Console

The first two entries will open web pages for the management of MySQL and SQLite; the latter two entries open terminal windows where you can manage those databases from the console. If you try to open the websites, and you get an unable to connect error, it means you have not configured the httpd.conf file correctly.

By default, the tools are set up to work with port 80, so http://localhost/phpmyadmin (for example). The server is configured to work with port 8080, so you need to reset the server to work with port 80. This is done in the http.conf file in the line Listen 8080. You should change it to Listen 80.  Save the file and restart the server. The tools should work now.

Summary

If you're looking for one of the easiest methods for installing a WAMP server on a Windows box, VertrigoServ might be just the ticket. It's a great way to develop, test, and even serve up sites with one of the most powerful web servers available.

About

Jack Wallen is an award-winning writer for TechRepublic and Linux.com. He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website getjackd.net.

3 comments
dennis
dennis

Yeah, Jack. I'm with Rab. I've set up LAMP servers, and this is the first good exposure to a WAMP server I've seen. What's your feel for the differences in usability, performance and features?

rab
rab

Several months ago, you (I think it was you, but maybe another TechRepublic guru) convinced me to install UniServer, and I was delighted. It was so much simpler than installing and configuring Apache, MySQL and PHP individually, which I've done several times, and much lighter and faster than other WAMP servers I've used over the years. So, your thoughts on UniServer vs. VertrigoServ would be much appreciated!

Editor's Picks