How to install php extension module under linux

王林
Release: 2020-08-26 14:48:38
Original
2948 people have browsed it

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
Copy after login

Unzip the file

#tar zxfv zip-1.12.4.tgz
Copy after login

Enter the unzipped file directory

#cd zip-1.12.4
Copy after login

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
Copy after login

(Related recommendations: php training)

Compile

#make
Copy after login

Test

#make test
Copy after login

Installation

#make install
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!