As you know PHP 8 is released I am excited and want to try it out. But I have a requirement for MongoDB, I tried adding MongoDB dll file of 7.4 to php8, it’s giving the error like.
Warning: PHP Startup: Unable to load dynamic library 'MongoDB' (tried: extmongodb (The specified module could not be found), extphp_mongodb.dll (The specified module could not be found)) in Unknown on line 0
I have added in my php.ini
extension=mongodb
The dll file version is 1.9.0(it is mentioned that it is compatible with php8) but it’s for PHP 7.4, I’m not able to find the dll file for the php8 version specifically can anyone help me here.
Advertisement
Answer
Give it a few days, extensions need to catch up. Right now there are no php8 PECL out there. You can also check out this page here