ec2 /var/www/html make code example Example: how to configure httpd in amazon ec2 instance [ec2-user ~]$ sudo yum install -y httpd24 php56 php56-mysqlnd