In this article, we will discuss how to install ionCube Loader in cPanel server using cli.
A PHP extension called the ionCube Loader handles the reading and execution of encoded files at run time.
This article outlines the process of installing IonCube Loader PHP extension on dedicated server or cloud server, using SSH terminal.
1. Edit following config file:
# vi /var/cpanel/cpanel.config
Find the line that starts with phploader= , if there is no value after the equal sign then you can simply append ioncube to it (ex: phploader=ioncube). If there is another loader already in place you can add your new loader by adding a comma first and then adding your loader (ex: phploader=someloader,ioncube)
2. Now, execute the following command:
# /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings
3. Next, check the php.ini file using following command:
# /usr/local/cpanel/bin/checkphpini
4. Install ionCube
# /usr/local/cpanel/bin/install_php_inis
That’s it, ionCube Loader PHP extension is now active for use on your server.
In this article, we have seen how our support engineer install ionCube Loader in cPanel server using cli.
[Need assistance to fix this error or install tools? We’ll help you.]