首頁 > php教程 > php手册 > Install MongoDB driver for PHP on XAMPP for Mac OSX

Install MongoDB driver for PHP on XAMPP for Mac OSX

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
發布: 2016-06-06 19:45:02
原創
926 人瀏覽過

试了不少方法,最后还是这个最有效。 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/XA

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

You need to have the following installed in your Mac:

  • MongoDB
  • XAMPP for Mac OSX
  • Homebrew Package Manager

Type the following in your terminal :

<code>brew install wget  
</code>
登入後複製
<code>brew install autoconf  
</code>
登入後複製
<code>sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo  
</code>
登入後複製

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.

<code>Tip:  
To install MongoDB, you can use  
brew install mongodb  </code>
登入後複製
相關標籤:
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
Ubuntu apt-get install 無反應
來自於 1970-01-01 08:00:00
0
0
0
javascript - npm install報錯,求救大神
來自於 1970-01-01 08:00:00
0
0
0
ubuntu apt-get install update 無法更新
來自於 1970-01-01 08:00:00
0
0
0
laravel 專案 composer install Error for mac
來自於 1970-01-01 08:00:00
0
0
0
熱門推薦
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板