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>
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.