Download the current version of ioncube, check your system architecture, my system architecture is x86


Now extract the tar file,

  tar -zxvf ioncube_loaders_lin_x86.tar.gz

Now move to extract files to your specific location, here I put the folder to /user/local/lib/

  sudo mv ioncube/ /usr/local/lib/

Now add referance to your php.ini file

  zend_extension = /usr/local/lib/ioncube/

Restart apache

  sudo /etc/init.d/apache2 restart


How to verify: Please print phpinfo() and notice the following red rectangular, its should say “”With the ionCube PHP Loader v4.0.1, Copyright(c) 2002-2010, by ionCube Ltd”

Its verified.