Home > Backend Development > PHP Tutorial > PECL source code compilation and installation

PECL source code compilation and installation

WBOY
Release: 2016-08-08 09:21:02
Original
1662 people have browsed it

Find the extension source code to download at https://pecl.php.net/,
Here we take the MongodB extension as an example.

Download the mongodb database driver source code at https://pecl.php.net/package/mongo. Then compile and install.

<code>wget -c https://pecl<span>.php</span><span>.net</span>/get/mongo-<span>1.6</span><span>.10</span><span>.tgz</span>
tar zxvf mongo-<span>1.6</span><span>.10</span><span>.tgz</span>
cd mongo-<span>1.6</span><span>.10</span>phpize --clean
phpize
./configure
make
make install</code>
Copy after login

Copyright Statement: This article is the original article of the blogger and may not be reproduced without the permission of the blogger.

The above introduces the PECL source code compilation and installation, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template