S
S
Sergey2016-10-17 18:41:46
Yii
Sergey, 2016-10-17 18:41:46

How to install yii2 basic in cPanel?

The fact is that the main domain leads to /public_html, and I need /public_html/web (i.e. the standard basic template), the host claims that it is impossible to do this for the main domain on cPanel, there are two solutions, as I see right now, transfer web folders to the root, or transferring the main domain to a subdomain. Are there any other less expensive solutions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Максим Тимофеев, 2016-10-17
@badbizarre

Ошибка в том, что вы весь framework запихнули в public_html, это не правильно по многим причинам.
Туда надо было только содержимое папки web положить, а остальное например в папку yii, которая будет лежать на одном уровне с public_html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question