wp statistics 插件ip地址不显示国家

GeoIP设置 提示 php-bcmath没有启用

直接安装yum install php-bcmath 安装,报错 看提示是要装5.3的版本。

找了半天源也刷不出5.4的来。

只有装5.6了

卸载 当前版本 php

yum remove php-common       # Need to remove this, otherwise it conflicts

装5.6

yum install php56w
yum install php56w-mysql
yum install php56w-common
yum install php56w-pdo
yum install php56w-opcache
php --version               # Verify version has been upgraded

yum install php56w-bcmath

sudo service httpd restart

如果有问题的恢复方法

sudo yum remove php56w
sudo yum remove php56w-common
sudo yum install php-common
sudo yum install php-mysql
sudo yum install php

参考链接:http://stackoverflow.com/questions/21502656/upgrading-php-on-centos-6-5-final

© 2016, 新之助meow. 原创文章转载请注明: 转载自http://www.xinmeow.com

0.00 avg. rating (0% score) - 0 votes
点赞