No index.php


(Oligalma) #1

I’ve installed Yii 2 advanced with composer and, to my surprise, there’s no “index.php” file in frontend/web folder. However, there are “assets” and “css” folders, and favicon.ico.

What should I do?


(Marcelo de Andrade) #2

See the instalation guide in the Preparing application.

Inside your project folder, execute the command in terminal:


/path/to/php-bin/php /path/to/yii-application/init


(Oligalma) #3

It worked. Thanks!