Answer the question
In order to leave comments, you need to log in
How to run yii2 project on localhost?
Greetings. I received an archive with a project on yii2, the structure of the archive is below in the screenshot. Tell me how to run this project and see the site on your localhost, MAMP is worth it. From manuals on yii2 did not find the distinct answer.
Answer the question
In order to leave comments, you need to log in
Go through the contents of common / config / configure everything there, for example, access to the database. Then follow the mistakes. which must first be included in php.ini
Entry points:
frontend/web/index.php
backend/web/index.php
, respectively, the domain should look there
But in general, everything is here:
www.yiiframework.com/doc-2.0/guide- index.html
There is another question, is the docker working there and what is in the mediaten folder.
But why do you need an archive with a yii2 project? If there are problems with the launch, then most likely there will be even more of them later. Maybe you should start not with this project, but create a new one, play around, and then move on to this one?
So there is a docker.
And that's it. If everything is set up properly, then the entire stack should come up, including the operating system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question