Ich versuche, eine einfache Laravel -API zu erstellen, die mit Jensseger mit einer MongoDB -Datenbank verbindet. Ich kann nicht für mein Leben von mir herausfinden, was los ist. Ich glaube, es ist ein Versionsproblem zwischen der Php-Mongo-Erweiterung und Jensger, kann aber die Versionen nicht richtig machen.
$ php artisan serve
PHP Parse error: syntax error, unexpected '=' in /var/www/html/laravel/vendor/symfony/string/Resources/functions.php on line 34
< /code>
Ich habe diese Versionen. < /p>
Ubuntu 18.04.6 LTS
PHP 7.2.24-0ubuntu0.18.04.17
Php-mongodb extension: 1.3.4-1build1
< /code>
Dies ist mein Composer.json. < /p>
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.2.5",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"guzzlehttp/guzzle": "^6.3",
"jenssegers/mongodb": "^3.6",
"laravel/framework": "^7.0",
"laravel/tinker": "^2.0",
"mongodb/mongodb": "*"
},
"require-dev": {
"facade/ignition": "^2.0",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "7.2.24"
}
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
}
}
< /code>
Ich erhalte diesen Fehler, wenn ich versuche, die Komponistinstallation auszuführen. < /p>
composer install;
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- brick/math is locked to version 0.12.3 and an update of this package was not requested.
- brick/math 0.12.3 requires php ^8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 2
- carbonphp/carbon-doctrine-types is locked to version 3.2.0 and an update of this package was not requested.
- carbonphp/carbon-doctrine-types 3.2.0 requires php ^8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 3
- league/mime-type-detection is locked to version 1.16.0 and an update of this package was not requested.
- league/mime-type-detection 1.16.0 requires php ^7.4 || ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 4
- mongodb/mongodb is locked to version 1.21.1 and an update of this package was not requested.
- mongodb/mongodb 1.21.1 requires ext-mongodb ^1.21.0 -> it has the wrong version installed (1.3.4).
Problem 5
- nikic/php-parser is locked to version v5.4.0 and an update of this package was not requested.
- nikic/php-parser v5.4.0 requires php >=7.4 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 6
- psr/container is locked to version 1.1.2 and an update of this package was not requested.
- psr/container 1.1.2 requires php >=7.4.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 7
- psr/log is locked to version 2.0.0 and an update of this package was not requested.
- psr/log 2.0.0 requires php >=8.0.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 8
- psy/psysh is locked to version v0.12.7 and an update of this package was not requested.
- psy/psysh v0.12.7 requires php ^8.0 || ^7.4 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 9
- ramsey/collection is locked to version 2.1.0 and an update of this package was not requested.
- ramsey/collection 2.1.0 requires php ^8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 10
- ramsey/uuid is locked to version 4.7.6 and an update of this package was not requested.
- ramsey/uuid 4.7.6 requires php ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 11
- symfony/css-selector is locked to version v7.2.0 and an update of this package was not requested.
- symfony/css-selector v7.2.0 requires php >=8.2 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 12
- symfony/deprecation-contracts is locked to version v3.5.1 and an update of this package was not requested.
- symfony/deprecation-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 13
- symfony/event-dispatcher is locked to version v6.4.13 and an update of this package was not requested.
- symfony/event-dispatcher v6.4.13 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 14
- symfony/event-dispatcher-contracts is locked to version v3.5.1 and an update of this package was not requested.
- symfony/event-dispatcher-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 15
- symfony/service-contracts is locked to version v3.5.1 and an update of this package was not requested.
- symfony/service-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 16
- symfony/string is locked to version v6.4.15 and an update of this package was not requested.
- symfony/string v6.4.15 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 17
- symfony/translation is locked to version v6.4.19 and an update of this package was not requested.
- symfony/translation v6.4.19 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 18
- symfony/translation-contracts is locked to version v3.5.1 and an update of this package was not requested.
- symfony/translation-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 19
- tijsverkoyen/css-to-inline-styles is locked to version v2.3.0 and an update of this package was not requested.
- tijsverkoyen/css-to-inline-styles v2.3.0 requires php ^7.4 || ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 20
- facade/ignition is locked to version 2.17.7 and an update of this package was not requested.
- facade/ignition 2.17.7 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.
Problem 21
- facade/ignition-contracts is locked to version 1.0.2 and an update of this package was not requested.
- facade/ignition-contracts 1.0.2 requires php ^7.3|^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 22
- mockery/mockery is locked to version 1.6.12 and an update of this package was not requested.
- mockery/mockery 1.6.12 requires php >=7.3 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 23
- phpunit/php-token-stream is locked to version 4.0.4 and an update of this package was not requested.
- phpunit/php-token-stream 4.0.4 requires php ^7.3 || ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
Problem 24
- symfony/routing is locked to version v5.4.48 and an update of this package was not requested.
- symfony/deprecation-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement.
- symfony/routing v5.4.48 requires symfony/deprecation-contracts ^2.1|^3 -> satisfiable by symfony/deprecation-contracts[v3.5.1].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/15-xml.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-dom.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mbstring.ini
- /etc/php/7.2/cli/conf.d/20-mongodb.ini
- /etc/php/7.2/cli/conf.d/20-mysqli.ini
- /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-simplexml.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
- /etc/php/7.2/cli/conf.d/20-wddx.ini
- /etc/php/7.2/cli/conf.d/20-xmlreader.ini
- /etc/php/7.2/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.2/cli/conf.d/20-xsl.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-mongodb --ignore-platform-req=ext-curl` to temporarily ignore these required extensions.
< /code>
Jede Hilfe wäre geschätzt. Vielen Dank! [url=viewtopic.php?t=15738]Problem[/url] 1
- Root composer.json requires mongodb/mongodb ^1.6 -> satisfiable by mongodb/mongodb[1.6.0, ..., v1.x-dev].
- mongodb/mongodb[1.10.0, ..., v1.10.x-dev] require ext-mongodb ^1.11.0 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.11.0, ..., v1.11.x-dev] require ext-mongodb ^1.12.0 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.12.0, ..., v1.12.x-dev] require ext-mongodb ^1.13.0 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.13.0-beta1, ..., v1.13.x-dev] require ext-mongodb ^1.14.0 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.15.0, ..., v1.15.x-dev] require ext-mongodb ^1.15.0 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.16.0, ..., v1.16.x-dev] require ext-mongodb ^1.16.0 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.17.0, ..., v1.20.x-dev] require php ^7.4 || ^8.0 -> your php version (7.2.24; overridden via config.platform, same as actual) does not satisfy that requirement.
- mongodb/mongodb[1.21.0, ..., v1.x-dev] require php ^8.1 -> your php version (7.2.24; overridden via config.platform, same as actual) does not satisfy that requirement.
- mongodb/mongodb[1.6.0, ..., v1.6.x-dev] require ext-mongodb ^1.7 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.7.0-beta1, ..., v1.7.x-dev] require ext-mongodb ^1.8 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.8.0-RC1, ..., v1.8.x-dev] require ext-mongodb ^1.8.1 -> it has the wrong version installed (1.6.1).
- mongodb/mongodb[1.9.0-alpha1, ..., v1.9.x-dev] require ext-mongodb ^1.10.0 -> it has the wrong version installed (1.6.1).
Ich versuche, eine einfache Laravel -API zu erstellen, die mit Jensseger mit einer MongoDB -Datenbank verbindet. Ich kann nicht für mein Leben von mir herausfinden, was los ist. Ich glaube, es ist ein Versionsproblem zwischen der Php-Mongo-Erweiterung und Jensger, kann aber die Versionen nicht richtig machen.[code]$ php artisan serve PHP Parse error: syntax error, unexpected '=' in /var/www/html/laravel/vendor/symfony/string/Resources/functions.php on line 34 < /code> Ich habe diese Versionen. < /p> Ubuntu 18.04.6 LTS PHP 7.2.24-0ubuntu0.18.04.17 Php-mongodb extension: 1.3.4-1build1 < /code> Dies ist mein Composer.json. < /p>
{ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "require": { "php": "^7.2.5", "fideloper/proxy": "^4.2", "fruitcake/laravel-cors": "^1.0", "guzzlehttp/guzzle": "^6.3", "jenssegers/mongodb": "^3.6", "laravel/framework": "^7.0", "laravel/tinker": "^2.0", "mongodb/mongodb": "*" }, "require-dev": { "facade/ignition": "^2.0", "fzaninotto/faker": "^1.9.1", "mockery/mockery": "^1.3.1", "nunomaduro/collision": "^4.1", "phpunit/phpunit": "^8.5" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true, "platform": { "php": "7.2.24" } }, "extra": { "laravel": { "dont-discover": [] } }, "autoload": { "psr-4": { "App\\": "app/" }, "classmap": [ "database/seeds", "database/factories" ] }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "minimum-stability": "dev", "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] } } < /code> Ich erhalte diesen Fehler, wenn ich versuche, die Komponistinstallation auszuführen. < /p> composer install; Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `. Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1 - brick/math is locked to version 0.12.3 and an update of this package was not requested. - brick/math 0.12.3 requires php ^8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 2 - carbonphp/carbon-doctrine-types is locked to version 3.2.0 and an update of this package was not requested. - carbonphp/carbon-doctrine-types 3.2.0 requires php ^8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 3 - league/mime-type-detection is locked to version 1.16.0 and an update of this package was not requested. - league/mime-type-detection 1.16.0 requires php ^7.4 || ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 4 - mongodb/mongodb is locked to version 1.21.1 and an update of this package was not requested. - mongodb/mongodb 1.21.1 requires ext-mongodb ^1.21.0 -> it has the wrong version installed (1.3.4). Problem 5 - nikic/php-parser is locked to version v5.4.0 and an update of this package was not requested. - nikic/php-parser v5.4.0 requires php >=7.4 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 6 - psr/container is locked to version 1.1.2 and an update of this package was not requested. - psr/container 1.1.2 requires php >=7.4.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 7 - psr/log is locked to version 2.0.0 and an update of this package was not requested. - psr/log 2.0.0 requires php >=8.0.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 8 - psy/psysh is locked to version v0.12.7 and an update of this package was not requested. - psy/psysh v0.12.7 requires php ^8.0 || ^7.4 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 9 - ramsey/collection is locked to version 2.1.0 and an update of this package was not requested. - ramsey/collection 2.1.0 requires php ^8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 10 - ramsey/uuid is locked to version 4.7.6 and an update of this package was not requested. - ramsey/uuid 4.7.6 requires php ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 11 - symfony/css-selector is locked to version v7.2.0 and an update of this package was not requested. - symfony/css-selector v7.2.0 requires php >=8.2 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 12 - symfony/deprecation-contracts is locked to version v3.5.1 and an update of this package was not requested. - symfony/deprecation-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 13 - symfony/event-dispatcher is locked to version v6.4.13 and an update of this package was not requested. - symfony/event-dispatcher v6.4.13 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 14 - symfony/event-dispatcher-contracts is locked to version v3.5.1 and an update of this package was not requested. - symfony/event-dispatcher-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 15 - symfony/service-contracts is locked to version v3.5.1 and an update of this package was not requested. - symfony/service-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 16 - symfony/string is locked to version v6.4.15 and an update of this package was not requested. - symfony/string v6.4.15 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 17 - symfony/translation is locked to version v6.4.19 and an update of this package was not requested. - symfony/translation v6.4.19 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 18 - symfony/translation-contracts is locked to version v3.5.1 and an update of this package was not requested. - symfony/translation-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 19 - tijsverkoyen/css-to-inline-styles is locked to version v2.3.0 and an update of this package was not requested. - tijsverkoyen/css-to-inline-styles v2.3.0 requires php ^7.4 || ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 20 - facade/ignition is locked to version 2.17.7 and an update of this package was not requested. - facade/ignition 2.17.7 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension. Problem 21 - facade/ignition-contracts is locked to version 1.0.2 and an update of this package was not requested. - facade/ignition-contracts 1.0.2 requires php ^7.3|^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 22 - mockery/mockery is locked to version 1.6.12 and an update of this package was not requested. - mockery/mockery 1.6.12 requires php >=7.3 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 23 - phpunit/php-token-stream is locked to version 4.0.4 and an update of this package was not requested. - phpunit/php-token-stream 4.0.4 requires php ^7.3 || ^8.0 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. Problem 24 - symfony/routing is locked to version v5.4.48 and an update of this package was not requested. - symfony/deprecation-contracts v3.5.1 requires php >=8.1 -> your php version (7.2.5; overridden via config.platform, actual: 7.2.24) does not satisfy that requirement. - symfony/routing v5.4.48 requires symfony/deprecation-contracts ^2.1|^3 -> satisfiable by symfony/deprecation-contracts[v3.5.1].
To enable extensions, verify that they are enabled in your .ini files: - /etc/php/7.2/cli/php.ini - /etc/php/7.2/cli/conf.d/10-mysqlnd.ini - /etc/php/7.2/cli/conf.d/10-opcache.ini - /etc/php/7.2/cli/conf.d/10-pdo.ini - /etc/php/7.2/cli/conf.d/15-xml.ini - /etc/php/7.2/cli/conf.d/20-calendar.ini - /etc/php/7.2/cli/conf.d/20-ctype.ini - /etc/php/7.2/cli/conf.d/20-dom.ini - /etc/php/7.2/cli/conf.d/20-exif.ini - /etc/php/7.2/cli/conf.d/20-fileinfo.ini - /etc/php/7.2/cli/conf.d/20-ftp.ini - /etc/php/7.2/cli/conf.d/20-gettext.ini - /etc/php/7.2/cli/conf.d/20-iconv.ini - /etc/php/7.2/cli/conf.d/20-json.ini - /etc/php/7.2/cli/conf.d/20-mbstring.ini - /etc/php/7.2/cli/conf.d/20-mongodb.ini - /etc/php/7.2/cli/conf.d/20-mysqli.ini - /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini - /etc/php/7.2/cli/conf.d/20-phar.ini - /etc/php/7.2/cli/conf.d/20-posix.ini - /etc/php/7.2/cli/conf.d/20-readline.ini - /etc/php/7.2/cli/conf.d/20-shmop.ini - /etc/php/7.2/cli/conf.d/20-simplexml.ini - /etc/php/7.2/cli/conf.d/20-sockets.ini - /etc/php/7.2/cli/conf.d/20-sysvmsg.ini - /etc/php/7.2/cli/conf.d/20-sysvsem.ini - /etc/php/7.2/cli/conf.d/20-sysvshm.ini - /etc/php/7.2/cli/conf.d/20-tokenizer.ini - /etc/php/7.2/cli/conf.d/20-wddx.ini - /etc/php/7.2/cli/conf.d/20-xmlreader.ini - /etc/php/7.2/cli/conf.d/20-xmlwriter.ini - /etc/php/7.2/cli/conf.d/20-xsl.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-mongodb --ignore-platform-req=ext-curl` to temporarily ignore these required extensions.
< /code> Jede Hilfe wäre geschätzt. Vielen Dank! [url=viewtopic.php?t=15738]Problem[/url] 1 - Root composer.json requires mongodb/mongodb ^1.6 -> satisfiable by mongodb/mongodb[1.6.0, ..., v1.x-dev]. - mongodb/mongodb[1.10.0, ..., v1.10.x-dev] require ext-mongodb ^1.11.0 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.11.0, ..., v1.11.x-dev] require ext-mongodb ^1.12.0 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.12.0, ..., v1.12.x-dev] require ext-mongodb ^1.13.0 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.13.0-beta1, ..., v1.13.x-dev] require ext-mongodb ^1.14.0 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.15.0, ..., v1.15.x-dev] require ext-mongodb ^1.15.0 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.16.0, ..., v1.16.x-dev] require ext-mongodb ^1.16.0 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.17.0, ..., v1.20.x-dev] require php ^7.4 || ^8.0 -> your php version (7.2.24; overridden via config.platform, same as actual) does not satisfy that requirement. - mongodb/mongodb[1.21.0, ..., v1.x-dev] require php ^8.1 -> your php version (7.2.24; overridden via config.platform, same as actual) does not satisfy that requirement. - mongodb/mongodb[1.6.0, ..., v1.6.x-dev] require ext-mongodb ^1.7 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.7.0-beta1, ..., v1.7.x-dev] require ext-mongodb ^1.8 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.8.0-RC1, ..., v1.8.x-dev] require ext-mongodb ^1.8.1 -> it has the wrong version installed (1.6.1). - mongodb/mongodb[1.9.0-alpha1, ..., v1.9.x-dev] require ext-mongodb ^1.10.0 -> it has the wrong version installed (1.6.1). [/code]
Hier ist das, was ich in den Windbg -Protokollen beobachte.>>> pykd.typeInfo( nt!_UNICODE_STRING )
Traceback (most recent call last):
File , line 1, in
pykd.SymbolException: '_UNICODE_STRING' -...
Wir verwenden Gurke zum Testen (JUnit5-Plattform) und müssen einige Tests ausführen, bei denen sich eine Umgebungsvariable ändert.
Sowohl Pioneer als auch SystemStubs funktionieren in einem regulären...
Ich möchte textContentType zu meiner Anmeldeseite für Benutzer hinzufügen. Es funktionierte bei meinem Code nicht richtig, als ich ihn auf meinem Telefon mit iOS 18.2, Xcode 16.2 ausführte und ich...
Ich versuche, mein Dramatiker-Python-Projekt auf Gitlab mit einem Python-Docker-Image auszuführen. Ich habe es geschafft, dies zum Laufen zu bringen. Ich verwende Allure, um den Bericht zu...