Frequently Asked Questions

Installing ionCube on Your Linux Hosting Account

Print this Article
Last Updated: July 21, 2015 1:51 PM

ionCube lets you protect your website's PHP code from being viewed and ran on unlicensed computers. If you'd like to use it, you can install it on your shared hosting account.

Before installing ionCube, you must:

NOTE: If you want to use ionCube with a secondary domain name, you must reference the root of the hosting account, where both ionCube and the PHP initialization file are located.

  1. Download the compressed Linux (32 bits) binary file from ionCube's site. We recommend using the ZIP file.
  2. Upload the compressed file to your hosting account (Web & Classic / cPanel / Plesk).
  3. Unarchive the compressed file in your hosting account (Web & Classic / cPanel / Plesk).

    NOTE: Unarchiving the compressed file creates the necessary /ioncube directory.

  4. Add the following as the first line of script of your PHP initialization file to reference the absolute path to the ionCube Loader:

    [Zend]
    zend_extension=/absolute path/ioncube/ioncube_loader_lin_X.Y.so

    NOTE: If your account does not have a PHP initialization file, you must create one (Web & Classic / cPanel / Plesk).