Answer the question
In order to leave comments, you need to log in
How to access the web?
I cloned the repository, did composer install, composer update, it seemed to do it right, but when I run the project (without specifying the web root folder) - the system does not see it (although it exists):
I did sudo chmod -R 777 /path/to/web
it, but nothing has changed - the folder is still not shown!
When I make it the root of the project in the server configs, it throws an error "Internal server error" !
How to configure correctly so that the web is displayed?
OS - ubuntu 16.04
template - yii2 basic
Answer the question
In order to leave comments, you need to log in
And why do you need to display the web? Are you sure you want the site to open? Write in the server settings the path to the web and index file.
Good evening.
Do you have a README.md file, have you read its contents?
And what did you install that is not very similar in structure to yii2-basic?
Apparently there are no files index.php
and .htaccess
.
The first one is generated via php init -> Dev | Prod
The second is written with pens.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question