Board logo

标题: [求助] 网站提示Call to undefined function bcmul() [打印本页]

作者: 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

回复 2# 2365688988


    好的,谢了




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2