Php/docs/gmp.installation
From Get docs
Installation
In order to have these functions available, PHP must be compiled with GMP support by using the --with-gmp option.
In order to have these functions available, PHP must be compiled with GMP support by using the --with-gmp option.