# Older PHP version

**URL:** <https://forum.infinityfree.com/t/older-php-version/67483>\
**Category:** Hosting Support\
**Created:** [October 20, 2022, 6:29pm UTC](https://forum.infinityfree.com/t/older-php-version/67483 "2022-10-20T18:29:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon65794224](https://forum.infinityfree.com/letter_avatar/anon65794224/32/6_449c533f586939b6e5f246632a46421f.png) [@anon65794224](https://forum.infinityfree.com/u/anon65794224)\
**Post date:** [October 20, 2022, 6:29pm UTC](https://forum.infinityfree.com/t/older-php-version/67483/1 "2022-10-20T18:29:36Z")

</div>

Hello, I was wondering if I could change the php version to an older one. I see that the default php version is 7.0 and I need php@5.

I tried to change it though the Control Panel by clicking on Choose older php versions here, but the page is empty. I don’t know if you guys don’t support older versions anymore or it’s a bug in the CP.

Username: epiz\_32826149

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [October 20, 2022, 6:34pm UTC](https://forum.infinityfree.com/t/older-php-version/67483/2 "2022-10-20T18:34:28Z")

</div>

Hi and welcome to the forum

As of the 2nd of September, all PHP 5.x versions have been removed from free hosting, and all sites have been upgraded to PHP 7.4.

The PHP version selector has also been removed (because there are no other PHP versions to choose from).

PHP 8 is next on the roadmap regarding PHP versions, which will replace PHP 7.4 when that happens.

* * *

In short there is only one version of PHP

---

<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:** [October 20, 2022, 7:15pm UTC](https://forum.infinityfree.com/t/older-php-version/67483/3 "2022-10-20T19:15:18Z")

</div>

To add to what OxyDac says: PHP 5 is end of life and hasn’t received any security fixes from the PHP developers anymore since 2018. So it’s strongly recommended to update your site so it works with modern PHP versions to keep your site safe (now and in the future).

[Premium hosting](https://www.infinityfree.net/premium/) does have a PHP version selector with secured PHP installations through HardenedPHP, so you can run older software relatively safely.

---

<div class="post-metadata">

**Author:** ![anon65794224](https://forum.infinityfree.com/letter_avatar/anon65794224/32/6_449c533f586939b6e5f246632a46421f.png) [@anon65794224](https://forum.infinityfree.com/u/anon65794224)\
**Post date:** [October 20, 2022, 10:02pm UTC](https://forum.infinityfree.com/t/older-php-version/67483/4 "2022-10-20T22:02:08Z")

</div>

The PHP version on the free hosting is 7.0 as I can see. I do understand all the security risks using older versions, I just wanted to keep this particular website up and running for a couple of months until I’m done with the new version of it as updating it would be more tedious than making a new one. And while at it, recover some files that are needed. Thank you for the quick reply, much appreciated!

---

<div class="post-metadata">

**Author:** ![YT\_Xaos](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/yt_xaos/32/45201_2.png) [@YT\_Xaos](https://forum.infinityfree.com/u/YT_Xaos)\
**Post date:** [October 21, 2022, 1:11am UTC](https://forum.infinityfree.com/t/older-php-version/67483/5 "2022-10-21T01:11:28Z")

</div>

> [@anon65794224](#):
>
> The PHP version on the free hosting is 7.0 as I can see

No, as previously stated, the PHP version is 7.4.

---

<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:** [October 28, 2022, 1:12am UTC](https://forum.infinityfree.com/t/older-php-version/67483/6 "2022-10-28T01:12:15Z")

</div>

Closed on October 28, 2022, 1:12am UTC

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