Welcome, Guest
Username Password: Remember me

ERROR: json library is not installed
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: ERROR: json library is not installed

ERROR: json library is not installed 14 years, 7 months ago #238

  • pito
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
I would like to ask if someone can help me in connection with Extensions topic. I can not customize my web portal because of " ERROR: json library is not installed"....


Thanks

Pito

ERROR: json library is not installed 14 years, 7 months ago #1608

  • fradp
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
I also can not customize my web portal because of " ERROR: json library is not installed".

Why nobody answers?????

ERROR: json library is not installed 14 years, 7 months ago #1613

  • louminsk
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Same error here..joomla 1.5.15

ERROR: json library is not installed 14 years, 7 months ago #1614

  • louminsk
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
ok problem solve
my server is running centos and the json library is nost installed

i was following this
Installing JSON on CentOS 5.4

I’ve been toying around with ExtJS for the past few days and wanted to start using JSON to insert data into my widgets. To my surprise (or lack thereof) CentOS does not include the JSON library with any of the default installed binaries. Below is how to go about installing JSON support for php:

Update PHP

yum update php

Install the PHP development package

yum install php-devel

Install pear for php

yum install php-pear

Use pecl (from pear installation) to buildinstall JSON

pecl install json

Create json.ini for your php installation

echo "extension=json.so" > /etc/php.d/json.ini

Reload Apache

service httpd restart

At this point, if you see the below when you look at the output of phpino(); you have successfully installed json.

ERROR: json library is not installed 14 years, 7 months ago #1631

  • pearj
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
The reason json isn't in Centos 5.4 is because the json libaries are only included in php 5.2.0 and above.
php.net/manual/en/function.json-encode.php
Centos 5.4 only uses PHP 5.1.6 by default. So you either have to use the pecl extension above. Or install PHP from a different repository.
  • Page:
  • 1
Time to create page: 0.09 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.