Q
Q
qorp2016-04-18 12:03:40
Yii
qorp, 2016-04-18 12:03:40

How to implement yii2 into an existing project?

Hello dear forum users. There was a task to implement yii2 in a working project. How can I set up nginx and yii2 so that when going to site.ru/account, for example, a request goes to yii2?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey, 2016-04-18
@qorp

rewrite ^/account/yii2/index.php?r=acctount

M
Maxim Timofeev, 2016-04-18
@webinar

Can it cost the other way around, prepare the right yii and embed it in that is? Then there should be no problems with routing and will be easier in the future. The question is, what are you screwing it to and what will happen in the end?

Q
qorp, 2016-04-18
@qorp

Thanks buddy!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question