Here is strap script that can be used to install and start Apache along with PHP. It will then download and unzip the AWS ELB examples.
yum -y install httpd php
yum -y install httpd php
chkconfig httpd on
/etc/init.d/httpd start
cd /var/www/html
wget
http://bootstrapping-assets.s3.amazonaws.com/examplefiles-elb.zip
unzip examplefiles-elb.zip