Install phpTrafficA
To install phpTrafficA, you will need:
- A web server with php, mysql, and the GD library (it is included in most versions of php)
- to download the most recent version of phpTrafficA at the the phpTrafficA homepage
To install:
- Create a folder for phpTrafficA on your server (
YOUR_FOLDER), - modify
Php/config_sql.phpwith your login, password and base name for mySQL server connection, - modify
Php/config.phpto match your configuration, - transfer the content of the whole
phpTrafficAfolder to the server, in the folder you created - Make sure that the PHP scripts have write access in the
tmp/directory (this can be done with your ftp program) - open the file
YOUR_FOLDER/Install/install.phpin a web-browser and follow the instructions. - delete the
YOUR_FOLDER/Install/directory.
Upgrade phpTrafficA
To upgrade
- Locate the folder where phpTrafficA is installed:
YOUR_FOLDER. - Rename the old folder to something like
YOUR_FOLDER_OLD. - Unpack the content of the
phpTrafficAarchive. - Edit
Php/config_sql.phpandPhp/config.phpto match your configuration. - If upgrading from a version earlier than 2.0, copy the following file from
YOUR_FOLDER_OLDinto theInstall/folder of the new distribution:sites.php. - Transfer the content of the
phpTrafficAfolder of the new distribution to your webserver, inYOUR_FOLDER. - Run
Install/upgrade.php. - Delete the
Install/directory. - After testing the new version, remove the old installation.