從solution,我用雷米回購協議yum update php*
到5.4版本
卻得到:
` - >成品依賴解析如何在centos 6中更新php 5.3到5.4而沒有錯誤?
Error: Package: php-pecl-jsonc-1.3.10-1.el6.remi.5.4.x86_64 (remi)
Requires: php(zend-abi) = 20100525-x86-64
Removing: php-common-5.3.3-48.el6_8.x86_64 (@updates)
php(zend-abi) = 20090626
Updated By: php-common-5.6.30-2.el6.remi.x86_64 (remi-test)
php(zend-abi) = 20131226-64
Available: php-common-5.3.3-47.el6.x86_64 (base)
php(zend-abi) = 20090626
Available: php-common-5.4.45-13.el6.remi.x86_64 (remi)
php(zend-abi) = 20100525-x86-64
Available: php-common-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test)
php(zend-abi) = 20131226-64
Error: Package: php-mysql-5.4.45-13.el6.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-13.el6.remi
Removing: php-pdo-5.3.3-48.el6_8.x86_64 (@updates)
php-pdo(x86-64) = 5.3.3-48.el6_8
Updated By: php-pdo-5.6.30-2.el6.remi.x86_64 (remi-test)
php-pdo(x86-64) = 5.6.30-2.el6.remi
Available: php-pdo-5.3.3-47.el6.x86_64 (base)
php-pdo(x86-64) = 5.3.3-47.el6
Available: php-pdo-5.4.45-13.el6.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-13.el6.remi
Available: php-pdo-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test)
php-pdo(x86-64) = 5.6.30-0.1.RC1.el6.remi
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
`
我不知道有什麼問題,謝謝你的幫助!
您百勝回購有不同的PHP版本:像這樣:可用:php-pdo-5.4.45-13.el6.remi.x86_64(remi) php-pdo(x86-64)= 5.4.45-13.el6.remi 可用:php -pdo-5.6.30-0.1.RC1.el6.remi.x86_64(remi-test) php-pdo(x86-64)= 5.6.30-0.1.RC1.el6.remi – GeekHades