How to manually install plug-ins in php: 1. Install related libraries, such as zlib, curl, xml, etc., and then set "--with-xxx"; 2. Specify the installation path through "phpize", and then pass "make install" command can be installed.
The operating environment of this article: linux5.9.8 system, PHP7.1 version, DELL G3 computer
PHP installation plug-in method
There are two main ways to install plug-ins in PHP:
1. First install the relevant libraries, such as zlib, curl, xml, etc., and then set -- in ./configure when installing PHP. With-xxx (the plug-in you need), just install the trilogy.
2. Some plug-ins are available in the PHP source code package (/path/php/ext), and some need to be downloaded:
cd xxx phpize (指明你的安装路径) ./configure --with-php-config=/usr/local/php/bin/php-config --with-xxx(有些需要其他 with) make make install
Recommended learning: "PHP Video Tutorial 》
The above is the detailed content of How to manually install plug-ins in php. For more information, please follow other related articles on the PHP Chinese website!