The following is the upgrade procedures for the Download Solution. In brief, the upgrade process is replacing the current PHP Live! files on the server with the new software files.
Before upgrading, make a backup of the phplive/web/ directory
The web/ directory contains important dynamic files and other system settings. Do not delete the web/ directory! Just make a backup of the directory.
It is suggested to upgrade the system after business hours when website activity is minimal. All operators should log out of the system before upgrading.
- Login to the Client area and download the latest PHP Live! version to your computer.
- Unzip the downloaded file and extract the entire phplive/ folder to your computer.
- Using an FTP program (FileZilla is our recommendation), open an FTP connection to your web server and change directory to where the phplive/ folder is located. Make sure you are seeing the phplive/ directory, not the contents inside it.
- FTP the new PHP Live! files (the entire phplive/ folder that is located on your computer) to your web server, replacing the existing phplive/ directory. Essentially, you will be updating the old files to the new files.
If the FTP program prompts to "override" or "replace", choose "override" to override ALL previous files on the server to the new files.
* do not choose replace or rename! it may cause the web/config.php file to be cleared. choose to "override" the folders and files, not replace.
For cPanel users, you can simply upload the downloaded tar file (NOT the zip format) to the sever through cPanel then extract the tar file (the tar format will set the correct directory and file permissions). If wanting to use the zip download format, you will need to unzip the zip file and upload the files using an FTP program.
- After the FTP process has completed, launch a web browser and access your PHP Live! system.
(example: www.your-website.com/phplive/ )
Error to Note: If you see an installation page rather then an "updating" page, STOP! You'll want to repopulate the web/ folder with the backup created (detailed at the top of this documentation) and then refresh the page and try again.
Possible errors to note:
500 internal server error - If you receive this error when accessing the phplive/ directory via the URL, try setting the phplive/ folder and all the folders to 755 and all files to 644. Most FTP programs will have a setting (right click the folder name and then "File permissions" or "Permissions" menu option) to set a specific permission of all folders and files recursively. If you do not see such option, consider using FileZilla FTP Program.