Chinaunix首页 | 论坛 | 博客
  • 博客访问: 424392
  • 博文数量: 78
  • 博客积分: 1563
  • 博客等级: 上尉
  • 技术积分: 910
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-25 09:58
个人简介

爬虫

文章分类

全部博文(78)

文章存档

2020年(1)

2016年(1)

2015年(9)

2014年(1)

2013年(8)

2012年(6)

2011年(3)

2010年(4)

2008年(8)

2007年(13)

2006年(24)

我的朋友

分类: LINUX

2015-05-26 11:22:16

found out problem comes from the new PHP version (5.4, 5.4), which installed in a separate repo. 
So, we just need to install php-bcmath in the main repo (version 5.3) using command:

yum install php-bcmath --enablerepo=remi 

With "remi" is the main repo, you can see it by go to /etc/yum.repos.d then using ll

You can try (for Centos 6.4)

rpm -Uvh 
yum install php54w
yum install yum-plugin-replace
yum replace php-common --replace-with=php54w-common
yum install php54w-bcmath

(source: )

But it may cause another problem about versions.

The simple way is uninstall php 5.4 (or 5.5),
install php 5.3, install php-bcmatch then update to php5.4 (or newer)

阅读(1874) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~