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.
Boxfile Example
YAMLYii Boxfile Example
/Boxfile
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.
PHPDatabase Settings
/demos/blog/protected/config/main.php
You'll need to create an environment variable to specify the platform. We recommend PLATFORM = PAGODABOX.