N
N
Nikita Filatov2015-08-05 13:41:11
Laravel
Nikita Filatov, 2015-08-05 13:41:11

How to find .env file in laravel framework?

Cannot find .env file which is listed as a file where DB can be configured. In this screenshot, my project, in which I can not see the .env file,
919882a8202e49688fb6ab316fcae801
but if I try to create it myself - netbeans tells me that such a file already exists.
e769c811074e41f2bb98d40f4cb5164f.png
UPD
this is how the folder looks from the
30174d43bc1e42109da8235a080d02c9.png
UPD2 console The solution to the problem is described on this site
http://dclg.net/2010/12/03/netbeans-pokazivat-fail...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
JhaoDa, 2015-08-05
@JhaoDa

Have you tried to view the contents of the directory with some file manager or through the console? .env is located at the root of the project. There should also be an .env.example, which is also not visible, hinting at NetBeans problems.

E
Evgeny Elchev, 2015-08-06
@rsi

Elementary Watson. The file is called .env. The dot at the beginning of the name means a hidden file for nix systems (it's strange that netbins does not display it, it seems like it should, but I don't know for sure). You display the contents of the folder using the ls command, but it also does not see hidden files, to view them you need to execute ls -A (or ls -a I don’t remember exactly, read the man)

V
Vyacheslav Plisko, 2015-08-05
@AmdY

Judging by the screenshot, you either have problems with file permissions, netbins does not display this file in the tree, although others with a dot are shown. Or a problem with the netbins cache, it is treated by rebooting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question