After installing laravel in blog directory, when I try to check it runs normally or not by accessing localhost/blog/public it shows 500 Server error like this screenshot :
I've tried to grant apache with mod_rewrite and it didn't help.
I installed laravel with XAMPP in Windows.
======
UPDATE :
Here is the log file in the storage/logs/
and .env file
link
If you have a 500 Server Error, just rename the ". env. example" to ". env" and run: - php artisan key:generate - php artisan cache:clear - php artisan config:clear In my case, I pulled the project to Github repo to local machine.
Clear your browser cache and cookies Check these articles on deleting the cache on an Android phone or iPhone, if you use a mobile device. Alternatively, you can test opening the page from another browser. For instance, if you use Chrome, try Firefox or vice versa.
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. To resolve this issue, set the Enable 32-bit Applications to "False": Open the Internet Information Services (IIS) Manager.
do you have .env file
in terminal
cp .env.example .env
php artisan key:generate
chmod 777 -R storage
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With