ionCube PHP Loader support

This article discusses support for the ionCube PHP Loader on A2 Hosting servers. The ionCube Loader is a PHP extension that decodes and executes encoded files at run-time.

Information in this article about unmanaged dedicated servers is only for customers who purchased those plans before May 27, 2024. As of that date, unmanaged dedicated servers are no longer available. Our new managed dedicated server plans feature more powerful hardware to meet your hosting needs. To view available dedicated hosting options, please visit https://www.a2hosting.com/dedicated-server-hosting/.

Shared hosting and reseller servers

All shared hosting and reseller servers have the ionCube PHP Loader enabled by default. You can verify this yourself by viewing the server's PHP configuration settings. For more information about how to do this, please see this article.

On some shared and reseller hosting accounts, you must follow additional configuration steps to use ionCube Loader with non-default PHP versions. For more information, please see this article.

Managed VPS and managed Dedicated Servers

Managed VPS and managed Dedicated Servers have the ionCube PHP Loader enabled by default. You can verify this yourself by viewing the server's PHP configuration settings. For more information about how to do this, please see this article.

Unmanaged VPS and unmanaged Dedicated Servers

If you use Webuzo to install a LAMP (Linux, Apache, MySQL, and PHP) stack, it installs and configures the ionCube Loader as well. No further configuration is required on your part.

If you install Apache and PHP yourself, however, then you must download and configure the ionCube Loader. To do this, follow these steps:

  1. Log in to the VPS or dedicated server using SSH.
  2. At the command prompt, type the following command:
    wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
  3. To extract the files, type the following command:

    tar xvzf ioncube_loaders_lin_x86-64.tar.gz
  4. Move the ioncube directory to the /usr/local directory by typing the following command:

    mv ioncube /usr/local
  5. Add the following line to the /etc/php.ini file. Replace x.y with the PHP version number that you are running (for example, 5.4):

    zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.y.so
  6. Restart Apache. To do this, type the appropriate command for your Linux distribution:

    • For AlmaLinux and Fedora, type:
      service httpd restart
    • For Debian and Ubuntu, type:

      service apache2 restart

More Information

For more information about the ionCube PHP Loader, please visit http://www.ioncube.com.

Get ionCube Hosting

Article Details

  • Level: Intermediate

Related Articles

Show More

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.