The ionCube Loader is a PHP extension that decodes and executes encoded files at run-time. It is currently not available when running PHP 8. As a workaround, you can change the PHP version to 7.4 (or earlier), which does support ionCube PHP Loader.
Follow the appropriate procedure below for your hosting package.
To change the PHP version on a shared or reseller hosting account, use the PHP Selector. To do this, follow these steps:
If you are using the Paper Lantern theme, in the SOFTWARE section of the cPanel home page, click Select PHP Version:
cPanel displays the current PHP version. To change the PHP version, in the Current PHP Version list box, select the version that you want to use, and then click Set as current.
The new PHP version takes effect immediately.
On Managed VPS and Dedicated servers, you can change the PHP version for an entire domain or for a specific directory. The following procedures explain how to do this.
To change the PHP version for an entire domain or domains, follow these steps:
If you are using the Paper Lantern theme, in the SOFTWARE section of the cPanel home page, click MultiPHP Manager:
To change the PHP version, under Set PHP Version per Domain, select the check box next to the domain or domains for which you want to change the PHP version:
In the PHP Version list box, select the PHP version you want to use for the domain or domains, and then click :
The new PHP version for the domain takes effect immediately.
You do not have to change the PHP version for an entire domain. Alternatively, you can set different PHP versions for different directories on your site by using .htaccess files. To do this, follow these steps:
<FilesMatch "\.(php4|php5|php3|php2|php|phtml)$"> SetHandler application/x-httpd-ea-php74___lsphp </FilesMatch>
The SetHandler directive above sets the PHP version to 7.4. If you want to use another version, type that instead. For example, to set the PHP version to 7.2 in the directory, type:
The new PHP version for the directory takes effect immediately.
For more information about ionCube, please visit http://www.ioncube.com.
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
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.