This is the installation process of GMP Math library, please follow the given guide lines.

GMP Math library Installation Method

wget http://ftp.sunet.se/pub/gnu/gmp/gmp-4.2.2.tar.bz2
tar -xjvf gmp-4.2.2.tar.bz2
cd gmp-4.2.2
./configure
make
make check
make install

vi /var/cpanel/easy/apache/rawopts/all_php5

add

–with-gmp

to this file and recompile php with default settings

/scripts/easyapache

save and compile.

Need any more help please submit the ticket, on given link.
https://pakish.pk/portal/submitticket.php