+-
如何在PHP7和Ubuntu上安装GMP
尝试在SimpleSAML项目上运行composer update时出现以下错误.

- openid/php-openid dev-master requires ext-gmp * -> the requested PHP extension gmp is missing from your system.

运行sudo apt-get install php5-gmp没有用,也没有sudo apt-get install php7-gmp

最佳答案
在Ubuntu上的PHP7上安装GMP:

运行:sudo apt-get install php7.0-gmp

并将以下内容添加到php.ini:

延长= php_gmp.so

点击查看更多相关文章

转载注明原文:如何在PHP7和Ubuntu上安装GMP - 乐贴网