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 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 

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 renew/update standalone license ?
    Viewed 617 times since Thu, Feb 27, 2020
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 1871 times since Thu, Jun 15, 2017
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 2992 times since Fri, Sep 1, 2017
    Database connectivity credentials and configuration file
    Viewed 1758 times since Thu, Nov 23, 2017
    How do i uninstall ezeelogin?
    Viewed 2273 times since Wed, Jun 14, 2017
    How to export servers ?
    Viewed 3658 times since Sat, Sep 2, 2017
    how to create a complete backup of ezeelogin installation?
    Viewed 2533 times since Thu, Jun 15, 2017
    Migrate jump server installation from one server to another
    Viewed 2698 times since Wed, Jun 14, 2017
    How do i export all server password into an excel file?
    Viewed 1999 times since Thu, Jun 15, 2017
    How to truncate the ssh session logs recorded
    Viewed 1937 times since Tue, Dec 5, 2017