ubuntu php怎么安装bcmath

ubuntu php怎么安装bcmath,第1张

ubuntu php怎么安装bcmath

ubuntu php安装bcmath的方法:1、执行“sudo apt-get install php-bcmath”命令;2、找到php的配置文件;3、加入“extension=bcmath.so”代码即可。

本文 *** 作环境:ubuntu 16.04系统、PHP7.0、Dell G3。

ubuntu php怎么安装bcmath?

Ubuntu PHP安装bcmath模块

1.sudo apt-get install php-bcmath ,安装之后:

2.运行:php -i | grep "php.ini",找到php的配置文件:

加入代码: extension=bcmath.so

3.运行php -m,如果出现:

说明,多次加载了bcmath模块,第二个步骤不用了。

推荐学习:《PHP视频教程》

以上就是ubuntu php怎么安装bcmath的详细内容,

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/683928.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-20
下一篇 2022-04-20

发表评论

登录后才能评论

评论列表(0条)

保存