
Now we need to configure ioncube loader to work with PHP, in the php.ini file. Step 4: Configure ionCube Loader for PHPĨ. Note: Make sure to replace the PHP version and extension directory in the above command according to your system configuration. # cp /tmp/ioncube/ioncube_loader_lin_5.4.so /usr/lib64/php/modules Next we need to copy ioncube loader for our PHP 5.4 version to the extension directory ( /usr/lib64/php/modules). # php -i | grep extension_dirĮxtension_dir => /usr/lib64/php/modules => /usr/lib64/php/modulesħ. From the output of this command, the directory is /usr/lib64/php/modules. Next, find the location of the extension directory for PHP version 5.4, it is where the ioncube loader file will be installed.

The above output clearly shows that the system is using PHP 5.4.16 version, in your case it should be different version.Ħ. To know the php version installed on your server, run the command. There will be different ioncube loader files for various PHP versions, you need to select the right ioncube loader for your installed PHP version on your server. Ioncube Loader Files Step 3: Install ionCube Loader for PHPĥ. Then run the ls command to list the numerous ioncube loader files for different PHP versions. Then unzip the downloaded file using the tar command and move into the decompressed folder.

The above output clearly shows that the system is running on 64-bit architecture.Īs per your Linux system architecture type download the ioncube loader files into /tmp directory using following wget command. Go to the inocube’s website and download the installation files, but before that first you need to check whether your system is running on 64-bit or 32-bit architecture using the following command.

After installing Apache or Nginx with PHP on your system, start the web server and make sure to enable it to auto start at system boot time using following commands. # yum install nginx php php-fpm php-cli php-mysqlĢ. # yum install httpd php php-cli php-mysql If you already have a running web server Apache or Nginx with PHP installed on your system, you can jump to the Step 2, otherwise use the following yum command to install them.
