Post by pm-netti » Sat Sep 17, 2022 7:46 pm

The file startup.php contains this text:

Code: Select all

if (version_compare(phpversion(), '8.0.0', '<')) {
	exit('PHP8+ Required');
}
But there is a text in vendor/composer/platform_check.php:

Code: Select all

if (!(PHP_VERSION_ID >= 80100)) {
    $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';
}
This vendor required PHP 8.1
At least in some plugins that use a vendor, the program execution seems to bump into this.
Last edited by pm-netti on Wed Sep 21, 2022 12:43 am, edited 3 times in total.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by straightlight » Sun Sep 18, 2022 12:48 am

OC version. Already added in the opencart-3 repository.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pm-netti » Sun Sep 18, 2022 6:56 pm

straightlight wrote:
Sun Sep 18, 2022 12:48 am
Already added in the opencart-3 repository.
Where does this problem appear in the OC 3 version? For example, OC 3's Guzzlehttp only requires php version 5.3.1., OC 3 required PHP 5.4 and 7.3

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by straightlight » Sun Sep 18, 2022 7:55 pm

pm-netti wrote:
Sun Sep 18, 2022 6:56 pm
straightlight wrote:
Sun Sep 18, 2022 12:48 am
Already added in the opencart-3 repository.
Where does this problem appear in the OC 3 version? For example, OC 3's Guzzlehttp only requires php version 5.3.1., OC 3 required PHP 5.4 and 7.3
Previous versions PHP will be deprecated soon. PHP 8 will be the version ahead until the next change.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pm-netti » Sun Sep 18, 2022 8:59 pm

straightlight wrote:
Sun Sep 18, 2022 7:55 pm
Previous versions PHP will be deprecated soon. PHP 8 will be the version ahead until the next change.
As it became obvious from the first post, php version 8.0 is too low, the php version requirement should be 8.1

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by straightlight » Sun Sep 18, 2022 9:19 pm

pm-netti wrote:
Sun Sep 18, 2022 8:59 pm
straightlight wrote:
Sun Sep 18, 2022 7:55 pm
Previous versions PHP will be deprecated soon. PHP 8 will be the version ahead until the next change.
As it became obvious from the first post, php version 8.0 is too low, the php version requirement should be 8.1
Previous versions will be deprecated soon. That was the point I brought.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 6 guests