<?phpreturnarray('name'=>'My Web Application','components'=>array(// uncomment the following to use a MySQL database/* 'db' => array( 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=testdrive', 'username' => 'root', 'password' => '', ), */),);