A
A
Apostol632019-07-05 19:50:46
Yii
Apostol63, 2019-07-05 19:50:46

How to configure yii2 advanced during installation?

Hello everyone
Installed yii2 advanced on OpenServer via composer.
Further in the console I made php init.php and chose development
But all the same, when I go to the url, I get this 5d1f7fdb808e3732860326.png
Maybe someone came across and knows what to do?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Malias, 2019-07-05
@malias

When you transfer files to the server, you have (.htaccess) files in your files. If there is, then your server does not see it. It is necessary to change in the settings to see this file

V
Vitsliputsli, 2019-07-05
@Vitsliputsli

Set the web server to the correct directory for web, not the project root.

B
Boris Syomov, 2019-07-05
@kotomyava

You must have webroot in frontend/web and backend/web respectively, not in the root of the project. Openserver cannot do this automatically, but all this can be configured in openserver, in manual or manual + autosearch mode on the domain management tab.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question