1

[root@vps-1160435-21941 ~]# yum install php-mcrypt* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.greenmountainaccess.net * epel: mirror.clarkson.edu * extras: mirror.millry.co * updates: mirrors.rit.edu Setting up Install Process Examining php-mcrypt-5.4.23-1.el6.remi.x86_64.rpm: php-mcrypt-5.4.23-1.el6.remi.x86_64 Marking php-mcrypt-5.4.23-1.el6.remi.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package php-mcrypt.x86_64 0:5.4.23-1.el6.remi will be installed --> Processing Dependency: php-common(x86-64) = 5.4.23-1.el6.remi for package: php-mcrypt-5.4.23-1.el6.remi.x86_64 --> Finished Dependency Resolution Error: Package: php-mcrypt-5.4.23-1.el6.remi.x86_64 (/php-mcrypt-5.4.23-1.el6.remi.x86_64) Requires: php-common(x86-64) = 5.4.23-1.el6.remi Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi) php-common(x86-64) = 5.4.33-2.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.3.3-27.el6_5.x86_64 (updates) php-common(x86-64) = 5.3.3-27.el6_5 Available: php-common-5.3.3-27.el6_5.1.x86_64 (updates) php-common(x86-64) = 5.3.3-27.el6_5.1 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

4

1 回答 1

0

似乎您没有将正确的存储库导入 yum,它正在从内置列表(在 centos 6 中包含 PHP 5.3.3)中获取信息。

尝试遵循本指南: https ://webtatic.com/packages/php54/

或者这个最新的 PHP 5.5 https://webtatic.com/packages/php55/

于 2014-09-21T19:28:28.677 回答