Laravel 500 Internal Server Error after Composer U

2019-09-11 23:32发布

问题:

I wanted to create a new blog so I tried, then was greeted with this message:

This development build of composer is over 60 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version.

So I did, and it seemed fine, then I created the blog and I got this error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Then I went to the directory of the blog and executed this command

chmod 755 -R storage

So as to allow composer to log my errors, the command seemed to be executed properly, I refreshed my blog in the browser and still, 500 error, so I check the logs, and still nothing, it is still not logging anything.

Then I check my previous projects and they had a 500 internal server error too.

I have probably tried solutions from 20+ different forums and threads and nothing will work. I have changed my .htaccess file to every variation of every correct answer I could fined (backup the original) but it is obviously not to do with the .htaccess because my previous projects worked and now they don't.

If anyone knows why this may be happening or if there's something else I should try, please help me, thank you.