標(biāo)題: [求助] 網(wǎng)站提示Call to undefined function bcmul() [打印本頁] 作者: wuzhicheng 時(shí)間: 2015-10-15 21:29 標(biāo)題: 網(wǎng)站提示Call to undefined function bcmul()
網(wǎng)站提示Call to undefined function bcmul()
據(jù)說服務(wù)器缺少bc函數(shù)庫
請(qǐng)問在wdcp上怎么開啟呢作者: 2365688988 時(shí)間: 2015-10-15 22:09
使用yum install php-bcmath 命令試下
可能出現(xiàn)的問題
如果出現(xiàn)下面這種情況:
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就好了