PHP - Manual: 安装
2025-02-27
In order to have these functions available, PHP must be compiled with GMP support by using the --with-gmp option.
官方地址:https://www.php.net/manual/en/gmp.installation.php