B
B
BonBon Slick2017-12-02 13:54:56
symfony
BonBon Slick, 2017-12-02 13:54:56

Did Vagrant rewrite "dev" to "local"?

Vagrant + Homestead + Symfony 4.
The fact is that Vagrant + Homestead rewrites $enviroment from dev to local , as a result, you need to edit all configs and edit a bunch of files, since it only accepts 2 types of dev / prod .
Settings in .env or yaml configs don't help.
How to kill local on dev or prod?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2017-12-02
@BonBonSlick

It does not help?
https://symfony.com/doc/current/configuration/envi... Did you clear
the cache after that?
And here Fabien talks about environments in detail, he didn’t go into details yet:
fabien.potencier.org/symfony4-best-practices.html
Another question is, do you have a type specified in Homestead.yml symfonyor symfony4? Maybe help?
5a22aa2bdc33e616655227.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question