mac 安装php mongo扩展,无法使用的解决办法


brew install php56-mongo之后,启动php报这个错误

Warning: PHP Startup: mongo: Unable to initialize module

 

解决办法是source安装mongo扩展。

brew reinstall php56-mongo --build-from-source


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM