We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Update PHP version

Development and Programming

MINDSCREEN's avatar
MINDSCREEN
218 posts
8 years ago
MINDSCREEN's avatar MINDSCREEN

Hi

We are using EE v2.3.1 and our current PHP version is PHP 5.2.17. Now, our hosting provider wants to upgrade the PHP version to PHP 5.4.45. Please confirm whether EE v2.3.1 will run properly in PHP 5.4.45.

Regards Debasish Mondal

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

ExpressionEngine 2.3.1 was released on October 17, 2011. PHP 5.4.0 was released nearly five months later on March 1, 2012. So while it may have been compatible, it’s not possible to say with certainty. There are some bug fixes in v2.5.1 released two months after PHP 5.4 that addressed some PHP 5.4 bugs, so I am inclined to say that 2.3.1 will not be compatible.

That said, 2.3.1 is over five years old, and PHP 5.4 hasn’t had active support by PHP since late 2014. The best advice would be for you to update to at least the latest release of v2, and for your host to update to PHP 7, or at least PHP 5.6.

       
MINDSCREEN's avatar
MINDSCREEN
218 posts
8 years ago
MINDSCREEN's avatar MINDSCREEN

Hi Derek,

Thank you very much. If we upgrade from EE 2.3.1 to latest version of EE v3.4.4, would that work on PHP 5.4.45 ? The hosting team told that they only have PHP 5.4.45 now.

Regards Debasish

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
8 years ago
Ingmar Greil's avatar Ingmar Greil

Both PHP 5.4 and 5.5 are way past their end of life. If you can’t use PHP 7 (and you should, it’s awesome), 5.6 at least is a must in my book. That said, requirements for EE3 state PHP 5.3.10 or better, so you could at least give it a try.

       
MINDSCREEN's avatar
MINDSCREEN
218 posts
8 years ago
MINDSCREEN's avatar MINDSCREEN

Hi Greil,

EE v2.3.1 is running properly in PHP 5.4.45. Can you Please confirm whether it will run in MySQL 5.5 or not? Hosting provider is updating the OS and there will be no MySQL 5.1 support.

Regards Debasish

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

MySQL 5.5 should not be an issue. And yes, ExpressionEngine 3.4 would still work on PHP 5.4, but there are compelling business and technical reasons to encourage you to move to a platform using PHP 7 or at least PHP 5.6.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.