Answers for "laravel not reading env file"

PHP
0

laravel8 can't read env

php artisan config:cache
php artisan config:clear
php artisan cache:clear
  
  
  or
  
  $ rm bootstrap/cache/config.php
Posted by: Guest on September-20-2021
0

Modify .env File in Laravel

DB_DATABASE=(The database name you created earlier - awesome_project_db)
DB_USERNAME=(Your Mysql username. Default: root)
DB_PASSWORD=(Your Mysql password. As a default, blank)
Posted by: Guest on January-26-2022

Browse Popular Code Answers by Language