PHP php_mongodb.dll for 32bit

29 Views Asked by At

facing the error that my windows server 2019 uses 32bit. now i want to connect from that server with php to my mongodb. I've searched the whole internet for a 32bit version of the php_mongodb.dll but didn't found anything. Please help me!

I've tried to install pecl or pear but both didn't work. Even ChatGPT says I'm hopeless.

PS: PHP-Version: 8.2.0 & Webserver: IIS

Thanks a lot

2

There are 2 best solutions below

1
b126 On BEST ANSWER

You can find all official MongoDB PHP Drivers on GitHub.

Make sure you check first the MongoDB compatibility table to download the appropriate ext+lib version.

0
TonyShark007 On

Okay, I'm very lost.

My Problem was that I've installed the wrong mongodb extension. I've thought that my php version is threaded safe but it was not.

So now I've installed the right php extension and using composer the right library.

Big thank to these two guys, which wanted to help me.