Most of the times we forgot to add some php modules/extensions and which we required to fulfill the requirement of the website, so you can install the particular missing modules with the help of below steps instead of performing the complete Easy Apache on the cpanel server :
1. Login into the cpanel server as root through SSH client
2. Enter into the exact extension module directory which you want to install with the below command…where php-5.2.9 should be your exact php version of the server:
cd /home/cpeasyapache/src/php-5.2.9/ext/XXXXX — >>> extension which you want to install
6. make install
7. After that you can see extension dir path. ll extension dir path.
8. vi /usr/local/lib/php.ini
10. Then restart apache