jeudi 13 juin 2019

Not all variables in .env are cached after run php artisan config:cache

GOOGLE_APPLICATION_CREDENTIALS=../storage/app/service-account.json

I have a google api credential key in the .env file. However, after I run php artisan config:cache, the credential could not be loaded. It works fine before rhe caching the configuration.

I check the bootstrap/cache/config.php file. There is no GOOGLE_APPLICATION_CREDENTIALS variable.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire