How can we upgrade php in an ezeelogin installed server ?

1. Backup existing jump server installation 

     Execute the following script on your server to generate a backup of your installation so that you can restore the backup in case the upgrade breaks.

[email protected]:~$/usr/local/sbin/backup_ezlogin.php


This would create a executable archive of your ezeelogin installation in /var/ezlogin_backup_v6.2.0_b167_Fri_Mar_02_2012_04_23_22_CST.bin

Execute the backup bin file to restore if something goes wrong and you would live to revert. 

 You need to downgrade/switch back to previous version of php before restoring the backup.

2.  Upgrade the PHP version in the system and install ioncube loader to corresponding PHP version after PHP upgrade.


3. Download the ezeelogin package corresponding to the PHP version you have installed from the customer portal 

    Upgrade ezeelogin with the following command 

[email protected]:~$ sh ezlogin_7.x.x_php71.bin -- -update -skipbackup

   Follow the onscreen prompts to complete the upgrade.



Restoring ezeelogin from backup


If something is broken after the upgrade, no worries. We will restore the backup from the archive that was created. You would first need to uninstall the current installation on the gateway. Run the following script to uninstall  


[email protected]:~$ /usr/local/sbin/uninstall_ezlogin.php


Now that we have uninstalled, we can go ahead restore the binary backup archive that was created. 

 You need to downgrade/switch back to previous version of php before restoring the backup.

[email protected] :~# sh /var/ezlogin_backup_v7.0.0_b167_Fri_Mar_02_2012_04_23_22_CST.bin






0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How do i uninstall ezeelogin?
    Viewed 1348 times since Wed, Jun 14, 2017
    How do i export all server password into an excel file?
    Viewed 1064 times since Thu, Jun 15, 2017
    how to create a complete backup of ezeelogin installation?
    Viewed 1224 times since Thu, Jun 15, 2017
    How to truncate the ssh session logs recorded?
    Viewed 839 times since Tue, Dec 5, 2017
    Database connectivity credentials and configuration file
    Viewed 931 times since Thu, Nov 23, 2017
    Migrate jump server installation from one server to another
    Viewed 1410 times since Wed, Jun 14, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 2683 times since Thu, Jun 15, 2017
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 1043 times since Thu, Jun 15, 2017
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 1661 times since Fri, Sep 1, 2017
    How to export servers ?
    Viewed 1959 times since Sat, Sep 2, 2017