我是 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)