Answer the question
In order to leave comments, you need to log in
When I open a yii project on the server, what should I write in documentRoot?
Good afternoon.
I want to open my project on my server. In documentRoot should I write the path /var/www/html/site/web/index.php or /var/www/html/radar/web?
Answer the question
In order to leave comments, you need to log in
For me, only you know where you put it. But in the DocumentRoot they write the /web directory, where index.php is
DocumentRoot points to the site 's root directory . Everything above is not available to a direct request from outside.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question