Home  >  Article  >  Operation and Maintenance  >  How to install php extension module under linux

How to install php extension module under linux

王林
王林Original
2020-09-29 11:40:292302browse

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.

How to install php extension module under linux

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!

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