Login Try it Free


Last Updated: Sep 26, 2012 05:00PM MDT

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 


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


You'll need to create an environment variable to specify the platform. We recommend PLATFORM = PAGODABOX.

If you have any suggestions or corrections for this guide, please submit a ticket.

Contact Us