小编Ata*_*pol的帖子

无法在 Laravel 10 中安装 jenssegers/mongodb

我是 Laravel 的新手。我想使用 Laravel 10 连接到 MongoDB,需要安装 jenssegers/mongodb。当我在终端中运行命令时composer require jenssegers/mongodb 3.8.0 --ignore-platform-reqs,出现如下错误:

PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mongodb.dll' (tried: D:\ProgramFiles\xampp\php\ext\php_mongodb.dll (The specified module could not be found), D:\ProgramFiles\xampp\php\ext\php_php_mongodb.dll.dll (The specified module could not be found)) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'php_mongodb.dll' (tried: D:\ProgramFiles\xampp\php\ext\php_mongodb.dll (The specified module could not be found), D:\ProgramFiles\xampp\php\ext\php_php_mongodb.dll.dll (The specified module could not be found)) in Unknown on line 0
Info from https://repo.packagist.org: …
Run Code Online (Sandbox Code Playgroud)

php mongodb laravel jenssegers-mongodb laravel-8

8
推荐指数
1
解决办法
6242
查看次数

标签 统计

jenssegers-mongodb ×1

laravel ×1

laravel-8 ×1

mongodb ×1

php ×1