📜  缺少 BC 数学或 GMP 扩展. - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:03.700000             🧑  作者: Mango

代码示例1
To install GMP for PHP7.0 on Ubuntu, 
run: sudo apt-get install php-gmp

Restart apache : sudo service apache2 restart

Make sure your php.ini contains the following: extension=php_gmp.so

To find out where your php.ini is located, run: php --ini