Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

How to use custom ionCube versions – Enhance Hosting

Follow these steps to configure a custom ionCube loader version for your website hosted with Enhance:

Step 1: Download and Upload the ionCube Loaders

  • Download the Loader Archive
  • Upload and Extract the Loader
    • Log in to your Enhance web hosting panel.
    • Navigate to the File Manager for your website.
    • Upload the downloaded .tar.gz file.
    • Extract the archive into a directory named ioncube within your website’s root directory.

Step 2: Configure the PHP.ini File

  • Disable the Built-in ionCube Loader
    • Go to the Developer Tools section in the Enhance dashboard.
    • Disable the ionCube toggle to turn off the default ionCube loader.
  • Edit the PHP.ini File
    • Open the PHP.ini Editor from the dashboard.
    • Add the following directive:
zend_extension = /path/to/loader/ioncube_loader_lin_8.1.so

Replace /path/to/loader/ioncube_loader_lin_8.1.so with the absolute path to the loader file for PHP 8.1 in your ioncube directory.

ionpath-1024x312.png

Get the Absolute Path

  • In the File Manager, locate the file ioncube_loader_lin_8.1.so in your ioncube directory.
  • Right-click the file and select Get Info.
  • Copy the absolute path provided and use it in the zend_extension directive.

Step 3: Save, Restart PHP

  1. Save the Changes
    • Ensure you’ve saved the modifications to the php.ini file.
  2. Restart the PHP Container
    • In the Enhance web hosting panel, go to the Developer Tools section.
    • Locate the option to restart the PHP container (this might be labelled as “Restart PHP container” or similar).
    • Restart the container to apply the changes.
  3. Test the Configuration
    • Follow the steps in Step 4: Test with info.php to confirm that the custom ionCube loader is active and functioning correctly.

Step 4: Create and Test with info.php

  • Create a info.php File
    • In your website’s File Manager, create a new file called info.php.
    • Add the following code to the file:phpCopy code
<?php
phpinfo();
?>
  • Save the file.

Access the info.php File

  • Open your web browser and navigate to http://yourdomain.com/info.php (replace yourdomain.com with your actual domain).
  • Look for the Zend Engine section or search for “ionCube” in the page.

Check the Loader Status

  • Confirm that the custom ionCube loader is listed and active.
  • If you see the custom ionCube loader for PHP 8.1 in the configuration details, the setup is successful.

ionv-1024x90.png

Remove the info.php File After Testing
Leaving the info.php file accessible on your server can expose sensitive information about your PHP configuration to the public. Be sure to delete it once you’ve confirmed the setup is working correctly.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to disable PHP error reporting – Enhance Hosting

In this guide, we will learn how to hide or suppress PHP errors and notices such as the common...

How to manage DNS – Enhance Hosting

How to add or edit DNS To add or edit DNS entries: Open Websites in the left sidebar Select...

Add a Staging Site & Push Live – Enhance Hosting

To add a staging website Open Websites in the left sidebar Click Add new Select either Start...

Importing a cPanel backup – Enhance Hosting

The cPanel importer allows you to migrate a cPanel account into your website. To import a...

How to manage FTP accounts – Enhance Hosting

To add an FTP accounts on a single website: On the website dashboard select the advanced...