Home >Backend Development >PHP Tutorial >Install PHP's mongodb extension operation command under Ubuntu

Install PHP's mongodb extension operation command under Ubuntu

WBOY
WBOYOriginal
2016-07-25 08:45:02834browse

Download the source code of PHP’s mongodb extension at https://pecl.php.net/package/mongo
Copy the code The code is as follows:
$ 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

Ubuntu, PHP, mongodb


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