PHP Manual Function Reference Mathematical Extensions GMP Installing/Configuring Installation Requirements Runtime Configuration Installation In order to have these functions available, you must compile PHP with GMP support by using the --with-gmp option.