Downloaded the latest IonCube v10.3.9, and followed the instruction to install it. The installation was very simple as follows:
1. Copy the ioncube_loader_lin_7.2.so to the /usr/lib64/php/modules folder.
2. Copy 00-ioncube.ini file in the /etc/php.d folder. The content of the INI file is loading the following:
zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_7.2.so
You may also copy the above line in the /etc/php.ini file instead of copying 00-ioncube.ini file.
3. Restart apache (systemctl httpd restart)