Mautic does not support PHP version 8.1.7

Your software
My PHP version is : PHP 8.1.7 (cli) (built: Jun 25 2022 08:13:46) (NTS)
*My MariaDB version is: mariadb Ver 15.1 Distrib 10.6.7-MariaDB

Updating/Installing Errors
I am :Updating
Upgrading/installing via (delete as applicable) : Command Line

The scenario is as follows, as I wanted to test out getting Mautic running on the latest LTS 22.04 of ubuntu so I did the following:

  1. On the original server went ahead and upgraded Mautic to 4.4.0 - everything worked great.
  2. Spun up a server of 22.04 running php8.1
  3. Copied over the Mautic files (I am using a separate server for the DB)
  4. Updated the server config files to use 8.1 instead of 7.4
  5. Received the following message:
Mautic does not support PHP version 8.1.7 at this time. To use Mautic, you will need to downgrade to an earlier version.

Am I missing something in local.php that maybe needs to be changed ? Or something else ?

Not being a Pro, I would judge the release notes …

… in the way that 4.4.0 supports PHP 8.0 but not PHP 8.1.x

2 Likes

We are not able to support PHP 8.1 until a major release (eg Mautic 5) because it requires changes to Mautic which break backwards compatibility.

4 Likes

got it thanks.

1 Like

I also get this error: Mautic does not support PHP version 8.1.27 at this time when trying to get my installation going but in my server Ubuntu Apache when I check the php version : php -v I get v8.0.30, so I’m stuck there, that happens when I type my domain/installer.

Any ideas?

Thanks