# NEW - Composer detected issues in your platform: Your Composer dependencies require a PHP version "\>= 7.4.0"

**URL:** <https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [November 11, 2022, 12:52pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040 "2022-11-11T12:52:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliengarrigue](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/juliengarrigue/32/8650_2.png) [@juliengarrigue](https://forum.mautic.org/u/juliengarrigue)\
**Post date:** [November 11, 2022, 12:52pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040/1 "2022-11-11T12:52:03Z")

</div>

**Your software**  
_My PHP version is_ : 7.4.30  
_My MySQL/MariaDB version is_ (delete as applicable): 10.3.35-MariaDB

**Updating/Installing Errors**  
_I am_ (delete as applicable): Installing  
_Upgrading/installing via_ (delete as applicable) : Web

_These errors are showing in the installer_ :  
Composer detected issues in your platform: Your Composer dependencies require a PHP version “\>= 7.4.0”.

_These errors are showing in the Mautic log_ :

**Your problem**  
_My problem is_ :

I’ve just upload and extract a fresh archive from [Download](https://www.mautic.org/download) onto my web hosting server. Then, I went to the domain where it is hosted: [https://mautic.yj.lu/](https://mautic.yj.lu/) and I only see this error

Composer detected issues in your platform: Your Composer dependencies require a PHP version “\>= 7.4.0”.  
_Steps I have tried to fix the problem_ : Nothing I’m totally beginer with Mautic.  
Thank you for your help

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [November 11, 2022, 1:03pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040/2 "2022-11-11T13:03:22Z")

</div>

If you are 100 % sure you are running php7.4 try installing dependencies with `composer install --ignore-platform-reqs`

---

<div class="post-metadata">

**Author:** ![juliengarrigue](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/juliengarrigue/32/8650_2.png) [@juliengarrigue](https://forum.mautic.org/u/juliengarrigue)\
**Post date:** [November 11, 2022, 1:44pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040/3 "2022-11-11T13:44:02Z")

</div>

> [@mzagmajster](#):
>
> 100 % sure

The version is written in PHP My Admin.

how do I input your instructions? Mautic is on a shared Web-hosting service with Planet Hoster

Thank you

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [November 11, 2022, 2:30pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040/4 "2022-11-11T14:30:07Z")

</div>

php my admin is database tool. Not sure if php version is the one that is written in there.

Anyway if you have shared hosting you should also have something like cpanel or something where you should really be able to see the version of php and all the extensions that are enabled at the moment.

Couple other things:

- In general its best if mautic is hosted on VPS.
- Since you are using shared hosting I would consider install mautic instance on local machine and then just export the database and adapt app/config/local.php file and put it on the server.

If you are interested I can also offer paid service where I try to setup mautic instance for you (PM me, if interested),

---

<div class="post-metadata">

**Author:** ![juliengarrigue](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/juliengarrigue/32/8650_2.png) [@juliengarrigue](https://forum.mautic.org/u/juliengarrigue)\
**Post date:** [November 18, 2022, 1:22pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040/5 "2022-11-18T13:22:12Z")

</div>

> [@mzagmajster](#):
>
> Since you are using shared hosting I would consider install mautic instance on local machine and then just export the database and adapt app/config/local.php file and put it on the server.

I did this and it doesn’t work. thank you for trying.

Do you know if I can connect with composer remotely?

---

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [November 18, 2022, 2:08pm UTC](https://forum.mautic.org/t/new-composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-7-4-0/26040/6 "2022-11-18T14:08:01Z")

</div>

One thing about shared host is account php does not go by what the default php on the server. On shared host is that each account user can choose what php version they want to use while the server default php may never have been updated to the latest version because it not often used.

Composer detects what is the server default php version not the user’s account php version so it halt the installation due to requirement not met.

You would need to contact your server administrator and ask them if they can change their server default php to a newer version php.

I have seen server still running with default php5 while each account are already running at least php 8.0.+
