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

Install MongoDB driver for PHP on XAMPP for Mac OSX

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Libérer: 2016-06-06 19:45:02
original
926 Les gens l'ont consulté

试了不少方法,最后还是这个最有效。 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>
Copier après la connexion
<code>brew install autoconf  
</code>
Copier après la connexion
<code>sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo  
</code>
Copier après la connexion

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>
Copier après la connexion
Étiquettes associées:
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Recommandations populaires
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal