ubuntu php怎么安装bcmath
2022-12-02 09:01:16
110
{{single.collect_count}}

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

php入门到就业线上直播课:进入学习
Apipost = Postman + Swagger + Mock + Jmeter 超好用的API调试工具:点击使用

本文操作环境: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的详细内容,更多请关注php中文网其它相关文章!

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}