PHP Live! Help Desk
» Help Desk Home » Installation and Upgrade » Transfer PHP Live! to a new server
Transfer PHP Live! to a new server

To transfer the PHP Live! system to a new server, there are basically three steps:

  1. Move the PHP Live! files to the new server.
  2. Edit the configuration file to match the new server. (phplive/web/config.php)
  3. Export the PHP Live! MySQL database and import to the new database on the new server.

 


 

Transfer

 

1. Move the PHP Live! files to the new server:

  1. Compress your entire phplive/ directory using ZIP or tar.
  2. FTP the compressed file to the new server location.
  3. Decompress the file.

 

2. Edit the configuration file to match the new server: (phplive/web/config.php)

  1. Edit the phplive/web/config.php file on the new server.
  2. Update the domain, file path and MySQL information to reflect the new server settings.  The variables that requires change are:

 

$CONF['DOCUMENT_ROOT'] = addslashes( 'new_full_directory_path_to_phplive' ) ;
$CONF['BASE_URL'] = 'new_url_containing_the_http' ;
$CONF['SQLHOST'] = 'new_db_host' ;
$CONF['SQLLOGIN'] = 'new_db_login' ;
$CONF['SQLPASS'] = 'new_db_password' ;
$CONF['DATABASE'] = 'new_db_name' ;

 

3. Export the PHP Live! MySQL database and import to the new database on the new server.  There are couple ways to do this:

 

  • Contact the server admin to directly access MySQL var/ directory and zip or tar up the entire folder of the PHP Live! database and decompress it on the new server's MySQL var/ directory.  A restart of the MySQL server is required after the decompression of the data file on the new server.

 

  • Using MySQL front-end tool (such as PHPMyAdmin), export the entire database to a file, both the structure and the data. On the new server, create a new database and then import the text file containing the entire PHP Live! data. You can either use the upload file option or open the file and copy/paste the entire content and paste it into the SQL query window at the new database using a MySQL front-end tool.
Was this documentation helpful to you?
© OSI Codes Inc. All Rights Reserved  /  Privacy Policy  /  License Agreement  /  download live chat icons  /  help desk  /  contact us » follow us on Google+ Google Plus
Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /var/www/vhosts/phplivesupport.com/inc_footer.php on line 51