我正在设置一个新实例并尝试在其上安装 php-imap,但没有成功。
我在用:sudo yum install php-imap
并获得以下输出:
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00
任何人都能够使用 PHP 版本 7.2.13 在 Amazon Linux(免费层)上安装它吗?
amzn-updates | 2.5 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.29-1.8.amzn1 for package: php-imap-5.3.29-1.8.amzn1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Conflict: php72-common-7.2.13-1.7.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Finished Dependency Resolution
Error: php72-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest