homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

WHM/cPanel Auto Provisioning
Help with WHM-API

10+ Year Member

Msg#: 3619945 posted 5:49 pm on Apr 5, 2008 (gmt 0)

Hi everyone! I have looked everywhere but cant find any decent docs on the cPanel/WHM API. I am building a large Hosting company site and we need to do auto provisioning of accounts and so on..... I am not professing to be the best coder in the world and am having some real problems trying to figure this out.

Does anyone know of a decent class for sending strings to the server to set up / delete / provision accounts on WHM? I have tried the one on PHP-Classes and sourceforge and it does not work. I get fsockopen errors telling me

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://www.domainname.com:2087 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)

if you try to iuse the unsecure protocol in the class, this is what I get.....

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/barak22/public_html/whm.php on line 52

yet I cant find any functions that even look for php_network_getaddresses: getaddrinfo ....

I am stumpped.

OpenSSL is installed and configured. PHP 5. Any input would really be helpful as we need to launch this thing quick. Thanks


Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved