Support the ongoing development of Laravel.io →
posted 8 years ago
Database
Last updated 1 year ago.
0

Did you also change your environment file?

0

No I haven't, how would I do that?

0

I'm referring to your .env file in root folder.

Last updated 8 years ago.
0

I'm not sure where the .env file is. I'm working with Laravel in netbeans, and can't find it in my server.

Last updated 8 years ago.
0

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

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

sbd12b sbd12b Joined 26 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.