Home>Article>Operation and Maintenance> How to install php extension module under linux
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.
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!