Yii2 after install not working

Hi all ,

      Currently im working with laravel framework . i installed laravel in /var/www/html folder . 

Nw i like to work with Yii2 . So , i downloaded the yii2 via composer in /var/www/html/ folder .

While im running the yii2 its displaying the error

[color="#8B0000"]"The requested URL /advanced/frontend/index.php was not found on this server. "[/color] .

Please anyone help me … :( :( :( :(

Try URL /advanced/frontend/web/index.php instead of /advanced/frontend/index.php

Your index file is located into web directory.

Thx for rply … Inside web folder no index file … :(

Then you might not initiate application. So you have to do that. To initiate yii2 advnaced please refer below link

how to install yii2 application

I hope it will help you to resolve your problem.

Did you run the init command to create the files?

Hi friends,

I have the same problem in installing Please how to fix it?

To install a new yii application you need run this commands:

composer global require “fxp/composer-asset-plugin:~1.0.3” (install a bandle of plugins to Yii works and install bower - It’s must be installed)

(Basic install) - composer create-project --prefer-dist yiisoft/yii2-app-basic your-app-name


(Advanced install) - composer create-project --prefer-dist yiisoft/yii2-app-advanced your-app-name

Initialize your app: php /path/to/yii-application/init

Follow the DOC: http://www.yiiframework.com/doc-2.0/guide-start-installation.html