Closed GalichMolodothon closed 2 years ago
@GalichMolodothon version 2.5.1 requires Magento 2.4.5.
Sorry, but this error doesn't depend on the version of the Magento. It's problem with PHP 8.1 library and extension dependency.
@GalichMolodothon use version 2.5.0 for Magento 2.4.5
The version 2.5.0 require PHP 7.4, it's possible to upload via composer for PHP 8.1
@GalichMolodothon version 2.5.1 supports PHP 8.1, but requires Magento 2.4.5.
@appinlet on my screenshot the error that doesn't connect with the Magento version. I tested with the Magento 2.4.5 and the same error for command: composer require paygate/paygate-payweb-gateway
The extension has requirements, and one of them is PHP library ext-http, which is not supported by PHP 8.1. https://github.com/PayGate/PayWeb_Magento_2/blob/546015b9c6f942325f8187b8fdc580a79ab0b129/composer.json#L16
It's the screenshot with the Magento 2.4.5
@appinlet could you please answer? The problem is reproduced on Magento 2.4.5 and doesn't depend of the Magento version. There present an incorrect dependency in the composer.json file for PHP 8.1 version and it doesn't allow the use of composer for the installation of the extension.
@GalichMolodothon please confirm that you have installed or enabled PHP's http extension
Depending on the server, this will be something like:
sudo apt install php-http
Or
pecl install pecl_http
Please also confirm that the following required extensions are installed and enabled:
ext-bcmath ext-ctype ext-curl ext-dom ext-fileinfo ext-gd ext-hash ext-iconv ext-intl ext-json ext-libxml ext-mbstring ext-openssl ext-pcre ext-pdo_mysql ext-simplexml ext-soap ext-sockets ext-sodium ext-tokenizer ext-xmlwriter ext-xsl ext-zip lib-libxml lib-openssl
@appinlet sorry, but this didn't bring forward any changes
@appinlet
Sorry for highlighting something:
I want to update your recent changes (https://github.com/PayGate/PayWeb_Magento_2/issues/36), but I have now read in this thread that v2.5.1
requires Magento 2.4.5
.
Am I correct in saying that there is not going to be any compatible version for Magento 2.3 anymore, I would not be able to upgrade to v2.5.1 or any 'future versions' as Paygate support continues to suggest I do... and don't understand the compatibility requirements
Magento 2.4 is still in branch 2.4-dev
; and looking at the 1000s of open issues far from 'production ready'.
What about sites that are still running Magento 2.3? I don't think we are the only ones?
@GalichMolodothon please see https://github.com/PayGate/PayWeb_Magento_2/pull/40.
We have removed this requirement as some servers fail as per the above.
@ChameleonDevil continued in https://github.com/PayGate/PayWeb_Magento_2/issues/38.
Hello. I got an error when try to install the PayWeb via composer.
Magento CLI 2.4.4-p1 PHP 8.1.6 Ubuntu 20.04.2 LTS Composer version 2.1.14
The php 8.1 not allowed the library ext-http, but it required in the composer.json for this extension.