This article will walk you through cloud hosting for your PHP application with Pagoda Box. It’ll detail how to handle PHP dependencies, get your MySQL databases up and running (and debug locally), and customise various aspects of PHP with ease.
He walks you through the entire process you'll need to fire up a (free) application on their service (including a database!):
- Sign up for a new account
- Create an application
- Set up git
- Create your public SSH key and upload it to Pagoda
- Commit to your repository and deploy your code
He also mentions a custom option Pagoda Box has included in their series - the Boxfile. This configuration file allows you to set up things like the environment you want your app to run in (PHP 5.3, MySQLi extension, etc) and set up some of the php.ini configuration settings. He also shows you how to set up the database instance and how to use their "pagoda" gem to create a temporary SSH tunnel from your development environment to their database server. He also briefly mentions the option they have of using a real domain name to point to your application.