Freshly Installed Yii2 2.0.12

I’ve installed Yii2 advanced at my localhost and after installing it and connecting to database I’ve already encountering an error:

But I didn’t do anything yet, at the line 5


$this->title = 'My Yii Application';

This is the first time I’ve installed an advanced app, been using the basic app for learning and I decided to move on and use the advanced app. Did I miss something else in the installation?

Nevermind, I got it now. I’ve read the documentation and I forgot to do the php init on the terminal.