我在 vagrant 中尝试了“sudo yum --enablerepo=remi-php73 install php-pdo php-mysql”,结果显示
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
error: package: php-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: httpd-mmn = 20120211x8664
install: httpd-2.2.15-69.el6.centos.x86_64 (@base)
httpd-mmn = 20051115
error: package: php-mysqlnd-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libc.so.6(GLIBC_2.15)(64bit)
error: package: php-cli-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
error: package: php-cli-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libc.so.6(GLIBC_2.15)(64bit)
error: package: php-json-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libc.so.6(GLIBC_2.14)(64bit)
error: package: php-common-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libc.so.6(GLIBC_2.15)(64bit)
error: package: php-pdo-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libc.so.6(GLIBC_2.14)(64bit)
error: package: php-7.3.17-1.el7.remi.x86_64 (remi-php73)
Requires: libc.so.6(GLIBC_2.15)(64bit)
You couldn't try using--skip-broken to work around the problem
You could try runnning: rpm -Va --nofiles --nodigest
PHP 7.3.17 CentOS 版本 6.10(最终版本)
我不知道我该怎么做。请给我建议....
答案1
error: package: php-7.3.17-1.el7.remi.x86_64 (remi-php73)
install: httpd-2.2.15-69.el6.centos.x86_64 (@base)
您正在尝试安装CentOS 7包裹CentOS 6分配。
当然,这是行不通的。
请仔细遵循巫师指示。