Because Yii is a development framework, your Pagoda Box configuration will vary greatly depending on the requirements of your application. The following is the Boxfile and Database configuration for a simple blog running on Yii.
YAMLYii Boxfile Example
Database Connection Example
We suggest configuring your application to use different database settings depending on the environment it's running in. You'll be using some precreated environment variables if you use this method.
You'll need to create an environment variable to specify the platform. We recommend PLATFORM = PAGODABOX.