Directions on how to launch this sample app on AWS OpsWorks can be found in the article: Walkthrough: Deploying a PHP application that leverages the AWS PHP SDK, Amazon S3, and custom metadata.
aws-samples/opsworks-demo-php-photo-share-app
A sample PHP application for running on AWS OpsWorks
PHPApache-2.0