Cant install mongodb with laravel 10 and php 8^

hi,
been trying to follow the guide on site for integrating mongodb to laravel on a windows 10 machine
but the problem is it is written to php 7.4
once working with php 8^ we get a whole host of problems most of which are fixable since they are deprecations or function arguments errors.
the big problem is the following errors i get when running “pecl install mongodb”:

Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR\Downloader\Package.php on line 1511

Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR\Downloader\Package.php on line 1521

Warning: Trying to access array offset on value of type bool in PEAR\REST.php on line 186

Warning: Trying to access array offset on value of type bool in D:\work\Softwares\xampp\php\pear\PEAR\REST.php on line 186

Warning: fsockopen(): Unable to connect to ssl://pecl.php.net:443 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in PEAR\REST.php on line 432
No releases available for package "pecl.php.net/mongodb"
install failed

don’t know how to solve them and have no leads in google.
any help will be much appreciated and also an updated guide

1 Like

On Windows, you’ll have to grab the correct DLL for the driver, which are attached to each GitHub release. As documented in the Windows Installation Instructions, you’ll have to ensure to get the correct version for your system.

1 Like

did you solve this issue ?