Home > Article > Operation and Maintenance > How to install php extension module under linux
How to install PHP extension module under Linux: 1. Download and decompress the extension module file; 2. Enter the decompression directory and execute the [./configure] command to configure the installation environment; 3. Execute the [make&make install] command. Just install it.
You can use the compilation and installation method, as follows:
(Recommended tutorial: linux tutorial)
//下载文件 #wget http://pecl.php.net/get/zip-1.12.4.tgz //解压文件 #tar zxfv zip-1.12.4.tgz //进入到解压文件目录 #cd zip-1.12.4 //检查系统配置开始配置,指定安装 PHP 的时候的配置 #./configure --with-php-config=/usr/local/php-5.2.17/bin/php-config //编译 #make //测试 #make test //安装 #make install
Related recommendations: php training
The above is the detailed content of How to install php extension module under linux. For more information, please follow other related articles on the PHP Chinese website!