WDlinux官方论坛's Archiver

wuzhicheng 发表于 2015-10-15 21:29

网站提示Call to undefined function bcmul()

网站提示Call to undefined function bcmul()
据说服务器缺少bc函数库
请问在wdcp上怎么开启呢

2365688988 发表于 2015-10-15 22:09

使用yum install php-bcmath 命令试下

可能出现的问题
如果出现下面这种情况:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile  * base: mirrors.yun-idc.com  * extras: mirrors.yun-idc.com  * rpmforge: ftp.riken.jp  * updates: mirrors.yun-idc.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-bcmath.x86_64 0:5.1.6-40.el5_9 set to be updated --> Processing Dependency: php-common = 5.1.6-40.el5_9 for package: php-bcmath --> Running transaction check ---> Package php-common.x86_64 0:5.1.6-40.el5_9 set to be updated --> Processing Conflict: php53-common conflicts php-common --> Finished Dependency Resolution php53-common-5.3.3-13.el5_9.1.x86_64 from installed has depsolving problems   --> php53-common conflicts with php-common Error: php53-common conflicts with php-common  You could try using --skip-broken to work around the problem  You could try running: package-cleanup --problems                         package-cleanup --dupes                         rpm -Va --nofiles --nodigest
就需要使用yum update 之后再yum install php53-bcmath就好了

一定要备份数据的

wuzhicheng 发表于 2015-10-17 00:55

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=72284&ptid=40459]2#[/url] [i]2365688988[/i] [/b]


    好的,谢了

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.