Page 1 of 1

[4.0.0.0] Actual PHP requirement?

Posted: Thu Jun 23, 2022 7:32 am
by JimDrew
I noticed that when doing a fresh install of OC4 that the installer fails if you are using PHP 8.0x, but works with 8.1x. The installer messages says "PHP8+ Required". So, this would lead you to believe that PHP8.x can be used. This message really should be changed to reflect the true minimum PHP requirement.

Re: [4.0.0.0] Actual PHP requirement?

Posted: Thu Jun 30, 2022 10:09 am
by webocreation.com
It is 8.0.0 as per this line of code in github https://github.com/opencart/opencart/bl ... tup.php#L6

Re: [4.0.0.0] Actual PHP requirement?

Posted: Thu Jun 30, 2022 7:52 pm
by JNeuhoff
JimDrew wrote:
Thu Jun 23, 2022 7:32 am
I noticed that when doing a fresh install of OC4 that the installer fails if you are using PHP 8.0x, but works with 8.1x. The installer messages says "PHP8+ Required". So, this would lead you to believe that PHP8.x can be used. This message really should be changed to reflect the true minimum PHP requirement.
You can post it as an issue on gitgub.com/opencart because the installer should work with both PHP8.0 or PHP 8.1.