Multiple . env Portable 5

Asked

Viewed 64 times

0

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 information. env, which is at the root of the project (main domain). I would like to be able to set the information to another file . env to the domain, so that the applications are distinct from each other. inserir a descrição da imagem aqui

  • You pointed out everything in the same folder?

  • The same application q went up in the main domain, I went up in the Domain, but I want the Domain application to take different database information

  • I’m asking if you’re in the same folder? if it’s a different folder, just change the values .env!

  • Take a look at the image there, brother. The subdomain application is in another folder, but it accesses the . env q is in the root folder (main domain)

  • Then it is set wrong. Must be independent applications !!! really with this will share the same information ...

  • Yes, I seek to know how to do for two Laravel applications in the same domain, but in different folders access the . env different

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.