These days because of the need to use the Mac to do PHP development, installed a trial version of Mamp Pro, the overall feeling very good, but also free to choose the PHP version, Apache expansion, very convenient to create a website and
First install the MONGODB server:1. Brew Install MongoDB2, modify the vim/usr/local/etc/mongod.conf file, DB Road strength 3, create, modify/data/db, and for writable permission;4, start the service side. Brew Services Start MongoDBInstalling the
In addition, the current MAMP version of PHP is only 5.2.17 and 5.4.4, and the official version of mongo 5.4 is not found. so file. Currently, the PHP version in MAMP is only 5.2.17 and 5.4.4. The compiled version of mongo 5.4 is not found on the
And now the PHP version in Mamp is only 5.2.17 and 5.4.42 versions, the official did not find the compiled 5.4 of the mongo.so file
Reply content:
And now the PHP version in Mamp is only 5.2.17 and 5.4.42 versions, the official did not find the
1. http://www.mongodb.org/downloads download up to date
There are a lot of installation methods online, I am using which homebrew install http://maoa.cn /? Posting = 417
$ Brew install MongoDB
2. http://pecl.php.net/package/mongo to download the
A day's finishing, for reference only!
$a
=
New
Mongo ()
;The above code executes with an error, as follows:
Fatal Error : Class ' Mongo ' not found in /users/mfw/phpstormprojects/keensting/control/exprement.php on line -
I installed the
This article describes how to use brew to build a PHP (LNMPLAMP) development environment in Mac systems. This article describes how to use Brew to manually build a PHP development environment, including Apache, Nginx, PHP, MySQL, MongoDB, PHPMyAdmin,
This article describes how to use brew to build a PHP (LNMPLAMP) development environment in Mac systems. This article describes how to use Brew to manually build a PHP development environment, including Apache, Nginx, PHP, MySQL, MongoDB, PHPMyAdmin,
It is easy to build a lamp development environment under Mac, with a XAMPP and mamp integrated environment. But the integrated environment is cumbersome for developers who often need custom configurations, and the Mac itself, with Apache and PHP, is
This article describes how to use brew to build a PHP (LNMPLAMP) development environment in Mac systems. This article describes how to use Brew to manually build a PHP development environment, including Apache, Nginx, PHP, MySQL, MongoDB,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.