• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Installing JSON on plesk 9.5.3

B

beuzathorb

Guest
Hello,
I'm begginer with plesk and i have a news server with plesk 9.5.3 on Linux 2.6.34.6-xxxx-std-ipv6-64.
On this server, i want to install a script which recquire JSON installed but i found nothing for to learn how to do it.
I thanks JSON was integrate with php 5.2 but no.

Do someone have a solution or a link for to learn how to do it ?

Thanks for answer.
 
JSON is a PHP set of files, you can just simply copy to your webspace and will work.
 
Hello,

what means just a set of files? Can you give me a short Instruction how to do that?
I would like to install Joomla 1.6 which needs json.

BR
 
Hello,

i´ve found a way how it works (Plesk 10 and Suse 10):
- Download the latest rpm from http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/php-json
- Extract the json.so from this rpm and upload it to your webserver
- create a file named json.ini in the following folder: /etc/php5/conf.d/
The file should contain the following:
;php-json extension
extension=json.so
- copy the uploaded file json.so to /usr/lib/php5/extensions/
- restart apache: /etc/init.d/apache2 restart

Now json works fine (sse info.php).

BR
 
Even easier:

Download and use the atomic installer


then install or upgrade PHP

yum update php

json.so is provided by the php-common rpm which should be installed/upgraded by yum.
Then make sure its enabled - if it is already this wont do anything good or bad

perl -pi -e 's/;extension/extension/' /etc/php.d/json.ini

Then make sure its loaded
# php -i phpinfo | grep -i json | grep -v 'Configure'
/etc/php.d/json.ini,
json
json support => enabled
json version => 1.2.1
 
Back
Top