我一直试图在活动框上安装phpredis但是在尝试安装PHP-Devel时遇到了问题。运行以下命令时:
yum --enablerepo = remi install php-devel
我得到以下结果:
Loaded plugins: downloadonly, fastestmirror, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
* remi: mirrors.mediatemple.net
base | 3.7 kB 00:00
epel | 4.4 kB 00:00
extras | 3.4 kB 00:00
panopta | 951 B 00:00
remi | 2.9 kB 00:00
remi/primary_db | 1.1 MB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.4.38-1.el6.remi will be installed
--> Processing Dependency: php-cli(x86-64) = 5.4.38-1.el6.remi for package: php-devel-5.4.38-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-devel-5.4.38-1.el6.remi.x86_64 (remi)
Requires: php-cli(x86-64) = 5.4.38-1.el6.remi
Installed: php-cli-5.5.4-1.el6.remi.x86_64 (@remi-test)
php-cli(x86-64) = 5.5.4-1.el6.remi
Available: php-cli-5.3.3-38.el6.x86_64 (base)
php-cli(x86-64) = 5.3.3-38.el6
Available: php-cli-5.3.3-40.el6_6.x86_64 (updates)
php-cli(x86-64) = 5.3.3-40.el6_6
Available: php-cli-5.4.37-1.el6.remi.x86_64 (remi)
php-cli(x86-64) = 5.4.37-1.el6.remi
Available: php-cli-5.4.38-1.el6.remi.x86_64 (remi)
php-cli(x86-64) = 5.4.38-1.el6.remi
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我意识到版本已关闭所以我尝试了以下命令:
yum --enablerepo = remi,remi-php55安装php-devel
和
yum --enablerepo = remi,remi-php56安装php-devel
无济于事。由于我不是命令行专家,因此我很难破译这意味着什么以及如何纠正它。任何帮助将不胜感激。