Steps to install php 7.3 or higher versions on Amazon Linux 3
- Install many remi repos remi-php74, remi-php74, etc. (but keep them disabled)
sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm - Enable remi-php73 repo
sudo yum-config-manager –enable remi-php73 - sudo yum –disablerepo “*” –enablerepo “remi-php73” install php
(To avoid packages excluded due to repository priority protections)