Answer the question
In order to leave comments, you need to log in
How to setup Yii2 root directory in Open Server?
Installed Yii2 in a folder on Open Server. It is currently located in the "domains/yii/" folder. Opened by the link " yii/basic/web/index.php ".
Question: how to properly install Yii2 and configure the server so that only the "web/" folder is accessible and displays the correct links like: " yii " instead of " yii/basic/web/index.php "?
Answer the question
In order to leave comments, you need to log in
guide.yii2.org-info.by/guide-en-tutorial-shared-ho...
It is also not clear in this documentation how to install Yii2 on a regular hosting. Tell me please.
I have it implemented like this. In the Openservera setting, you can set the path to the Document Root
1. Restart Open Server, it automatically picks up "popular" root folders.
2. Settings -> Domains. There you can set
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question