加入收藏 | 设为首页 | 会员中心 | 我要投稿 北几岛 (https://www.beijidao.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

如何在PHP7和Ubuntu上安装GMP

发布时间:2021-08-28 05:09:05 所属栏目:大数据 来源: https://www.jb51.cc
导读:尝试在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 PH

尝试在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

(编辑:北几岛)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读