In this tutorial we will show you how to install IonCube Loader on Ubuntu 16.04 LTS. For those of you who didn’t know, IonCube Loaders is basically an encryption/decryption utility for PHP applications which also assists in speeding up the pages that are served. It is often required for a lot of PHP-based applications. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Vesta Control Panel on a Ubuntu 16.04 (Xenial Xerus) server.
Install IonCube Loader on Ubuntu 16.04 LTS Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.
Introduction Using ionCube encoded and secured PHP files requires a file called the ionCube Loader to be installed on the web server and made available to PHP. PHP can use the Loader with one line added to a PHP configuration file (php.ini). This article will explain the procedure to install ioncube loader into CentOS, Ubuntu and Debian in detail.
Step 1: Download ioncube loader The first step in installing the ioncube loader is obviously to download the installation files from inocube’s website. But before doing so please check whether your system is running on 32bit or 64bit architecture, because the download file for each architecture is different. You can check this by running the following command in your terminal, # uname -a Sample output: Linux E2E-Networks 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x8664 x8664 x8664 GNU/Linux In this output it is clearly mentioned as the system is running on 64bit architecture. Then according to your architecture type download the required files into /tmp directory in your system.
The Ioncube loader is a PHP module to load files that were protected with the Ioncube Encoder software. Ioncube is often used by commercial PHP software vendors to protect their software, so it is likely that you come across an Ioncube encoded file sooner or later when you install extensions for CMS or Shop software written in PHP.
![Loader Loader](/uploads/1/2/5/5/125513364/482885712.png)
![Ioncube Loader Download Ioncube Loader Download](http://www.ioncube.com/images/installer.jpg)
For 64bit system: # cd /tmp # wget Then unzip the downloaded files using the tar command # tar xfz ioncubeloaderslinx86-64.tar.gz For 32bit system: # cd /tmp # wget # tar xfz ioncubeloaderslinx86.tar.gz By default the files will be unzipped to a folder “ioncube” Step 2: Select the right ioncube loader to install There will be various ioncube loader files unzipped into the ioncube folder corresponding to various php versions. You need to select the correct ioncube loader file asper the php version installed on your server. To know the version of php installed on your server, run the command, # php -v Sample output: PHP 7.0.13-0ubuntu0.16.04.1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.13-0ubuntu0.16.04.1, Copyright (c) 1999-2016, by Zend Technologies In our case, the php version installed is PHP 7.0.13 which may vary from server to server. Check your version and then run the command ls /tmp/ioncube to check all the available ioncube loader files.