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!

Failed to download pear/HTTP_OAuth within preferred state "stable"

Discussion in 'General Discussion' started by darkshifty, Sep 5, 2018.

  1. darkshifty

    darkshifty Member

    Joined:
    Oct 14, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Once i try to install the PHP Extension "HTTP_OAuth" via Module installers i receive the following error:

    Failed to download pear/HTTP_OAuth within preferred state "stable", latest release is version 0.3.2, stability "alpha", use "channel://pear.php.net/HTTP_OAuth-0.3.2" to installinstall failed

    Is there a way within WHM that i can manage alpha states aswell.
     
  2. darkshifty

    darkshifty Member

    Joined:
    Oct 14, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    i managed to lower the state by following the following documentation:

    Manual :: Configuring your PEAR setup

    $ pear config-get php_dir
    /usr/share/pear

    $ pear config-set preferred_state alpha

    after my installation i ran

    $ pear config-set preferred_state stable
     
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,815
    Likes Received:
    444
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @darkshifty

    I'm glad to see you were able to resolve the issue you were experiencing and thank you for letting us know how you did so.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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