Is there a method available through cPanel API to use to setup PEAR and/or install PEAR packages?
Is there a method available through cPanel API to use to setup PEAR and/or install PEAR packages?
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
Great. Thanks Matt!
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.