douzai8285 2015-04-08 01:37
浏览 50

CentOS 6.5 - PHP 5.6.7和bcmath

I am trying to install php-bcmath on CentOS 6.5 and my current PHP Version is 5.6.7. The reason why I'm trying to install this is because I have a plugin for my forum which I am using that throws off errors due to my server using the most recent PHP version. The error it's throwing is listed below:

Flags/Listener/Includes/Reader/Decoder.php on line 258, referer: http://IP Address/admin.php

[Tue Apr 07 03:42:15 2015] [error] [client IP Address] PHP Fatal error: Call to undefined function Countryflags\Db\Reader\bcadd() in /var/www/html/library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php on line 258, referer: http://IP Address/admin.php

[Tue Apr 07 03:45:50 2015] [error] [client IP Address] PHP Fatal error: Call to undefined function Countryflags\Db\Reader\bcadd() in /var/www/html/library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php on line 258

[Tue Apr 07 03:45:56 2015] [error] [client IP Address] PHP Fatal error: Call to undefined function Countryflags\Db\Reader\bcadd() in /var/www/html/library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php on line 258

So when I try installing php-bcmath on my server via yum install, I get:

[root@forums logs]# yum install php-bcmath Loaded plugins:
fastestmirror, replace Loading mirror speeds from cached hostfile
* base: mirror-centos.hostingswift.com
* extras: mirror.oss.ou.edu
* updates: mirror.team-cymru.org
* webtatic: us-east.repo.webtatic.com Setting up Install Process Resolving Dependencies
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-bcmath-5.3.3-40.el6_6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Conflict: php56w-common-5.6.7-1.w6.x86_64 conflicts php-common 5.5.0
--> Finished Dependency Resolution Error: php56w-common conflicts with php-common-5.3.3-40.el6_6.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles
--nodigest [root@forums logs]#

Are there any ways to get the installation working properly?

Thanks!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
    • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
    • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
    • ¥15 如何在炒股软件中,爬到我想看的日k线
    • ¥15 seatunnel 怎么配置Elasticsearch
    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序