Tôi cố gắng để cài đặt yii2
trên dụ Amazon Linux AMI của tôi, nó đòi hỏi sự mở rộng php-mbstring
để làm việc.phụ thuộc vấn đề cố gắng cài đặt php-mbstring trên EC2
Khi tôi cố gắng chạy sudo yum install php-mbstring
nó trở lại lỗi này:
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
2494 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.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-mbstring-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: php56-common-5.6.9-1.112.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Finished Dependency Resolution
Error: php56-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
Cảm ơn thời gian của bạn trước
5,5 và 5,3? ... Và 5,6? Bạn có thể không tìm thấy các gói với các phiên bản phù hợp không? – ficuscr
Trên Amazon Linux, các phiên bản PHP từ 5.4 trở lên được thiết lập để chạy cạnh nhau. Sử dụng các lựa chọn thay thế để đặt phiên bản hoạt động. – datasage