Skip to content

Using the ionCube PHP Loader

The ionCube PHP Loader is a PHP extension that decodes and executes files encoded with the ionCube Encoder. Many commercial PHP applications use ionCube to protect their source code. On ruachost.com, ionCube Loader is supported across hosting environments.

  • A runtime extension that allows encoded PHP files to run.
  • Provides protection against reverse engineering and unauthorized modification.
  • Required by many third‑party applications and plugins.
  • ionCube Loader is enabled by default.
  • You can verify by checking your PHP configuration with phpinfo().
  • If using a non‑default PHP version, additional configuration may be required.
  • ionCube Loader is enabled by default.
  • Confirm via phpinfo() or cPanel’s PHP Selector.
  • If you install a LAMP stack using Webuzo, ionCube Loader is included automatically.
  • If you install Apache and PHP manually, you must download and configure ionCube Loader yourself.
  1. Terminal window
    wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
  2. Terminal window
    tar xvzf ioncube_loaders_lin_x86-64.tar.gz
  3. Terminal window
    mv ioncube /usr/local
  4. Edit php.ini Add the following line (replace x.y with your PHP version, e.g., 8.1):

    zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.y.so
    • AlmaLinux/Fedora:

      Terminal window
      service httpd restart
    • Debian/Ubuntu:

      Terminal window
      service apache2 restart
  • Create a file named info.php with:

    <?php phpinfo(); ?>
  • Access it via browser: http://yourdomain.com/info.php.

  • Look for the ionCube Loader section to confirm it is active.

  • Delete the file afterward for security.