Home  >  Article  >  Backend Development  >  Ubuntu下安装PHP的mongodb扩展操作命令_php技巧

Ubuntu下安装PHP的mongodb扩展操作命令_php技巧

WBOY
WBOYOriginal
2016-05-16 20:11:551212browse

https://pecl.php.net/package/mongo 下载 PHP的mongodb扩展的源码

复制代码 代码如下:

$ wget -c https://pecl.php.net/get/mongo-1.6.9.tgz
$ tar zxvf mongo-1.6.9.tgz
$ cd mongo-1.6.9
$ phpize
$ ./configure
$ make all
$ make test
$ sudo make install
       
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn