Most voted "env" questions
9 questions
Sort by count of
-
14
votes4
answers11575
viewsUse . env file in PHP project?
I realized that in the Laravel uses the file .env for some settings and in the code it a function env(), ask: Is there any way to use the file .env in my project php without using any framework? If…
-
2
votes1
answer309
viewsMultiple Nvironment Portable
How do I create multiple Nvironment and mute at runtime the Nvironment I’m using in Laravel 5.5?
-
1
votes1
answer657
viewsproblem when changing PHP environment variable
I installed php via xampp and need to change this variable: NSL_LANG. I created a php file with this code: <?php putenv("NLS_LANG=BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252") or die("Falha ao…
-
1
votes3
answers354
viewsHow to hide sensitive information in Django?
In my Django project I have some sensitive variables, which I need to 'hide'. In general, save them in a file . env and read them with DADO_SENSIVEL = os.environ.get("DADO_SENSIVEL", default="")..…
-
1
votes1
answer3465
viewsWorking with environment variables in Reactjs
Hello! I’m starting now with Reacjs. Usually in Nodejs I create a folder environments and put the index.ts or index.example.ts, with values there DB=nome_banco HOST=localhost USER=username When I…
-
0
votes1
answer193
viewsDisplay file data . env in Blade
I would like to read some data from the archive .env on the page .blade.php, but some do not work, for example, I am using the following way: apkey: {{env('PUSHER_APP_KEY')}} #ler chave…
-
0
votes0
answers64
viewsMultiple . env Portable 5
I have a domain on the server where I uploaded an application in Laravel. I created a subdommunication and I went up the same application for this domain, but Ubdomain is looking for the same…
-
0
votes0
answers9
viewsExcution permission for ```Tsc -v``` in Powershell
I’d like to execute the command tsc in Powershell, however, when I run the command it returns powershel permissions error, however, instead of the permission to run using the Set-ExecutionPolicy and…
-
0
votes0
answers23
viewsAccess denied to bank with file . env
Hi, I created a file. env to store my connection variables, when I take the values of these variables on a page without connection appears all the values but when I try to access the database,…