Laravel installation error: "No application encryption key has been specified."

0

Hi, I have deployed a laravel application to elestic beanstalk here:

http://tomrainey.us-east-2.elasticbeanstalk.com/

but I get the following error message:

"Your app key is missing Generate your application encryption key using php artisan key:generate."

I'm totally new to this, so please be specific. Is this something I have to edit on my local machine or can I do it directly on my AWS installation?

Thanks.

질문됨 일 년 전513회 조회
1개 답변
0

Execute the following command in Elastic Beanstalk EC2 to create the key.

sudo php artisan key:generate
sudo php artisan cache:clear

The command will set APP_KEY to .env in the Laravel directory.

profile picture
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠