Skip to content

1.2.0 drivers crash when creating connection to a db #428

@jacqueswaller

Description

@jacqueswaller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions