# Blank white page - Console shows 500 error

**URL:** <https://forum.infinityfree.com/t/blank-white-page-console-shows-500-error/81149>\
**Category:** Hosting Support\
**Created:** [August 19, 2023, 8:16am UTC](https://forum.infinityfree.com/t/blank-white-page-console-shows-500-error/81149 "2023-08-19T08:16:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashufelt](https://forum.infinityfree.com/letter_avatar/ashufelt/32/6_449c533f586939b6e5f246632a46421f.png) [@ashufelt](https://forum.infinityfree.com/u/ashufelt)\
**Post date:** [August 19, 2023, 8:16am UTC](https://forum.infinityfree.com/t/blank-white-page-console-shows-500-error/81149/1 "2023-08-19T08:16:57Z")

</div>

### Website URL

[ashufelt.com](http://ashufelt.com)

### Error Message

No visible error message. F12- Console shows GET [http://ashufelt.com/](http://ashufelt.com/) 500 (Internal Server Error)

### Other Information

I’ve looked at a ton of posts concerning .htaccess, and I am trying to point requests towards index.php, but nothing has worked yet. It all works when I run an Apache24 server locally.

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [August 19, 2023, 8:36am UTC](https://forum.infinityfree.com/t/blank-white-page-console-shows-500-error/81149/2 "2023-08-19T08:36:36Z")

</div>

Read again

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352/):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

---

<div class="post-metadata">

**Author:** ![ashufelt](https://forum.infinityfree.com/letter_avatar/ashufelt/32/6_449c533f586939b6e5f246632a46421f.png) [@ashufelt](https://forum.infinityfree.com/u/ashufelt)\
**Post date:** [August 19, 2023, 12:22pm UTC](https://forum.infinityfree.com/t/blank-white-page-console-shows-500-error/81149/3 "2023-08-19T12:22:15Z")

</div>

Oh shoot. I had read this before but I think at that time I was so focused on .htaccess, because like I said, my PHP code runs fine locally. I hadn’t considered the PHP version, so it turns out I was using features of PHP 8 that aren’t supported by 7.4.

This time when I read this, I saw the suggestion to turn on the “Display errors” setting in the PHP config, and after some confusion as to why valid PHP code was causing errors, I figured out the version issue.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [August 26, 2023, 12:22pm UTC](https://forum.infinityfree.com/t/blank-white-page-console-shows-500-error/81149/4 "2023-08-26T12:22:43Z")

</div>

Closed on August 26, 2023, 12:22pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
