Laravel 500 Internal Server Error after Composer Update

本秂侑毒 提交于 2019-12-11 23:25:23

问题


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.

来源:https://stackoverflow.com/questions/35492919/laravel-500-internal-server-error-after-composer-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!