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.



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 binary file to restore the installation if something goes wrong.

 To restore the Ezeelogin backup archive file, you need to be on the same version of php which was used to generate the Ezeelogin backup archive.

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 

root@gateway:~$ 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  


root@gateway:~$ /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.

root@jumperver :~# sh /var/

If you want to do the restore in one step with your existing settings and without being prompted.


sh ezlogin_backup_v7.9.0_b381_Wed_Feb_13_2019_23_26_03_IST.bin  -- -skipgeolite -auto -force -ACCEPT_SETTINGS -I_ACCEPT_EULA

 Replace the backup filename with your backup file.







5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How to migrate the custom server fields from Ezeelogin version 7.0 to the latest version?
    Viewed 575 times since Thu, Jul 16, 2020
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 2205 times since Thu, Jun 15, 2017
    How to change the private key in use and change the default public key in use?
    Viewed 4032 times since Fri, Dec 1, 2017
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 3377 times since Fri, Sep 1, 2017
    How to truncate the ssh session logs recorded
    Viewed 2507 times since Tue, Dec 5, 2017
    How to renew/update standalone license ?
    Viewed 1259 times since Thu, Feb 27, 2020
    Backup Ezeelogin failed during Ezeelogin version upgrade
    Viewed 509 times since Tue, Jul 28, 2020
    How do i uninstall ezeelogin?
    Viewed 2647 times since Wed, Jun 14, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 6909 times since Thu, Jun 15, 2017
    How to export servers ?
    Viewed 4430 times since Sat, Sep 2, 2017