How to Resolve IonCube Loader Issues on cPanel/WHM Version 120.0.12 with LiteSpeed
After upgrading to cPanel/WHM version 120.0.12, you might encounter issues with IonCube Loader, especially if you’re running a LiteSpeed server. Here’s a detailed guide to resolve these issues and get your Softaculous scripts working again.
Step-by-Step Guide
- Identify the Problem If you see errors indicating missing IonCube loader files for PHP 8.3, you’ll need to manually install the correct loader.
- Download IonCube Loaders First, download the IonCube loaders for your operating system:
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
- Extract the LoadersExtract the downloaded archive:
tar -xzvf ioncube_loaders_lin_x86-64.tar.gz
4. Copy the Loader to the Appropriate Directory Copy the necessary IonCube loader to the correct directory:
cp ioncube/ioncube_loader_lin_8.3.so /usr/local/cpanel/3rdparty/php/unversioned/ioncube/
5. Verify the Loader Installation
Ensure the loader file is in place:
ls /usr/local/cpanel/3rdparty/php/unversioned/ioncube/ioncube_loader_lin_8.3.so
6. Restart cPanel Services
Restart the cPanel service to apply changes:
/usr/local/cpanel/scripts/restartsrv_cpsrvd
7. Check for Errors
Verify if the error persists by checking the cPanel error log:
tail -f /usr/local/cpanel/logs/error_log
Additional Troubleshooting
If you continue to face issues, ensure the correct permissions are set for the loader file and verify the zend_extension
directive in the php.ini
file. If necessary, consult cPanel or IonCube support for more specific guidance.
Conclusion
By following these steps, you can resolve IonCube Loader issues on cPanel/WHM version 120.0.12 with LiteSpeed. This solution ensures your Softaculous scripts run smoothly, maintaining optimal performance for your web hosting services.
For more such guides and hosting tips, visit our blog.