Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    4

    Default PEAR Packages

    Is there a method available through cPanel API to use to setup PEAR and/or install PEAR packages?

  2. #2
    cPanel Staff cPanelMatt's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default

    Yes, this can be done via the LangMods API2 module:

    ApiLangMods < ApiDocs/Api2 < TWiki

    This operates on a per-user basis and if you want to use it via the XMLAPI you will need to use the XML-API's cpanel call to do so:

    CallingAPIFunctions < AllDocumentation/AutomationIntegration < TWiki
    Matt Dees
    Integration Developer
    cPanel, Inc.
    cPanel Integration Blog

  3. #3
    Registered User
    Join Date
    Jun 2010
    Posts
    4

    Default

    Great. Thanks Matt!

  4. #4
    Registered User
    Join Date
    Jun 2010
    Posts
    4

    Default

    Hi Matt,

    Thanks for your help! I got it working.

    I don't know who this should be reported to, but the LangMods::install function does not return what it says it does. The install happens, but the response is empty. The other functions in the list return an XML object as they should.

    Because there's no response, at first I thought the modules weren't installing, because I was checking for a status=1 in the object.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 12-15-2008, 10:10 AM
  2. Replies: 1
    Last Post: 12-15-2008, 10:10 AM
  3. WHM - Rogue packages in Packages
    By IkoIko in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-18-2007, 11:26 AM
  4. Replies: 2
    Last Post: 12-20-2004, 03:00 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube