设为首页 加入收藏

TOP

Install MongoDB driver for PHP on XAMPP for Mac OSX
2019-09-03 03:35:40 】 浏览:44
Tags:Install MongoDB driver for PHP XAMPP 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  
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇c# Sqlite帮助类 下一篇达梦7的试用 与SQLSERVER的简单技..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目