Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem Installing Json

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

  1. proogammer

    proogammer Member

    Dec 19, 2011
    Likes Received:
    Trophy Points:
    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".

    WARNING: channel "" has updated its protocols, use "pecl channel-update" 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 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 Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    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:

    # mkdir /root/json
    # cd /root/json
    # wget
    # tar -xzvf json-1.2.1.tgz
    # cd json-*
    # phpize
    # ./configure
    # make && make install
    # echo "" >> /usr/local/lib/php.ini
    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice