Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
You can’t get server-side PHP error logs on free hosting. This topic has an accepted answer saying that free hosting doesn’t save error logs and you can’t view server logs. What you can do is turn on error display and reload the page.
The knowledge base article on HTTP 500 errors gives these steps:
Log in to the control panel and go to Alter PHP Config.
Select your domain and click Alter PHP Directives.
Set “Display Errors” to “On” and save.
The article is here:
A 500 means the PHP code crashed or the .htaccess file has an invalid rule. If you still see no message after turning on Display Errors, the article says the app is probably suppressing errors. In that case, look for a debug mode in the app itself. For Laravel that’s APP_DEBUG in .env, but that’s general Laravel knowledge, not something I found documented for our hosting. The article also suggests renaming .htaccess to see whether the 500 goes away. A Laravel log that stopped on October 8 fits a crash that happens before Laravel can write anything, but I can’t confirm that’s what is happening here.
On the PHP version, there’s an older forum topic where the PHP information in the control panel was described as possibly hard-coded and not reflecting the real account. It says the most reliable way to check is to load a PHP info file on your own site. Your PHP info page showing 8.4 is therefore the version your site is actually running. I couldn’t find anything that says how to change it or why the two differ, so I can’t say more about the 8.3 shown in Account Settings.
One more thing: Laravel 6 is old, and I found nothing confirming it runs on PHP 8.4. Once Display Errors shows the real message, please post it here in full. If it mentions deprecated or removed PHP functions, that would point to a version mismatch.
My website woyuk.site.je returns HTTP 500, including when I access a simple PHP test file directly in /htdocs/.
I temporarily renamed the root .htaccess file for testing, but the PHP test still returned HTTP 500. I have also enabled Display Errors in PHP Directives, but no detailed error message appears.
The website uses Laravel 6.20.45. The PHP version reported by phpinfo() was 8.4.25. Could you please check whether there is a server-side PHP error or configuration issue affecting my account?
Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
Two things would help narrow this down. What exactly is in the PHP test file? And when it fails, do you see your browser’s own “HTTP ERROR 500” page, or are you redirected to an InfinityFree error page at infinityfree.net/errors/500/?
The two point in different directions. Our knowledge base says the redirect to the InfinityFree 500 page usually means broken .htaccess rules. The plain browser “HTTP ERROR 500” usually means the PHP code crashed. Renaming the root .htaccess and still getting the 500 doesn’t settle it, because the test file could be crashing for its own reasons. If you can, try a file containing only <?php echo "hello"; and tell me what it returns.
Here’s the article on the browser’s HTTP ERROR 500, including how to get PHP to show the real error:
And here’s the one on the InfinityFree 500 error page:
Your account looks active and was created a few days ago, so nothing there stands out. I haven’t found anything yet that explains a 500 on a plain PHP file. If the minimal file also fails and there are no other .htaccess files in htdocs or its subfolders, that may need a person to look at it.
Take note making multiple posting on same topic will not get you faster reply
The maximum official PHP version supported by Laravel 6 (specifically Laravel 6.20+) is PHP 8.0. It is completely incompatible with PHP 8.4 due to several major breaking changes introduced in the PHP language between PHP 8.1 and PHP 8.4
Our hosting runs PHP 8.4. The update was fairly recent, and I suspect that they forgot to update the Account Settings page. I’ll submit a request to get that fixed.
There is no server-side PHP error log. You can enable error displays on your website through the PHP Options menu, but Laravel overrides the default PHP error handler with their own, so depending on where the crash happened, Laravel may have overriden the website level setting to display errors.
You’re forgetting to mention some critical things here.
Your website was created, and presumably uploaded, on the 8th of October. There are errors in the laravel.log file, but the file paths in the stack traces suggest that the entire log file was simply uploaded from a local development system, which means the errors logged never occurred on our hosting.
And given that the account is brand new: has this website ever worked on our hosting or ever logged or shown any error here, or are you trying to set it up fresh and are not able to make it work?
Laravel 6 is ancient. It hasn’t been updated in 4 years. The latest version of Laravel is Laravel 13. It’s very likely that your website doesn’t work with PHP 8.4, and needs
Instead of hunting for errors that might be hard to find, my recommendation for a first step is to update your local development so it also runs PHP 8.4. Then regenerate your Composer dependencies on that PHP version, and test your site locally. If that doesn’t work (which I don’t think it will), then you’ll have a very clear first step you need to take to get your website to work.