note 123452 added to mongodb.installation.homebrew

From: Date: Tue, 18 Dec 2018 17:29:58 +0000
Subject: note 123452 added to mongodb.installation.homebrew
Groups: php.notes 
Request: Send a blank email to php-notes+get-209921@lists.php.net to get a copy of this message
How to install on macOS Mojave Start with: sudo pecl install mongodb To check if mongodb package is installed, look for "mongodb" when you run: pecl list To get your installed mongodb.so path, run: pecl list-files mongodb | grep mongodb.so then remove (or comment out) on your php.ini file: extension="mongodb.so" (I could not found a line with extension="php_mongodb.so") now insert a line with: extension="{{the path to your installed mongodb.so}}" Run this command to get your ext-*.ini directory path: php -i | grep Scan Create your ext-mongodb.ini with: touch {{your conf.d path}}/ext-mongodb.ini like: touch /usr/local/etc/php/7.1/conf.d/ext-mongodb.ini Restart your apache to read the new configuration Sanity check with: php -i | grep mongodb Your're ready to go. ---- Server IP: 208.43.231.9 Probable Submitter: 2804:14d:5ce0:ab84:4549:9f3f:5d80:a0e1 ---- Manual Page -- http://php.net/manual/en/mongodb.installation.homebrew.php Edit -- https://master.php.net/note/edit/123452 Del: integrated -- https://master.php.net/note/delete/123452/integrated Del: useless -- https://master.php.net/note/delete/123452/useless Del: bad code -- https://master.php.net/note/delete/123452/bad+code Del: spam -- https://master.php.net/note/delete/123452/spam Del: non-english -- https://master.php.net/note/delete/123452/non-english Del: in docs -- https://master.php.net/note/delete/123452/in+docs Del: other reasons-- https://master.php.net/note/delete/123452 Reject -- https://master.php.net/note/reject/123452 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209921) next »