1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Installing JSON on plesk 9.5.3

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by beuzathorb, Nov 28, 2010.

  1. beuzathorb

    beuzathorb Guest

    0
     
    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.
     
  2. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
    JSON is a PHP set of files, you can just simply copy to your webspace and will work.
     
  3. Hans-P-Meiser

    Hans-P-Meiser Guest

    0
     
    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
     
  4. Hans-P-Meiser

    Hans-P-Meiser Guest

    0
     
    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
     
  5. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Even easier:

    Download and use the atomic installer

    then install or upgrade 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

    Then make sure its loaded
     
Loading...