Environment: centos 5.0,php 5.1.6
Because phpize is required, php-devel is installed. phpize provides a compilation environment for PHP extensions.
wget http://pecl.php.net/get/json -O json-1.2.1.tgz
tar -xf json-1.2.1.tgz
cd json-1.2.1
phpize
./configure
make
make install
echo "; Enable json extension module" >> /etc/php.d/json.ini
echo "extension=json.so" >/etc/php.d/json.ini
http://www.bkjia.com/PHPjc/477967.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477967.htmlTechArticleEnvironment: centos 5.0, php 5.1.6 Because phpize is required, php-devel is installed. phpize provides a compilation environment for PHP extensions. wget http://pecl.php.net/get/json -O json-1.2.1.tgz tar -xf...
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