Home  >  Article  >  php教程  >  Install PHP's mongodb extension operation command under Ubuntu

Install PHP's mongodb extension operation command under Ubuntu

高洛峰
高洛峰Original
2017-03-21 14:43:001686browse

Download the source code of PHP's mongodb extension at https://pecl.php.net/package/mongo

$ 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

For more related articles about installing PHP's mongodb extension operation command under Ubuntu, please pay attention to PHP Chinese website!

Related articles

About the problem that ubuntu 16 cannot install php5.6

Open php debugging mode under Ubuntu and display error messages

Solution to ERROR 1045 (28000) when logging in when installing mysql5.7.17 on ubuntu16.04 ) question

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