How to install GMP Math on cPanel EasyApache 4

EasyApache 4

If you are running EasyApache 4 on your cPanel server, then the installation is simple. Execute the following commands to enable GMP Math on different PHP versions which is 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

Was this answer helpful? 7 Users Found This Useful (9 Votes)