How to Enable ionCube Loader in WHM

DateNov 2, 2024

if you have access to WHM (Web Host Manager) as a server administrator, you can enable ionCube Loader for accounts on your server. Here’s how you can do that:

Steps to Enable ionCube Loader in WHM

  1. Log in to WHM: Use your root or reseller credentials to access WHM.
  2. Navigate to PHP Extensions:
    • In the WHM search bar, type “EasyApache” or navigate to “Software” and select “EasyApache 4.”
  3. Customize PHP Profile:
    • Click on the “Customize” button next to the currently installed PHP version that your account is using.
  4. Select Extensions:
    • In the “PHP Extensions” section, search for “ionCube” in the search bar.
    • Find “ionCube Loader” in the list of extensions.
  5. Enable ionCube Loader:
    • Check the box next to “ionCube Loader” to enable it.
    • After making the selection, click on “Next” or “Review” to proceed through the steps.
  6. Provision the Changes:
    • Once you confirm the changes, WHM will rebuild the Apache and PHP configurations, enabling ionCube Loader for all accounts using that PHP version.
  7. Verify Installation:
    • You can verify that ionCube Loader is installed by creating a PHP file (e.g., info.php) in the web root directory of your account with the following content:
<?php
phpinfo();
?>
  1. Access this file via your web browser (e.g., http://yourdomain.com/info.php) and look for the ionCube section in the output to confirm it’s enabled.

Notes

  • Make sure to check which PHP version your account is using, as you’ll need to enable ionCube Loader for that specific version.
  • If you’re not a server administrator or don’t have WHM access, you’ll need to contact your hosting provider to enable ionCube Loader for you.

If “EasyApache 4” is not available in your WHM, your server might be using a different configuration setup, or you might have restricted access. However, you can still enable ionCube Loader via the Tweak Settings in WHM or through MultiPHP INI Editor if those options are available.

Here’s an alternative method:

Method 1: Enable ionCube Loader via Tweak Settings in WHM

  1. Log in to WHM.
  2. Search for Tweak Settings:
    • In the WHM search bar, type “Tweak Settings” and select it.
  3. Find ionCube Loader Setting:
    • In Tweak Settings, go to the PHP tab.
    • Look for an option that says “ionCube” or “Loader for ionCube”.
    • Set it to Enabled or On.
  4. Save Changes:
    • Scroll down and click Save to apply the changes.

Method 2: Enable ionCube Loader via MultiPHP INI Editor

  1. Log in to WHM.
  2. Search for MultiPHP INI Editor:
    • In the WHM search bar, type “MultiPHP INI Editor” and open it.
  3. Select the PHP Version:
    • In MultiPHP INI Editor, choose the PHP version you want to configure for the account in question.
  4. Edit the Configuration:
    • In the editor, find the line for ionCube or manually add the following line under the zend_extension section:ini
    • codezend_extension = /path/to/ioncube_loader_lin_X.Y.so
    • Replace /path/to/ with the path where ionCube is installed, and X.Y with your PHP version (e.g., 7.4).
zend_extension = /path/to/ioncube_loader_lin_X.Y.so
  1. Save Changes.

After these steps, ionCube Loader should be enabled for the selected PHP version on your server. You can verify by creating a phpinfo() page, as previously described, to check if ionCube Loader appears in the output.

If these options are not available or you’re on a managed hosting plan, you may need to contact your hosting provider for assistance with enabling ionCube Loader.

Leave a Reply

Join 756,146 Website Owners

All of your work in one place: Tasks, Docs, Chat, Goals, & more.