I want to install the latest PHP 7.0 on an AWS EC2 T2.Micro Instance. So far I have read that currently AWS do not support PHP 7. But hey.. This is just a virtual server in
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
can follow this step-by-step guide for LAMP installation
sudo yum update -y
sudo yum install -y httpd24 php70 mysql56-server php70-mysqlnd
sudo service httpd start
By default, just few Yum Repo is enabled on RedHat EC2. To enable all, just type
yum-config-manager --enable rhui-REGION-rhel-*
and do a yum list now, you should be able to see this:
yum list |grep php7