# MyBB installer fails with 500 Internal Server Error on database step

**URL:** <https://forum.infinityfree.com/t/mybb-installer-fails-with-500-internal-server-error-on-database-step/117262>\
**Category:** Hosting Support\
**Created:** [January 15, 2026, 1:02pm UTC](https://forum.infinityfree.com/t/mybb-installer-fails-with-500-internal-server-error-on-database-step/117262 "2026-01-15T13:02:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mybbtester](https://forum.infinityfree.com/letter_avatar/mybbtester/32/6_449c533f586939b6e5f246632a46421f.png) [@mybbtester](https://forum.infinityfree.com/u/mybbtester)\
**Post date:** [January 15, 2026, 1:02pm UTC](https://forum.infinityfree.com/t/mybb-installer-fails-with-500-internal-server-error-on-database-step/117262/1 "2026-01-15T13:02:46Z")

</div>

Hello,

I am experiencing an issue installing **MyBB** on my InfinityFree hosting account.

The MyBB installer starts correctly, and the requirements check passes.  
However, when I reach the **database configuration step** and click “Next”, the installer always returns a **500 Internal Server Error**.

Important details:

- The 500 error occurs **even when entering intentionally incorrect MySQL credentials**

- This suggests the failure happens **before actual database validation**

- Other applications install successfully on the same account:

I also manually renamed `inc/config.default.php` to `config.php` as required, so this is not a file permission issue.

It appears that the MyBB installer process may be blocked by server-side security rules (possibly WAF/mod\_security), while other forum software is not affected.

Could you please confirm:

- Whether MyBB is known to be incompatible with your hosting environment, or

- If there are any server-side restrictions that could cause this behavior?

I can provide screenshots of the installer steps and the error page if needed.

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 15, 2026, 1:08pm UTC](https://forum.infinityfree.com/t/mybb-installer-fails-with-500-internal-server-error-on-database-step/117262/2 "2026-01-15T13:08:32Z")

</div>

To answer your question:

- A 500 error is indicative of a PHP crash.
- We don’t have extensive mod\_security rules on our hosting (too high risk of false positives). And requests that are blocked will get a clear 403 Forbidden response, not an 500 Internal Server Error.
- I’m not aware of any compatibility issues between our hosting and MyBB.

> [@mybbtester](#):
>
> - The 500 error occurs **even when entering intentionally incorrect MySQL credentials**
> - This suggests the failure happens **before actual database validation**

Or the issue only happens if your database credentials are incorrect, and you were just entering incorrect details even when you thought you were entering correct ones.

* * *

To fix this, I can suggest two approaches.

The first is to try stop speculating about the 500 error and instead try and get more information about it. An actual PHP error message would help a lot in figuring this out.

> [@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…

The second option is to skip installing MyBB manually entirely and just install it with Softaculous. Softaculous offers MyBB and can handle the installation for you.

---

<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:** [January 22, 2026, 1:08pm UTC](https://forum.infinityfree.com/t/mybb-installer-fails-with-500-internal-server-error-on-database-step/117262/3 "2026-01-22T13:08:41Z")

</div>

Closed on January 22, 2026, 1:08pm UTC

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