A
A
ADA M2015-05-23 12:22:07
Yii
ADA M, 2015-05-23 12:22:07

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

3 answer(s)
A
ADA M, 2015-05-23
@adiletmurzaliev

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.

K
Kirill Arutyunov, 2015-05-23
@arutyunov

I have it implemented like this. In the Openservera setting, you can set the path to the Document Root
Rb9rH70.png

A
Andrey Andreev, 2015-05-23
@b0nn1e

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 question

Ask a Question

731 491 924 answers to any question