The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem Installing Json

Discussion in 'General Discussion' started by proogammer, Aug 20, 2012.

  1. proogammer

    proogammer Member

    Joined:
    Dec 19, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I get following error while trying to install json, can anyone please help? I am installing it from "Module Installer".

    Code:
    WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net" 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
    Cannot find config.m4.
    Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
    
    ERROR: `phpize' failed
    The json.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    Tidying /usr/local/lib/php.ini...
    No changes
    Tidying /usr/local/cpanel/3rdparty/etc/php.ini...
    No changes
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    This is a known issue when attempting to install the JSON Pecl module through Web Host Manager. For reference, the internal case number is 51399. Feel free to monitor our ChangeLog to determine when a resolution is implemented:

    Change Log

    In the meantime, you can use the following commands to install this module manually:


    Code:
    # mkdir /root/json
    # cd /root/json
    # wget http://pecl.php.net/get/json-1.2.1.tgz
    # tar -xzvf json-1.2.1.tgz
    # cd json-*
    # phpize
    # ./configure
    # make && make install
    # echo "extension=json.so" >> /usr/local/lib/php.ini
    Thank you.
     
Loading...

Share This Page