2 years ago

Force Forge to reload ENV?

Posted 2 years ago by thc1967

How do I force Forge to reload the environment variables?

I've tried changing the environment variables through Forge. I've tried restarting Nginx, PHP, and the server. I've tried going into the web app via command line and running php artisan cache:clear and php artisan config:clear.

Nothing seems to reset the config / env cache.

How can I tell?

I change the APP_NAME. Doesn't appear to change when serving from my Forge managed server. When I change it in the .ENV file on my local dev box, a simple browser refresh refreshes the displayed APP_NAME.

Please sign in or create an account to participate in this conversation.