Remote Bridge no crea usuario

  • Cordial saludo a todos, tengo un problema con remote bridge.


    tengo instalado i-mscp 1.1.1
    instale remote bridge y todo bien, pero al momento de crear el cliente, pongo todos los datos segun corresponde pero no crea nada y me arroja el siguiente error


    Fatal error: Call to undefined function curl_init()


    Segun el error da en esta linea $ch = curl_init('http://admin.hosting-asciisoft.com/remotebridge.php');


    pero no entiendo por que he utilizado este ejemplo para la implementacion
    function dataEncryption($dataToEncrypt, $ResellerUsername) {
    return strtr(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($ResellerUsername), serialize($dataToEncrypt), MCRYPT_MODE_CBC, md5(md5($ResellerUsername)))), '+/=', '-_,');
    }
    $bridgeKey = '';
    $ResellerUsername = '';


    $dataToEncrypt = array(
    'action' => '',
    'reseller_username' => $ResellerUsername,
    'reseller_password' => '',
    'bridge_key' => $bridgeKey,
    'hosting_plan' => '',
    'admin_pass' => '',
    'email' => '',
    'domain' => ''
    );


    $ch = curl_init('http(s)://admin.myserver.tld/remotebrigde.php');
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, 'key='.$bridgeKey.'&data='.dataEncryption($dataToEncrypt, $ResellerUsername));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);


    $httpResponse = curl_exec($ch);
    echo $httpResponse;
    curl_close($ch);


    Agradezco puedan ayudarme a resolverlo. :-/

  • Perdon por la molestia, pero ya logre resolverlo


    para los que depronto lo necesiten es muy sencillo


    deben instalar curl para php


    Code
    1. sudo apt-get install php5-curl
    2. sudo /etc/init.d/apache2 restart