在 CentOS 6 上,我正在尝试按照https://www.mysterydata.com/how-to-install-upgrade-to-php-7-4-on-上的说明将我的 PHP 从 5.3 更新到 7.x rhel-centos-vestacp/。
当我做最后一步时:
yum install php php-opcache php-gd php-curl php-mysqlnd
我得到错误:
Error: Package: php-pecl-ncurses-1.0.1-1.el6.x86_64 (@epel)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.34-1.el6.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.33-1.el6.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: php-pecl-ncurses-1.0.1-1.el6.x86_64 (@epel)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.34-1.el6.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.33-1.el6.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
有没有办法解决这个问题?