|
2.4.2 - SpeedCheck Upgrade (PHP) |
Top Previous Next |
|
Upgrade from version 4.x to version 5.x (FOR PHP)
1. Backup all the version 4.x files on your web server (IMPORTANT TO DO)
2. Write down your database information (hostname, username, password) from /config/include.php
$db_host = "xxxxxxxx"; $db_user = "xxxxxxxx"; $db_pass = "xxxxxxxx"; $db_name = "db_speedcheck";
3. Delete version 4.x files EXCEPT the /download and /upload directories
4. Copy/upload the new files (version 5.x) to your web server, you may want to skip /download and /upload directories
5. If you have manually edited the main Java Applet main file SpeedCheck.php, you may want to add the changes you made to the new SpeedCheck.php.
New Parameters: The following are the new parameters for version 5.x:
<param name="labels_url" value="http://servername/SpeedCheck_labels.php"> <param name="report_url" value="http://servername/SpeedCheck_report.php"> <param name="report_url_frame" value="_self"> <param name="report_url_enabled value="1"> <param name="customized_title_style" value="SansSerif, PLAIN, 14"> <param name="display_product_version" value="1"> <param name="iteration_default" value="1"> <param name="host_default" value="1"> <param name="direction_default" value="1"> <param name="auto_start" value="0"> <param name="auto_report" value="1">
6. License key for version 5.x is different. Please logon to your account and get the new key, then replace the content in SpeedCheck_license.txt
7. Now, open up /config/include.php, and copy your hostname, username and password from Step (2)
$db_host = "xxxxxxxx"; $db_user = "xxxxxxxx"; $db_pass = "xxxxxxxx"; $db_name = "db_speedcheck";
New Parameters: The following are the new config parameters for version 5.x:
$enable_permission = false; // To enable permission, change boolean to true $enable_statistics = false; // To enable statistics, change boolean to true
8. If it doesn't work, reinstall by doing it from scratch. Please refer to the basic installation for details.
Upgrade from version 5.0 to version 5.5 (PHP)
1. Backup your existing files on your web server (IMPORTANT TO DO)
2. Copy the new SpeedCheck.jar, SpeedCheck.php, SpeedCheck_admin_report.php, SpeedCheck_statistics.php and replace those on your server.
3. Create 3 more new fields in the database called "custom_1", "custom_2", and "custom_3" (see installation Guide)
ALTER TABLE `speedcheck_stats` ADD `custom_1` VARCHAR( 250 ) NOT NULL AFTER `time_taken` , ADD `custom_2` VARCHAR( 250 ) NOT NULL AFTER `custom_1` , ADD `custom_3` VARCHAR( 250 ) NOT NULL AFTER `custom_2` ;
4. Close your browser and open up the page.
|