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
- Log in to WHM: Use your root or reseller credentials to access WHM.
- Navigate to PHP Extensions:
- In the WHM search bar, type “EasyApache” or navigate to “Software” and select “EasyApache 4.”
- Customize PHP Profile:
- Click on the “Customize” button next to the currently installed PHP version that your account is using.
- Select Extensions:
- In the “PHP Extensions” section, search for “ionCube” in the search bar.
- Find “ionCube Loader” in the list of extensions.
- 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.
- 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.
- 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:
- You can verify that ionCube Loader is installed by creating a PHP file (e.g.,
<?php
phpinfo();
?>
- 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
- Log in to WHM.
- Search for Tweak Settings:
- In the WHM search bar, type “Tweak Settings” and select it.
- 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.
- Save Changes:
- Scroll down and click Save to apply the changes.
Method 2: Enable ionCube Loader via MultiPHP INI Editor
- Log in to WHM.
- Search for MultiPHP INI Editor:
- In the WHM search bar, type “MultiPHP INI Editor” and open it.
- Select the PHP Version:
- In MultiPHP INI Editor, choose the PHP version you want to configure for the account in question.
- Edit the Configuration:
- In the editor, find the line for ionCube or manually add the following line under the
zend_extension
section:ini - code
zend_extension = /path/to/ioncube_loader_lin_X.Y.so
- Replace
/path/to/
with the path where ionCube is installed, andX.Y
with your PHP version (e.g.,7.4
).
- In the editor, find the line for ionCube or manually add the following line under the
zend_extension = /path/to/ioncube_loader_lin_X.Y.so
- 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