我们在aws 选择yum安装php7的时候有时候会遇到没有可用软件包的情况,这时候我们选择用sudo amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2命令就ok了