So aktivieren Sie BCMath CentOS 6
Wie würde ich mich über die Installation/Aktivierung von PHP bcmath-Modul auf CentOS 6?
I 've tried" yum install php-bcmath' und bekam diese Fehlermeldung:
Error: Package: php-mysql-5.3.3-26.el6.x86_64 (base)
Requires: php-common(x86-64) = 5.3.3-26.el6
Removing: php-common-5.3.3-23.el6_4.x86_64 (@updates)
php-common(x86-64) = 5.3.3-23.el6_4
Updated By: php-common-5.5.6-1.el6.remi.x86_64 (remi-php55)
php-common(x86-64) = 5.5.6-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.5.5-2.el6.remi.x86_64 (remi-php55)
php-common(x86-64) = 5.5.5-2.el6.remi
Error: Package: php-gd-5.5.6-1.el6.remi.x86_64 (remi-php55)
Requires: libgd.so.3()(64bit)
Sieht es aus wie es einige Abhängigkeiten mir fehlen noch bin ich nicht zu clued-up auf, wie man über die Installation dieser. Hat jemand einen Tipp? Vielen Dank im Voraus.
Du musst angemeldet sein, um einen Kommentar abzugeben.
AUA. Sieht aus wie Sie haben den Duell-repos gibt. Das problem ist, dass du hast 5.3 und 5.5 Pakete (sieht aus wie remi 5.5 repo). 5.3 ist installiert (
Removing: php-common-5.3.3-23
), aber das repo wohl nichtphp-bcmath
so yum ging an remi und fand es dort, aber das Paket sagt, es braucht 5.5 installiert, so dass yum geklebt wird versucht, aus 5.3 und 5.5 installieren statt, aber die 5.5 hat noch einige andere Abhängigkeiten nicht zufrieden.So, ein paar Optionen
/etc/yum.repos.d/remi.repo
- und set -enabled=0
auf der 5,5-repo). Wenn du nicht gehst, zu 5.5 brauchst du es nicht aktiviert sowieso.