php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76353 PHP Module for Mongodb not suit for PHP 7.1.17
Submitted: 2018-05-18 01:55 UTC Modified: 2018-06-24 04:25 UTC
From: enda_toni at yahoo dot com Assigned:
Status: No Feedback Package: mongodb (PECL)
PHP Version: 7.1.17 OS: Windows 7 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: enda_toni at yahoo dot com
New email:
PHP Version: OS:

 

 [2018-05-18 01:55 UTC] enda_toni at yahoo dot com
Description:
------------
Please release a php module for PHP7.1.17
because when I load php_mongodb.dll in php.ini
and in ext folder, it is not show in browser(phpinfo())
Here I give details of 2 module of php version (mongodb, and mbstring)

I got this file from this (https://windows.php.net/downloads/pecl/releases/mongodb/1.4.3/php_mongodb-1.4.3-7.1-ts-vc14-x64.zip)

Expected result:
----------------
The new version of php_mongodb.dll (php 7.1.17)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-05-19 00:37 UTC] enda_toni at yahoo dot com
the downloaded file for PHP 7.1.16.
please response and what should i do now..?
 [2018-05-19 18:33 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2018-05-19 18:33 UTC] ab@php.net
Thanks for the report. Please post the error message you receive and more info about your actual Apache configuration.

Thanks.
 [2018-05-22 23:53 UTC] 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-25 00:51 UTC] enda_toni at yahoo dot com
-Status: Feedback +Status: Open
 [2018-05-25 00:51 UTC] 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-25 01:09 UTC] 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 18:17 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2018-05-25 18:17 UTC] ab@php.net
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.
 [2018-06-24 04:25 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 17:01:30 2024 UTC