# Mautic does not support PHP version 8.1.7

**URL:** <https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [July 10, 2022, 7:31am UTC](https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727 "2022-07-10T07:31:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 10, 2022, 7:31am UTC](https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727/1 "2022-07-10T07:31:06Z")

</div>

**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:

```auto
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 ?

---

<div class="post-metadata">

**Author:** ![aichhoernchen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aichhoernchen/32/6875_2.png) [@aichhoernchen](https://forum.mautic.org/u/aichhoernchen)\
**Post date:** [July 11, 2022, 6:48am UTC](https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727/2 "2022-07-11T06:48:56Z")

</div>

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

> **[Release Mautic Community 4.4.0 · mautic/mautic](https://github.com/mautic/mautic/releases/tag/4.4.0)**
>
> This is an out-of-cycle release which provides PHP 8.0 support to Mautic 4 users, and some other bug fixes. This should allow Mautic users to update their PHP versions before PHP 7 reaches end of l...

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

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [July 11, 2022, 8:10am UTC](https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727/3 "2022-07-11T08:10:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 11, 2022, 8:23am UTC](https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727/4 "2022-07-11T08:23:01Z")

</div>

got it thanks.

---

<div class="post-metadata">

**Author:** ![webprosagency](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webprosagency/32/1267_2.png) [@webprosagency](https://forum.mautic.org/u/webprosagency)\
**Post date:** [January 29, 2024, 3:08am UTC](https://forum.mautic.org/t/mautic-does-not-support-php-version-8-1-7/24727/5 "2024-01-29T03:08:07Z")

</div>

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
