aaPanel_Kern I installed mongodb php extension version 1.14

but still cannot install the mongodb library using composer GUI
Symfony\Component\Console\Application->doRun() at phar:///www/server/php/74/bin/composer/src/Composer/Console/Application.php:343
Composer\Console\Application->doRun() at phar:///www/server/php/74/bin/composer/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///www/server/php/74/bin/composer/src/Composer/Console/Application.php:138
Composer\Console\Application->run() at phar:///www/server/php/74/bin/composer/bin/composer:88
require() at /www/server/php/74/bin/composer:29
In PackageDiscoveryTrait.php line 316:
[InvalidArgumentException]
Package mongodb/mongodb has requirements incompatible with your PHP version
, PHP extensions and Composer version:
- mongodb/mongodb 1.13.0 requires ext-mongodb ^1.14.0 but it is not prese
nt.
Exception trace:
at phar:///www/server/php/74/bin/composer/src/Composer/Command/PackageDiscoveryTrait.php:316
Composer\Command\RequireCommand->findBestVersionAndNameForPackage() at phar:///www/server/php/74/bin/composer/src/Composer/Command/PackageDiscoveryTrait.php:106
Composer\Command\RequireCommand->determineRequirements() at phar:///www/server/php/74/bin/composer/src/Composer/Command/RequireCommand.php:212
Composer\Command\RequireCommand->execute() at phar:///www/server/php/74/bin/composer/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at phar:///www/server/php/74/bin/composer/vendor/symfony/console/Application.php:1024
Symfony\Component\Console\Application->doRunCommand() at phar:///www/server/php/74/bin/composer/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at phar:///www/server/php/74/bin/composer/src/Composer/Console/Application.php:343
Composer\Console\Application->doRun() at phar:///www/server/php/74/bin/composer/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///www/server/php/74/bin/composer/src/Composer/Console/Application.php:138
Composer\Console\Application->run() at phar:///www/server/php/74/bin/composer/bin/composer:88
require() at /www/server/php/74/bin/composer:29
But I managed to installed it via SSH.
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^1.13 for mongodb/mongodb
./composer.json has been created
Running composer update mongodb/mongodb
Loading composer repositories with package information
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals
- Locking jean85/pretty-package-versions (2.0.5)
- Locking mongodb/mongodb (1.13.0)
- Locking symfony/polyfill-php80 (v1.26.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
- Downloading symfony/polyfill-php80 (v1.26.0)
- Downloading jean85/pretty-package-versions (2.0.5)
- Downloading mongodb/mongodb (1.13.0)
- Installing symfony/polyfill-php80 (v1.26.0): Extracting archive
- Installing jean85/pretty-package-versions (2.0.5): Extracting archive
- Installing mongodb/mongodb (1.13.0): Extracting archive
Generating autoload files
1 package you are using is looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
So I'm not sure why the GUI doesn't work but now I can at least connect to MongoDB in php, thanks.