[BlueOnyx:04591] cannot install PHP JSON extension

Jeroen Lettinck jeroen at lettinck.nl
Fri May 21 03:29:12 -05 2010


Dear all,

Hope one of you can point me to the right direction in the following:

I am trying to activate the JSON extension. Using the commands below I tried 
to impment it, but I do not understand the error:

 
[root at hosting1 ~]# 
[root at hosting1 ~]# pear install pecl/json

Warning: require_once(PEAR.php): failed to open stream: Operation not 
permitted in pearcmd.php on line 63
PHP Fatal error:  require_once(): Failed opening required 'PEAR.php' 
(include_path='/usr/share/pear') in /usr/share/pear/pearcmd.php on line 63
[root at hosting1 ~]# 
[root at hosting1 ~]# 
[root at hosting1 ~]# yum install php-pear
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * BlueOnyx: devel.blueonyx.it
 * Solarspeed.net: blueonyx.solarspeed.net
 * addons: centos.mirror.transip.nl
 * base: ftp.nluug.nl
 * extras: centos.mirror.transip.nl
 * updates: ftp.nluug.nl
Setting up Install Process
Package 1:php-pear-1.4.9-6.el5.noarch already installed and latest version
Nothing to do
[root at hosting1 ~]# 


Maybe one of you can help me out?
PHP version is 5.1.6
The extension seems to be standard in 5.2

Thanks in advance for any suggestion,
jeroen


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Blueonyx mailing list