Edit report at https://bugs.php.net/bug.php?id=76353&edit=1
ID: 76353 Updated by: a...@php.net Reported by: enda_toni at yahoo dot com Summary: PHP Module for Mongodb not suit for PHP 7.1.17 -Status: Open +Status: Feedback Type: Feature/Change Request Package: mongodb Operating System: Windows 7 x64 PHP Version: 7.1.17 Block user comment: N Private report: N New Comment: Thanks for the further info. As you use PHP as Apache module, the first suspect is of course, that the dependency DLLs are not on the path. Please check with CLI first, if you're able to load the exts on cli- that's most likely it. Also be sure you use Apache and PHP linked to same CRT. Thanks. Previous Comments: ------------------------------------------------------------------------ [2018-05-25 01:09:16] enda_toni at yahoo dot com @ab. Here is my php.ini config (https://github.com/toni-github/its/blob/master/php.ini) and my apache2 config (https://github.com/toni-github/its/blob/master/httpd.conf) ------------------------------------------------------------------------ [2018-05-25 00:51:04] enda_toni at yahoo dot com @phpdev I've download the file (sasl and openssl). And put in the directory php.exe but still get error, when i execute the command new MongoDB\Driver\Manager("mongodb://127.0.0.1:27017");\ and get error in browser. "Fatal Error: Uncaught Error: Class 'MongoDB Driver Manager' not found in C:\Apache24\htdocs\phpinfo.php:2 Stack Trace: #0 {main} thrown in C:\Apache24\htdocs\phpinfo.php on line 2 ------------------------------------------------------------------------ [2018-05-22 23:53:38] phpdev at ehrhardt dot nl @enda_toni: this version of php_mongodb.dll is dependent on the vc14 x64 version of libsasl.dll, libeay32.dll and ssleay32.dll. They should be in you path or in the directory with php.exe. Download the Sasl and OpenSSL files here: https://windows.php.net/downloads/php-sdk/deps/vc14/x64/ ------------------------------------------------------------------------ [2018-05-19 18:33:43] a...@php.net Thanks for the report. Please post the error message you receive and more info about your actual Apache configuration. Thanks. ------------------------------------------------------------------------ [2018-05-19 00:37:27] enda_toni at yahoo dot com the downloaded file for PHP 7.1.16. please response and what should i do now..? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76353 -- Edit this bug report at https://bugs.php.net/bug.php?id=76353&edit=1 -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php