Location: PHPKode > projects > Web Application Gateway > wagateway/INSTALL.txt

$Revision: 33 $
$LastChangedDate: 2008-01-14 13:55:31 -0700 (Mon, 14 Jan 2008) $
$LastChangedBy: gpeangel $


*  PHP 5.0 or greater (WAG may work with older versions.  It is developed with
   5.1 and has not been tested on older versions.)

*  MySQL 5.0 or greater (WAG may work with older versions.  It is developed with
   version 5.0.22 and has not been tested on older versions.)


1) Backup the current WAG directory.  For example, assuming WAG was installed in
   a subdirectory under the web root called "myapps":
   # mv myapps/ myapps_backup/

2) Untar the source file.  For example:

   # tar xzvf wagateway-x.x.x.tar.gz

   This will create a subdirectory called "wagateway".

3) If necessary, move the "wagateway" to the previously named directory for WAG.
   For example:
   # mv wagateway/ myapps/

4) Copy the WAG config.php file from the backup directory to the new directory.
   For example:
   # cp myapps_backup/config.php myapps/

5) Copy any applications under the backup applications directory to the new
   location.  Include the "-R" switch to copy subdirectories.  For example:
   # cp -R myapps_backup/apps/ myapps/apps/

6) Logon to the gateway as an administrator.  The Home screen will notify you of
   any WAG upgrades that need to be completed.

For versions prior to 1.0.0

A fresh installation is recommended due to the significant number of changes
since the previous release.


1.  Create a database to contain WAG's data structures.  You may use an existing

2.  Setup a database user with CREATE, ALTER, INDEX, SELECT, INSERT, UPDATE, 
    DELETE privledges on the database identified in step (1).

3.  Untar the source file in the web server root directory.  This should create
    a subdirectory called "wagateway".  For example:

   # tar xzvf wagateway-x.x.x.tar.gz

4.  Point your favorite web browsers to http://[domain name]/wagateway/ and
    follow the configuration steps.  For first time installs, besure the 
    "Delete Existing Tables" option is check during the Web Application Gateway 
    configuration.  This option is under the "MySQL Database" section on the
    last step of the installation/configuration process.  This option is uncheck
    by default to prevent the accidental deletion of any existing data.
Return current item: Web Application Gateway