The ionCube Loader is a PHP extension which used to handles the reading and execution of encoded files at runtime. Cpanel does support in build script to install it very easily.
1. IonCube when installed via EasyApache or the PHP Extension Manager (/scripts/phpextensionmgr) installs IonCube for use by PHP Applications served by Apache.
You can easily install it via ssh using following scripts
Step 1 : # /scripts/phpextensionmgr install IonCubeLoader

2. IonCube when installed via the Tweak Settings option configures the Internal PHP environment to use IonCube.

WHM > Tweak Settings > PHP > Loader

