Having a mare with this. I'm trying to install the latest PHP mongo DB Drivers. I've looked everywhere and tried everything suggested but it will not get passed this error:
In file included from /private/tmp/pear/install/mongodb/src/contrib/php-ssl.c:31:
/private/tmp/pear/install/mongodb/src/contrib/php-ssl.h:33:10: fatal error: 'openssl/evp.h' file not found
include <openssl/evp.h>
^
1 error generated.
make: *** [src/contrib/php-ssl.lo] Error 1
ERROR: `make' failed
My system / setup:
OS X El Capitain v 10.11.6
PHP 7.1.0
Apache
I'm using this command to install it: sudo pecl install mongodb
I've tried the:
$ brew install openssl
$ brew link openssl --force
but that no longer works...and any of the latest workarounds for that do not work either
I've even tried going "rootless" but to no avail.