Installing ionCube as a PHP Extension
Step 1: Login to WHM
Step 2: Search for “Apache” and select “EasyApache 4” as shown below
Step 3: Select “Customize” as shown below
Step 4: Then you will need to select “PHP Extensions” in the left-hand column as shown below
Step 5: Complete the search for ionCube as shown below and select the version you wish to install.
Step 6: Once selected you will need to click "Next" and then finally "Provision" after confirming the settings as shown below