代码改变世界

CentOS 5 - 安装PHP MongoDB扩展

2014-09-12 10:45  游乐场123  阅读(199)  评论(0编辑  收藏  举报

For driver developers and people interested in the latest bugfixes, you can compile the driver from the latest source code on » Github. Go to Github and click the "download" button. Then run:

$ tar zxvf mongodb-mongodb-php-driver-<commit_id>.tar.gz
$ cd mongodb-mongodb-php-driver-<commit_id>
$ phpize
$ ./configure
$ make all
$ sudo make install