At first, this is not duplicate. I've already tried the next and any of them worked:
- Laravel 5.2 not reading env file
- Laravel 5.2 is not reading from .env on ubuntu
- Laravel env file is not loading
- Laravel 4 with forge, environment variables issue
I'm using Mac and Homestead on Virtual Box to virtualize Laravel 4.
What I did:
- Download the project from the repository
- composer install and composer dump-autoload within vm
- set up env file
- set up homestead.yaml and /etc/hosts
- vagrant halt / vagrant up --provision
This is the error: https://i.gyazo.com/77effc81c4b99b40d1b8b3c0b41d9f6d.png (I'm not allowed to add images blablabla...)
So I decided to remove and create env file again. I checked my version of php, environment and hostname and all of them are right...
If you need further information just let me know. Thanks for everyone in advance.
EDIT: Obviously I tried every solution suggested in the previous Stackoverflow questions posted.