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.

Installing Pecl extension

Discussion in 'General Discussion' started by Guillaume_Desp, Jul 30, 2009.

  1. Guillaume_Desp

    Guillaume_Desp Registered

    Joined:
    Jul 30, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I can not install Pecl extension from c panel . I need it for a Drupal Site... Is there a simple way to catch it ?
     
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Use the following steps from ssh as root.

    Code:
    cd /usr/src
    wget http://pecl.php.net/path/to/package.tar.gz
    tar -zxf package.tar.gz
    cd package
    phpize
    ./configure
    make
    make install
    
    Open php.ini and add the extension as follows

    extension = package.so

    Restart apache.
     
  3. Guillaume_Desp

    Guillaume_Desp Registered

    Joined:
    Jul 30, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thanks David, I'm a beginner , I found a place where manage ssh keys... is it the place to enter the code below ?
     
  4. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    No. You have only cpanel access? Does you have WHM access as root?
     
  5. Guillaume_Desp

    Guillaume_Desp Registered

    Joined:
    Jul 30, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    think I have only c panel access... and my level seems weak to solve this probleme... Maybe will appear a very simple way to do it (as pear.php).

    Thanks for your help
     
Loading...

Share This Page