Answer the question
In order to leave comments, you need to log in
Yii2 no welcome page after installation?
Installed with Composer. If you enter this path: localhost/basic/web/index.php
Empty window with text:
404 Not Found
nginx
Warning: require(C:\OpenServer\domains\basic\web/../vendor/autoload.php): failed to open stream: No such file or directory in C:\OpenServer\domains\basic\web\index.php on line 7
Fatal error: require(): Failed opening required 'C:\OpenServer\domains\basic\web/../vendor/autoload.php' (include_path='.;c:/openserver/modules/php/PHP-5.6-x64;c:/openserver/modules/php/PHP-5.6-x64/PEAR/pear') in C:\OpenServer\domains\basic\web\index.php on line 7
Answer the question
In order to leave comments, you need to log in
but they did init, it seems that they didn’t.
I wanted to poke my nose into the docks, but apparently they made something up there and really now it’s not there, but it was.
In short, in the console
in your case apparently
cd domains\basic
php init
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question