I'm referring to your .env file in root folder.
I'm not sure where the .env file is. I'm working with Laravel in netbeans, and can't find it in my server.
It should be in the root directory of your laravel project, same directory as artisan
and composer.json
files.
Files starting with a dot are considered hidden files, so some file managers and ftp clients can hide them (and skip while copying). See, if you have some sort of "Show hidden files" option in your file manager, and make sure you've actually copied .env
file to your server.
Otherwise you can set up your database credentials via environment variables, or, if all else fails, config/database.php
file
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community