This page explains how to up upgrade to phpTrafficA v-1.0.3 from phpTrafficA v-0.05 to v-1.0.2. It will not work from phpTrafficA v-0.04
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
phpTrafficA_cur.tgz
it consists of- a file called
funcIp2c.php
, - a file called
count.php
, - a folder called
Php
with the actual source code of the program.
- a file called
- Copy the following files from
YOUR_FOLDER_OLD
into thePhp
folder of the new distribution:sites.php
,config.php
,config_sql.php
.
- Transfer the content of the
Php
folder of the new distribution to your webserver, inYOUR_FOLDER
. - If you did not change the name of the phpTrafficA folder, there is no need to change
count.php
. Otherwise edit it and change the path accordingly. - If you want to upgrade the list of browser, search engines, and os's, run
upgrade.php
. This will remove all changes you may have made yourself. - Delete
confDB.sql.php
confDBUpgrade.sql.php
install.php
upgrade.php
- Secure your new folder.
- After testing the new install, remove the old installation.