Pecl Install Json On CentOS 5.8

Home » CentOS » Pecl Install Json On CentOS 5.8
CentOS 3 Comments


Any clue about the below issue?

/usr/bin/pecl install json WARNING: channel “” has updated its protocols, use
“channel-update” to update downloading json-1.2.1.tgz … Starting to download json-1.2.1.tgz (17,780 bytes)
……done: 17,780 bytes
11 source files, building running: phpize Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
/usr/bin/phpize: /tmp/tmpJaaJaV/json-1.2.1/build/shtool: /bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your autoconf installation and the
environment variable is set correctly and then rerun this script.

ERROR: `phpize’ failed
[root@bom-bott ~]# ll /bin/sh lrwxrwxrwx 1 root root 4 Mar 30 12:50 /bin/sh -> bash
[root@bom-bott ~]# echo PHP_AUTOCONF
[root@bom-bi1 ~]# echo $PHP_AUTOCONF
[root@bom-bott ~]# whereis autoconf autoconf: /usr/bin/autoconf /usr/local/bin/autoconf
/usr/share/autoconf /usr/share/man/man1/autoconf.1.gz
[root@bom-bott ~]# /usr/bin/pecl install json
[root@bom-bott ~]# whereis phpize phpize: /usr/bin/phpize /usr/share/man/man1/phpize.1.gz

3 thoughts on - Pecl Install Json On CentOS 5.8