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

How to install php extension module under linux

王林
王林 Original
2020-08-26 14:48:38 2944browse

How to install the PHP extension module under Linux: 1. Execute the wget command to download the file and decompress it; 2. Enter the decompression directory and check the system configuration; 3. Execute the make command to compile; 4. Execute [make install] command to install.

How to install php extension module under linux

Compilation and installation steps:

(Video tutorial recommendation:Linux tutorial)

Download file

#wget http://pecl.php.net/get/zip-1.12.4.tgz

Unzip the file

#tar zxfv zip-1.12.4.tgz

Enter the unzipped file directory

#cd zip-1.12.4

Check the system configuration and start the configuration, specify the configuration when installing PHP

#./configure --with-php-config=/usr/local/php-5.2.17/bin/php-config

(Related recommendations:php training)

Compile

#make

Test

#make test

Installation

#make install

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