我正在尝试升级到较新的PHP
版本,因为我无法安装php-devel(我尝试的最后一件事是https://serverfault.com/questions/415141/trouble-installing-php-devel-on-centos-6)
我正在运行Red Hat的aws版本,但问题是当我运行它时:
yum update php54w php54w-opcache --skip-broken
我得到以下用法:
Packages skipped because of dependency problems:
php-5.4.36-1.el6.remi.x86_64 from remi
php-cli-5.4.36-1.el6.remi.x86_64 from remi
php-common-5.4.36-1.el6.remi.x86_64 from remi
php-gd-5.4.36-1.el6.remi.x86_64 from remi
php-mysql-5.4.36-1.el6.remi.x86_64 from remi
php-pdo-5.4.36-1.el6.remi.x86_64 from remi
php-process-5.4.36-1.el6.remi.x86_64 from remi
php-xml-5.4.36-1.el6.remi.x86_64 from remi
我正在运行PHP 5.4.16
当我跑步时:
yum --enablerepo=remi-php56,remi update php\* --skip-broken
我明白了:
Packages skipped because of dependency problems:
php-5.6.4-2.el6.remi.x86_64 from remi-php56
php-cli-5.6.4-2.el6.remi.x86_64 from remi-php56
php-common-5.6.4-2.el6.remi.x86_64 from remi-php56
php-gd-5.6.4-2.el6.remi.x86_64 from remi-php56
php-mysqlnd-5.6.4-2.el6.remi.x86_64 from remi-php56
php-pdo-5.6.4-2.el6.remi.x86_64 from remi-php56
php-pecl-jsonc-1.3.6-1.el6.remi.5.6.1.x86_64 from remi-php56
php-pecl-zip-1.12.4-2.el6.remi.5.6.x86_64 from remi-php56
php-process-5.6.4-2.el6.remi.x86_64 from remi-php56
php-xml-5.6.4-2.el6.remi.x86_64 from remi-php56
我无法弄清楚为什么我无法升级到新版本。