Answer the question
In order to leave comments, you need to log in
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,
but if I try to create it myself - netbeans tells me that such a file already exists.
UPD
this is how the folder looks from the
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
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.
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)
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 questionAsk a Question
731 491 924 answers to any question