# How to change the php version 8.1.0

**URL:** <https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749>\
**Category:** Hosting Support\
**Created:** [May 6, 2023, 8:19am UTC](https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749 "2023-05-06T08:19:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon97233383](https://forum.infinityfree.com/letter_avatar/anon97233383/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon97233383](https://forum.infinityfree.com/u/anon97233383)\
**Post date:** [May 6, 2023, 8:19am UTC](https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749/1 "2023-05-06T08:19:04Z")

</div>

### Website URL [http://klshoptest.42web.io/](http://klshoptest.42web.io/)

### Error Message

Composer detected issues in your platform: Your Composer dependencies require a PHP version “\>= 8.1.0”.

---

<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:** [May 6, 2023, 8:32am UTC](https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749/2 "2023-05-06T08:32:54Z")

</div>

Changing PHP versions is not possible on free hosting. Selecting PHP versions is a premium only feature.

We’re in the process of upgrading free hosting from PHP 7.4 to PHP 8.1, but there are still some issues to work out before we can proceed with that.

> [@PHP 8.2 and MariaDB 10.4 upgrades!](https://forum.infinityfree.com/t/php-8-1-and-mariadb-10-4-upgrades/73463):
>
> iFastNet is doing a round of upgrades to add new features and better security to the free hosting platform! MariaDB 10.4 MariaDB is the variant of MySQL being used on free hosting. Over the last few weeks, the free hosting database servers have been upgraded from MariaDB 10.3 to MariaDB 10.4. MariaDB 10.4 contains various performance and security improvements compared to the previous version, and ensures our database servers are safe for the coming time. It also adds a small number of new feat…

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [May 7, 2023, 3:24pm UTC](https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749/3 "2023-05-07T15:24:40Z")

</div>

If your software supports older PHP versions, you could try this until the update is rolled out:

> [@Composer detected issues in your platform: Your Composer dependencies require a PHP version "\>8.0.2"](https://forum.infinityfree.com/t/composer-detected-issues-in-your-platform-your-composer-dependencies-require-a-php-version-8-0-2/68073/4):
>
> In addition to the require directive in the composer.json, you can also set the platform config to tell Composer to download dependencies for PHP 7.4. This is how you can configure that: We use PHP 7.4.8. After that, you can re-run composer install to generate a new vendor folder. Note that you may need to downgrade some dependencies to support this older PHP version.

---

<div class="post-metadata">

**Author:** ![HELPINDIA](https://forum.infinityfree.com/letter_avatar/helpindia/32/5_5575768a8748004e209b776fc1b2916d.png) [@HELPINDIA](https://forum.infinityfree.com/u/HELPINDIA)\
**Post date:** [May 7, 2023, 4:18pm UTC](https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749/4 "2023-05-07T16:18:10Z")

</div>

Try premium hosting

---

<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:** [May 14, 2023, 4:18pm UTC](https://forum.infinityfree.com/t/how-to-change-the-php-version-8-1-0/75749/5 "2023-05-14T16:18:21Z")

</div>

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