GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.

EasyApache 4

If you are running EasyApache 4 on your cPanel server, then the installation is quite simple. Execute the following commands to enable GMP Math on different PHP versions which are available on EasyApache 4.

PHP 5.4

 
yum install ea-php54-php-gmp

PHP 5.5

 
yum install ea-php55-php-gmp

PHP 5.6

 
yum install ea-php56-php-gmp

PHP 7.0

 
yum install ea-php70-php-gmp

PHP 7.1

 
yum install ea-php71-php-gmp

That’s it!

 
Was this answer helpful? 0 Users Found This Useful (1 Votes)