External Publication
Visit Post

500 Internal Server Error

InfinityFree Forum [Unofficial] May 12, 2026
Source

Enabling APP_DEBUG should give you a real error message, so it’s strange that it doesn’t work.

I checked your website and I think I found the reason. The bootstrap/cache/ folder contains a cached PHP config file. Since that file is present, Laravel doesn’t check the config files or .env file, and just uses the cached data. And in that cached config, the debug option is disabled.

I suggest you start by deleting all PHP files in the bootstrap/cache folder and then refreshing the page to see if you can get a real error message.

Discussion in the ATmosphere

Loading comments...