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!

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:
    51
    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:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Guillaume_Desp

    Guillaume_Desp Registered

    Joined:
    Jul 30, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    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:
    166
    No. You have only cpanel access? Does you have WHM access as root?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Guillaume_Desp

    Guillaume_Desp Registered

    Joined:
    Jul 30, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    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

  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