<p><strong>Don't worry, you should be fine.</strong></p>

<p>Craft currently supports <a href="https://craftcms.com/docs/requirements" rel="nofollow">a minimum of PHP 5.3</a>. Any higher version of PHP is also compatible.</p>

<p>When Craft 3 ships (late 2016 / early 2017), it will require a minimum of PHP 5.6.</p>

<p>Side note... If you're about to upgrade PHP, <strong>I highly recommend switching to PHP 7</strong>. The performance boost is notable, and should speed up your site by about 50-80%!</p>

CC BY-SA 3.0
2016-08-05T16:52:01.870Z
2016-08-05T16:52:01.870Z
Lindsey D
<p>What OS are you running? Since you mentioned PHP 5.5.9, it sounds like you might be running Ubuntu 14.04 (Trusty), which is a <a href="https://wiki.ubuntu.com/LTS" rel="nofollow noreferrer">LTS</a> release.</p>

<p>Unless you're using a 3rd party package (like a Ubuntu PPA) or compiled PHP yourself, 5.5 isn't suddenly going to stop being supported. </p>

<p>CentOS/RHEL or a Ubuntu LTS release all have long term support that backport any security fixes if necessary to the older distros.  (What's confusing is you might be getting security fixes from, say 5.5.34, but the package maintainers don't bump the version because you're not actually running it. This is a common false positive in PCI compliance scans, for example.)</p>

<p>In these kinds of things, I would spin up a VPS or fire up MAMP and test the install yourself. While Craft itself runs fine in my experience, you could run into trouble with plugins.</p>

<p>That said, I'll echo Lindsey's <a href="https://craftcms.stackexchange.com/a/16237/1016">answer</a> and agree that PHP 7 screams. Skip the 5.x branch if you're not running any other software and jump on 7 if you plan to upgrade because you'll be upgrading to it at some point anyway.</p>

CC BY-SA 3.0
2016-08-06T03:43:36.730Z
2016-08-06T03:43:36.730Z
2017-04-13T12:51:00.253Z
RitterKnight
<p>As of July 2016, PHP branch 5.5 is unsupported. The PHP version my server currently is running is 5.5.9 which implies that the server will not receive any security updates going forwards. </p>

<p>I'm told that Craft recommends using 5.7. Is there any danger that parts of my website may stop working if the PHP is updated?</p>

CC BY-SA 3.0
2016-08-05T17:56:27.130Z
My OCD won't let this go, but PHP went from 5.6 to 7.0. There is no PHP 5.7.
Brad Bell
CC BY-SA 3.0
2016-08-06T20:50:01.760Z
@BradBell  Oh right, that's strange haha, why no 6? The person who told me this must've just had a typo and actually meant 7.
patrick.altair
CC BY-SA 3.0
2016-08-07T04:21:32.820Z
There was going to be a PHP 6, but it's a long and painful story. https://philsturgeon.uk/php/2014/07/23/neverending-muppet-debate-of-php-6-v-php-7/ https://news.ycombinator.com/item?id=8786919
Brad Bell
<php>
Is there any danger to Craft from upgrading from PHP 5.5 to PHP 5.7?
# Is there any danger to Craft from upgrading from PHP 5.5 to PHP 5.7?

(Asked by: username_0 on 2016-08-05)

As of July 2016, PHP branch 5.5 is unsupported. The PHP version my server currently is running is 5.5.9 which implies that the server will not receive any security updates going forwards.

I'm told that Craft recommends using 5.7. Is there any danger that parts of my website may stop working if the PHP is updated?

**Tags:** php
> **Comments:**
> **username_1**: My OCD won't let this go, but PHP went from 5.6 to 7.0. There is no PHP 5.7.  
> **username_0**: @BradBell  Oh right, that's strange haha, why no 6? The person who told me this must've just had a typo and actually meant 7.  
> **username_1**: There was going to be a PHP 6, but it's a long and painful story. https://philsturgeon.uk/php/2014/07/23/neverending-muppet-debate-of-php-6-v-php-7/ https://news.ycombinator.com/item?id=8786919  

---

## 2 answers

### Answer by username_2 on 2016-08-05. Score: 3 | Accepted answer

**Don't worry, you should be fine.**

Craft currently supports [a minimum of PHP 5.3](https://craftcms.com/docs/requirements). Any higher version of PHP is also compatible.

When Craft 3 ships (late 2016 / early 2017), it will require a minimum of PHP 5.6.

Side note... If you're about to upgrade PHP, **I highly recommend switching to PHP 7**. The performance boost is notable, and should speed up your site by about 50-80%!


---

### Answer by username_3 on 2016-08-06. Score: 2

What OS are you running? Since you mentioned PHP 5.5.9, it sounds like you might be running Ubuntu 14.04 (Trusty), which is a [LTS](https://wiki.ubuntu.com/LTS) release.

Unless you're using a 3rd party package (like a Ubuntu PPA) or compiled PHP yourself, 5.5 isn't suddenly going to stop being supported.

CentOS/RHEL or a Ubuntu LTS release all have long term support that backport any security fixes if necessary to the older distros. (What's confusing is you might be getting security fixes from, say 5.5.34, but the package maintainers don't bump the version because you're not actually running it. This is a common false positive in PCI compliance scans, for example.)

In these kinds of things, I would spin up a VPS or fire up MAMP and test the install yourself. While Craft itself runs fine in my experience, you could run into trouble with plugins.

That said, I'll echo Lindsey's [answer](https://craftcms.stackexchange.com/a/16237/1016) and agree that PHP 7 screams. Skip the 5.x branch if you're not running any other software and jump on 7 if you plan to upgrade because you'll be upgrading to it at some point anyway.


---

