我最近更新了 php,但现在我无法摆脱这个警告。也不能回滚版本。我正在运行 CentOS Linux 版本 7.7.1908(核心)。如何降级到较低版本?
# php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib64/php/modules/intl (/usr/lib64/php/modules/intl: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/intl.so (/usr/lib64/php/modules/intl.so: undefined symbol: __cxa_throw_bad_array_new_length)) in Unknown on line 0
PHP 7.4.0RC3 (cli) (built: Oct 1 2019 08:30:29) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies
国际模块已安装:
#yum list installed
php-intl.x86_64 7.4.0~RC3-5.el7.remi @remi-modular
如果我尝试降级,我会遇到很多错误,据我了解,有必要列出所有要降级的依赖项,例如 php-common、php-cli?
# yum downgrade php
Error: Package: php-7.3.12-1.el7.remi.x86_64 (remi-php73)
Need: php-common(x86-64) = 7.3.12-1.el7.remi
Installed: php-common-7.4.0~RC3-5.el7.remi.x86_64 (@remi-modular)
php-common(x86-64) = 7.4.0~RC3-5.el7.remi
Available: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
php-common(x86-64) = 5.4.16-46.1.el7_7
Available: php-common-5.4.45-17.el7.remi.x86_64 (remi)
php-common(x86-64) = 5.4.45-17.el7.remi
Available: php-common-5.4.45-18.el7.remi.x86_64 (remi)
php-common(x86-64) = 5.4.45-18.el7.remi
Available: php-common-5.5.38-11.el7.remi.x86_64 (remi-php55)
php-common(x86-64) = 5.5.38-11.el7.remi
Available: php-common-5.5.38-12.el7.remi.x86_64 (remi-php55)
php-common(x86-64) = 5.5.38-12.el7.remi
桃花长相依
qq_花开花谢_0