zoukankan      html  css  js  c++  java
  • Install MongoDB driver for PHP on XAMPP for Mac OSX

    试了不少方法,最后还是这个最有效。

    [转自:http://thatsimplecode.com/install-mongodb-driver-for-php-on-xampp-for-mac-osx]

    You need to have the following installed in your Mac:

    • MongoDB
    • XAMPP for Mac OSX
    • Homebrew Package Manager

    Type the following in your terminal :

    brew install wget  
    
    brew install autoconf  
    
    sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo  
    

    Add extension=mongo.so to your php.ini file which can be found at /Applications/XAMPP/xamppfiles/etc by default.

    Restart Apache.

    A..nd you are done.

    Tip:  
    To install MongoDB, you can use  
    brew install mongodb  
  • 相关阅读:
    make menuconfig出现乱码
    内存中的变量和值
    is&==
    python小整数池
    生成器
    GIL
    grub rescue问题修复
    期末考试
    期末要求
    选课练习
  • 原文地址:https://www.cnblogs.com/wf225/p/3733606.html
Copyright © 2011-2022 走看看