# What is the highest version of php supported on the highest cake 2?

**URL:** <https://discourse.cakephp.org/t/what-is-the-highest-version-of-php-supported-on-the-highest-cake-2/10383>\
**Category:** Uncategorized\
**Created:** [May 10, 2022, 8:18pm UTC](https://discourse.cakephp.org/t/what-is-the-highest-version-of-php-supported-on-the-highest-cake-2/10383 "2022-05-10T20:18:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joelfb](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joelfb](https://discourse.cakephp.org/u/joelfb)\
**Post date:** [May 10, 2022, 8:18pm UTC](https://discourse.cakephp.org/t/what-is-the-highest-version-of-php-supported-on-the-highest-cake-2/10383/1 "2022-05-10T20:18:55Z")

</div>

We are now upgrading our app to cake 2.10 and we work toward supporting PHP 7.4 but I wonder if we can possibly support PHP 8?

---

<div class="post-metadata">

**Author:** ![jimgwhit](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/jimgwhit/32/378_2.png) [@jimgwhit](https://discourse.cakephp.org/u/jimgwhit)\
**Post date:** [May 11, 2022, 12:28am UTC](https://discourse.cakephp.org/t/what-is-the-highest-version-of-php-supported-on-the-highest-cake-2/10383/2 "2022-05-11T00:28:37Z")

</div>

Going to php 8 is probably stretching it, I read the requirements you really should consider during the upgrades and get up-to-date to 4.\*.

Just my suggestion.

---

<div class="post-metadata">

**Author:** ![KevinPfeifer](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/kevinpfeifer/32/3365_2.png) [@KevinPfeifer](https://discourse.cakephp.org/u/KevinPfeifer)\
**Post date:** [May 11, 2022, 6:24pm UTC](https://discourse.cakephp.org/t/what-is-the-highest-version-of-php-supported-on-the-highest-cake-2/10383/3 "2022-05-11T18:24:29Z")

</div>

FYI: CakePHP 2 is EOL since June 15, 2021 and therefore won’t recieve any further PHP support updates.  
But there are other people forking cakephp 2 and making it PHP 8.0/8.1 compatible which you can find in e.g. this Github issue.

> <https://github.com/cakephp/cakephp/issues/15197>
>
> This is a (multiple allowed):
> 
> \* \[\] bug
> \* \[\] enhancement
> \* \[x\] feature-disc…ussion (RFC)
> 
> \* CakePHP Version: 2.X

> **[GitHub - kamilwylegala/cakephp2-php8: CakePHP 2 fork that supports PHP 8](https://github.com/kamilwylegala/cakephp2-php8)**
>
> CakePHP 2 fork that supports PHP 8. Contribute to kamilwylegala/cakephp2-php8 development by creating an account on GitHub.
