I am trying to deploy my laravel 5.7 application on shared hosting, but get "No application encryption key has been specified.". I run php artisan key:generate on my localhost and after re-deployed the application, but didn't work.
What could be wrong with?
I'm face to the same issue but a lot search I have found a solution.
I'm not sure this is a good solution or not because I'm not a web developer, anyway put the following code in project-name\config\app.php
‘key’ => env(‘APP_KEY’, ‘base64:insert key here’),
copy key from .env file
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments