Skip to content

Installation Issue With PHP MongoDB Extension on MacOS #2627

Closed Answered by alcaeus
frknasir asked this question in Q&A
Discussion options

You must be logged in to vote

This sounds like an issue that was reported a couple of weeks ago: mongodb/mongo-php-library#1145 (comment)

TL;DR: php was compiled with OpenSSL, the extension with Secure Transport. The linked issue explains how you can compile the driver with OpenSSL instead to avoid the segmentation faults. The upcoming 1.17 release (currently scheduled for early November) will change the default library to OpenSSL on MacOS and only fall back to Secure Transport if OpenSSL could not be found.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@frknasir
Comment options

Comment options

You must be logged in to vote
1 reply
@frknasir
Comment options

Answer selected by jmikola
Comment options

You must be logged in to vote
2 replies
@jmikola
Comment options

@frknasir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants