无法安装php-mysql模块

第一次使用PHP 5.5,以及我得到很多头痛。

我不能安装php-mysql ,我得到以下错误:

 Error: Package: php-mysql-5.4.30-1.el6.remi.x86_64 (remi) Requires: php-pdo(x86-64) = 5.4.30-1.el6.remi Installed: php-pdo-5.5.14-2.el6.remi.x86_64 (@remi-php55) php-pdo(x86-64) = 5.5.14-2.el6.remi Available: php-pdo-5.3.3-26.el6.x86_64 (base) php-pdo(x86-64) = 5.3.3-26.el6 Available: php-pdo-5.3.3-27.el6_5.x86_64 (updates) php-pdo(x86-64) = 5.3.3-27.el6_5 Available: php-pdo-5.4.29-3.el6.remi.x86_64 (remi) php-pdo(x86-64) = 5.4.29-3.el6.remi Available: php-pdo-5.4.30-1.el6.remi.x86_64 (remi) php-pdo(x86-64) = 5.4.30-1.el6.remi You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 

我该怎么办?

您忘了启用您想从中获取软件包remi-php55存储库。

您应该通过编辑repoconfiguration文件/etc/yum.repos.d/remi.repo并确保启用remi-php55remi-php55 repos来使其持久化。