安装phpmyadmin时出现问题


Issue installing phpmyadmin

当尝试使用yum-install phpmyadmin安装phpmyadmin时,我收到一个错误,内容为:

Error: Package: php-mcrypt-5.4.22-1.el6.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.4.22-1.el6.remi
Installed: php-common-5.3.3-26.el6.x86_64 (@base)
php-common(x86-64) = 5.3.3-26.el6

由于phpmyadmin在几个小时前运行得很好,我不确定自己做错了什么。

编辑:更新我的php到5.4.22得到我这个错误:

Error: php54w-common conflicts with php-common-5.3.3-26.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

您需要升级php-common包。以下是您案例中所需php-common软件包的下载链接。

http://rpms.famillecollet.com/enterprise/6/remi/x86_64/php-5.4.22-1.el6.remi.x86_64.rpm

php-mcrypt库的版本高于您安装的php版本。升级您的php-