-
Notifications
You must be signed in to change notification settings - Fork 209
Description
Using the Windows DLLs provided by PECL to use MongoDB with PHP and Apache. Windows 7 x64. I tried a variety of PHP versions (7.0.11, 7.0.9, 7.0.8 and 7.0.5), and a couple Apache versions (2.4.18 and the latest 2.4.23) all with same result.
The driver appears to be loaded correctly, as I can instantiate and interact with a variety of driver-related classes like MongoDB\BSON\UTCDateTime
, but as soon as I try to create a connection like
$manager = new MongoDB\Driver\Manager("mongodb://localhost:27017");
My process crashes and I get ERR_CONNECTION_RESET
. The apache error log will show something like:
[mpm_winnt:notice] [pid 11244:tid 524] AH00428: Parent: child process 10756 exited with status 255 -- Restarting.
All drivers up to and including 1.1.8 working fine with all of the above php/apache versions. Additionally, there are no issues with any of the 1.2.0 drivers when using PHP's built-in web server.