Installation

Starting with PHP development needs some preparation. You will need the PHP language environment, MySQL and a web server. Currently there is no sophisticated installation routine for GGF. But if you have already written some PHP with APACHE and MySQL the following should not be difficult for you. (If you have neither one of these installed read the Quick Installation Guide and the 21 Steps to your own Phonebook Application (110 KB doc)).
Assuming you already have a Windows-PC with MySQL, PHP (in C:/Programme/PHP5)
and APACHE (in C:\Programme\Apache Group\Apache\ and your documents
directory in C:\Programme\Apache
Group\Apache\htdocs), then you need to
· Download the latest GGF archive
· put the downloaded GGF files into C:\Programme\Apache Group\Apache\htdocs\GGF
· You need also PHP5 (GGF does not work with PHP4 or earlier). We assume here, that you install it into C:\Programme\PHP5\ . The GGF archive contains also a PHP.INI for the APACHE web server. This is pretty much the default, except that “display_errors = On” is set, magix quotes are off and MySQL is enabled. (“extension=php_mysql.dll”)
· You
must configure APACHE for using PHP.This is done in C:\Programme\Apache
Group\Apache\conf\httpd.conf again you can use the supplied one. This is also
pretty much the same what comes out of the APACHE box. Only two lines are
added:
LoadModule
php5_module "C:/Programme/PHP5/php5apache.dll"
AddModule mod_php5.c
· If you like, you can use the supplied PHP.INI from the GGF archive and store it into C:\Programme\Apache Group\Apache . You must also have php_mysql.dll there. This you can find in C:\Programme\PHP5\ext.
· if you want to use the sample configuration file for PHP, you need also a directory C:\Programme\Apache Group\Apache\htdocs\GGF\tmp . This will store temporary session data (and can be cleared from time to time).
·
To execute the GGF demo program you need also MySQL
(some version 5.x is ok). The demo uses a database named GGF and tables named
“GGFHistory”, “GGFNote”, GGFQuery and “user”. These you can create easily by
starting the MySQL client and typing
“source
C:/Programme/Apache Group/Apache/htdocs/GGF/GGF.sql“
(note the slashes)
·
If all this is done, start the Apache server, the MySQL
server and then you can start the GGF demo in your web-browser with http://localhost/GGF/GGFDemo.php
If everything went fine, you see something like:

Figure 1
By the way:
after installation, login with admin/admin gives you access to the user
management, room reservation application and query management functionality of
the demo application.
Note:
You may need to check GGFSetup.php to adapt the MySQL user/password that is
used to access your database.