MyBB Community Forums

Full Version: Won't Install because of PHP requirements
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to install the latest version (MyBB 1.8.33) but it says I don't have the required version of PHP. It says I need at least PHP 5 but I've got the latest version of PHP8.2.
That's quite strange!
The MyBB installer uses a PHP-owned function ( version_compare() ) with its PHP-own constant (PHP_VERSION) to compare the versions.
So a mismatch is almost impossible.

1. Double check your version.
2. If you can ensure a PHP8.2 version and the installer fails anyway, you can try to remove the version check from the MyyBB installer in file /install/index.php from line 1068.
This needs an investigation of the forum developers then.

Does anyone else experienced a similiar issue with PHP 8.2?

[ETS]
It just uses an internal PHP function so shouldn’t be possible to not work. Don’t think I’ve ever seen that check fail before in my whole time here so there might be something screwed up with your PHP install.
It's with Installatron in cPanel. I'll try and manually install it.
Create a file called test.php, put this in it:

<?php phpinfo();

Visit it in your browser, what version does it say?

Then change it to this:

<?php var_dump(PHP_VERSION);

Refresh the browser, what does this output?

Those auto installers are often buggy but I can’t see how it could possibly be failing this check.