jasehead Posted November 4, 2023 Share Posted November 4, 2023 I have an online store running CubeCart 6.1.14 with PHP version 7.0.33. I want to upgrade to CubeCart 6.5.3 which will require PHP version 7.4 (with 8.2 recommended). Is there a PHP maximum/minimum sweet spot for both versions of CubeCart so I can continue to run the old store while I test and modify the new one? Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 4, 2023 Share Posted November 4, 2023 Short answer -- no. Quote Link to comment Share on other sites More sharing options...
jasehead Posted November 4, 2023 Author Share Posted November 4, 2023 (edited) Then is there a mid-step version of CubeCart that will work with both PHP 7.0 (or the highest that CC6.1.14 finds compatible) and PHP 7.4? Edited November 4, 2023 by jasehead Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 4, 2023 Share Posted November 4, 2023 (edited) CC646 says PHP 5.5 is the minimum, but that was not correct. CC647 incorporated a correction to state that PHP 7.1 is the minimum. CC645 says PHP 5.5 is the minimum, and also says it will not run under PHP 8. I have CC6012 through CC645 running under PHP 7.4. So, maybe I misunderstood your initial question? Are you saying you have issues running CC6114 under PHP 7.4? Edited November 4, 2023 by bsmither Quote Link to comment Share on other sites More sharing options...
jasehead Posted November 5, 2023 Author Share Posted November 5, 2023 I haven't tested 6.1.14 under PHP 7.4 - but given that some versions of CubeCart work/don't under different PHP versions, all I wanted to know was a PHP version where both the old and new carts would work. I didn't want to jump in at the deep and have days where the store was broken. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 5, 2023 Share Posted November 5, 2023 I will install a stock CC6114 and run it under PHP 7.4. I'll report back if there are any issues. Also, be advised that any ionCube encoded third-party modules built for PHP 7.0, will need to be given some consideration when creating an environment with PHP 7.4. The ionCube decoder may need to be upgraded to run under PHP 7.4, and that means the encoded modules will have to have specific versions available for that environment. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 5, 2023 Share Posted November 5, 2023 A very brief run of the storefront and admin dashboard shows that CC6114 has preg_replace() issue. See the Github issue #2220. But, since you are running this under PHP 7.0, you should have already made that fix. Quote Link to comment Share on other sites More sharing options...
jasehead Posted November 6, 2023 Author Share Posted November 6, 2023 Yes, I think that I made the preg_replace() fix long ago. Quote Link to comment Share on other sites More sharing options...
JontRhodes Posted December 16, 2023 Share Posted December 16, 2023 (edited) Prioritize PHP 7.4 but verify CC6114 compatibility; approach ionCube encoded modules cautiously. Edited December 16, 2023 by JontRhodes rectify mistake Quote Link to comment Share on other sites More sharing options...
jasehead Posted May 22 Author Share Posted May 22 ^ Looks like a spam link has been inserted. DO NOT CLICK Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.