Getting 500 server error with Laravel 5.7 on Windows
Answer based on your comment under in your question:
RuntimeException No application encryption key has been specified.
set a value for the APP_KEY
variable.
At the command line, the following Artisan command to generate a key:
php artisan key:generate
This will generate a random key, you must restart the server and you should no longer see the error message.
Laravel, unknown error after deploy to LIFE server, 500 Internal Server Error
I finally found the solution after a lot of attempts, the .htaccess
file was wrong and I swapped:
RewriteRule ^ index.php [L]
with:
RewriteRule ^ /index.php [L]
I added the /
before index.php. This has fixed the problem.
Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04
Finally Overcame the problem
- It was not the .htaccess file that was the problem nor the index.php. The problem was on accessing the files and requiring permissions.
For solving the problem i ran the following commands through terminal.
sudo chmod -R 755 laravel_blog
and then type below to allow laravel to write file to storage folder
chmod -R o+w laravel_blog/storage
This two commands solved the problem.
Running Laravel project as localhost causes HTTP 500 error
You can find your solution with exactly this problem in this link:
Laravel crash on init with error 500 (no additional info)
Good luck:)
Related Topics
Php to View Pdf on Web Page and Disable User to Download
Unset a Value in a Multi-Dimensional Array Based on One of the Values
Sum Value in Foreach Loop Every 3 Time Looping
Delete Digits After Two Decimal Points, Without Rounding the Value
Detect a Quotation in a String
How to Get the MAC and the Ip Address of a Connected Client in PHP
Executing Python Script in PHP and Exchanging Data Between the Two
Php Curl Required Only to Send and Not Wait for Response
How to Remove Back Slashes from Json Output in PHP
Warning: Mysqli_Connect(): (Hy000/1049): Unknown Database in MAC Terminal Only
[Php][Mysql] How to Insert Data in 2 Tables At Same Time
How to Create Multi Level Category Hierarchy ( Category Tree ) - Codeigniter
How to Center the Text in Phpexcel Merged Cell
How to Prevent a User from Directly Accessing My HTML Page by Writing Url