If any of your .env
variables contains white space, make sure you wrap them in double-quotes. For example:
SITE_NAME="My website"
Don’t forget to clear your cache before testing:
php artisan config:cache
php artisan config:clear
More Related Contents:
- Laravel 5 – Remove Public from URL
- Laravel 5 – redirect to HTTPS
- Laravel : Syntax error or access violation: 1055 Error
- Laravel 5 PDOException Could Not Find Driver
- How to validate array in Laravel?
- Access Controller method from another controller in Laravel 5
- Laravel: validate an integer field that needs to be greater than another
- Laravel Request::all() Should Not Be Called Statically
- Handling expired token in Laravel
- Laravel 5.2 – Use a String as a Custom Primary Key for Eloquent Table becomes 0
- Trying to get Laravel 5 email to work
- Laravel 5 not finding css files
- Ajax post request in laravel 5 return error 500 (Internal Server Error)
- Access to Laravel 5 app locally from an external device
- Laravel password validation rule
- Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255
- How can I paginate a merged collection in Laravel 5?
- Laravel 5.4 – Validation with Regex [duplicate]
- ReflectionException: Class ClassName does not exist – Laravel
- Laravel 5.1: keep uploaded file as old input
- How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?
- How to get client IP address in Laravel 5+
- Laravel 5 – env() always returns null
- disable csrf in laravel for specific route
- Eloquent Parent-Child relationship on same model
- Custom validator in Laravel 5
- My Laravel 5.2.10 Sessions wont persist
- Laravel 5 Clear Views Cache
- Laravel Middleware return variable to controller
- Optional parameter in the middle of a route