TechnologyUK - Web Server Scripting Logo

Using MoWeS

MoWeS stands for Modular Webserver System. Using MoWeS, it is possible to run a basic web server based on the Apache web server, the MySQL relational database management system (RDBMS), and PHP. All of the software components are designed to be installed and run from any physical storage medium, including a computer hard disk drive or portable storage medium such as a USB flash drive. There is no installation procedure - all you need to do is download the software to a suitable location. The open source (free) version of MoWeS is called MoWeS Portable, and is released under the GNU/GPL license. The following is a description of how To download and set up MoWeS Portable on your hard drive, but is very similar to the procedure that you would use to set MoWeS up on a USB flash drive or other portable media.

The Project MoWeS home page

The Project MoWeS home page


If you don't already have MoWeS, obtain a new package

If you don't already have MoWeS, obtain a new package


Select the server software packages you would like to download

Select the server software packages you would like to download


Answer the simple spam protection question

Select the server software packages you would like to download


The mowes_portable directory should look something like this

The mowes_portable directory should look something like this


You will be prompted to select a language

You will be prompted to select a language


You will be asked to confirm your acceptance of the terms of use

You will be asked to confirm your acceptance of the terms of use


MoWeS prompts you to install new packages

MoWeS prompts you to install new packages



Click on OK to install all packages

Click on OK to install all packages


You may need to unblock or allow program execution

You may need to unblock or allow program execution


The MoWeS control panel should appear briefly (if all is well, your default browser will also appear, hiding the control panel). A status message will be displayed telling you whether the Apache and MySQL servers are running (all being well, they will be). The control panel allows you to stop the server or exit the MoWeS application altogether. It also allows you to set various server options, backup your settings, check for updates to MoWeS, or access online MoWeS resources.


The MoWeS control panel will be displayed

The MoWeS control panel will be displayed


If the MoWeS server is working correctly, you should see a screen similar to that shown below. If the Apache web server fails to start, make sure you have no other web server software already running (e.g. Microsoft Internet Information Server), as this will conflict with Apache. Skype may also cause problems, if it is running.


You should see a screen similar to that shown here

You should see a screen similar to that shown here


Click on the Back button to go to the MoWeS start screen (see below).


The MoWeS start screen

The MoWeS start screen


You can check that PHP is working correctly by clicking on the "phpinfo" link. All being well, your browser should display several screens of server configuration data. The screen shot below shows the first block of information displayed.


Typical server configuration data

Typical server configuration data


MoWeS is an excellent tool for learning about how web server software functions, and for developing prototype web applications before they are deployed on a "live" server. The practical examples of web server scripting described in these pages will be based on the use of the MoWeS server environment.