Today, when installing the MongoDB extension of PHP7 on the Mac, I encountered such a problem. It is too strange. Details are as follows:
The original Mac system
opensslReplace with Pass
brewNew version installed
opensslVersion details are as follows
And PHP extensions
opensslIt has also been opened
MakefileWhen is still a hint
opensslThe version is too low. What the hell is this?
I’ve tried everything I can think of. I’ve really seen ghosts. What’s the situation with the old irons? What should I do? Thank you
I have seen the problem that the HEADER file cannot be found. After processing, I can successfully compile, install and generate it.
mongodb.soModule files, but there is also a simple way to update, not to use
mongodbExtension, that is, using
brew install phpVS-mongodbTo install,
phpVSIs the specific version number, after installation and expansion through
phpIt will take effect! This approach also facilitates management expansion through
brewInstalled extensions will be installed at
/usr/local/etc/php/7.1/conf.d/Directory to generate the corresponding extension configuration files such as
phpIt will be loaded
conf.dThe configuration file for the directory. Thanks, Laotie!