modmob Posted April 10, 2015 Share Posted April 10, 2015 I have a PS 1.5.4.1. running fine on php 5.3.10 and I wish to upgrade my server to php 5.6 (mainly to avoid safe_mod issues). So my question is: will PS run correctly on php 5.6.? Are there known issues? I could find no info on the forum. Thank in advance for your help! 1 Link to comment Share on other sites More sharing options...
lordbdp Posted April 10, 2015 Share Posted April 10, 2015 Same for me... Link to comment Share on other sites More sharing options...
sandipchandela Posted April 11, 2015 Share Posted April 11, 2015 there is no risk for the php upgrade from 5.3 to 5.6. It will be more fruitful. http://www.inmotionhosting.com/support/prestashop-16/prestashop-upgrade-15-16 1 Link to comment Share on other sites More sharing options...
bellini13 Posted April 11, 2015 Share Posted April 11, 2015 Well, lets think about this question and apply some common sense PS 1.5.4.1 was released on April 25, 2013 https://www.prestashop.com/en/developers-versions#previous-version PHP 5.6.0 was released on August 28, 2014 http://php.net/releases/ So logically, PHP 5.6 did not even exist when this version of Prestashop was released, so while it may work, you run the risk that Prestashop or the modules you have installed are using PHP features that no longer exist. Link to comment Share on other sites More sharing options...
modmob Posted April 12, 2015 Author Share Posted April 12, 2015 Thank you bellini13 - I thought there was some kind of backward compatibility from php 5.6 to 5.3. Link to comment Share on other sites More sharing options...
bellini13 Posted April 13, 2015 Share Posted April 13, 2015 Its called deprecation, and functions or features that are deprecated are eventually removed. So you need to review the change logs for PHP 5.4, 5.5 and 5.6 and see what features/functions were removed, and then see if Prestashop and/or your modules are using these removed features. The easier thing would be to test your site using WAMP and PHP 5.6 and just see if it works. Link to comment Share on other sites More sharing options...
Gipielle Posted July 3, 2015 Share Posted July 3, 2015 Someone did this update ? 1 Link to comment Share on other sites More sharing options...
iggywebprom Posted July 29, 2016 Share Posted July 29, 2016 I've upgraded to php 5.6.24 and it went ok. If you use APC cache, switch it off. Or install APCu - otherwise you'll get a blank page. Link to comment Share on other sites More sharing options...
c.harrison1988 Posted July 25, 2020 Share Posted July 25, 2020 What bellini13 is saying is technically incorrect. According to semantic versioning, PHP 5.6.x should be backwards compatible (i.e. it should work) with any code written for any previous version of PHP 5.x.x If this wasn't the case then the major version would be incremented (e.g. PHP 7.x.x) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now