DUDA API YOUTUBE Y ZEND

#1
Que tal vakunos, me gustaria ver quien me puede ayudar, tengo un problemita, estoy tratando de usar la API de Youtube para subir videos desde un sitio web a mi cuenta en Youtube. Pero me sale un error:

Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #180976712: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?' in /home/usuario/public_html/API_Youtube2/Zend/Gdata/ClientLogin.php:141 Stack trace: #0 /home/usuario/public_html/API_Youtube2/proceso.php(28): Zend_Gdata_ClientLogin::getHttpClient('correo@gmail...', 'contraseña', 'youtube', NULL, 'API_YOU', NULL, NULL, 'https://www.goo...') #1 {main} thrown in /home/usuario/public_html/API_Youtube2/Zend/Gdata/ClientLogin.php on line 141

Cuento con las librerias de Zedne y GData y este es el codigo con el que me intento logear y mas...

proceso.php
<?php

require_once 'Zend/Loader.php'; // es la ruta al archivo Loader.php que encontraremos en la libreria zend
Zend_Loader::loadClass('Zend_Gdata_AuthSub');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_YouTube');


/******************** AREA DE CONFIGURACION********************************/

$nextUrl='http://www.misitio.com.ar/recibo_videos.php';//ESTE ES EL ARCHIVO ENCARGADO DE RECIBIR EL CALLBACK QUE NOS DA YOUTUBE, RECIBE LAS BARIABLES status (200 si es correcto) y decibe el id del video que es el mismo que usaremos apra ver el video en http://www.youtube.com/watch?v=Of_x_RyeMK8 donde Of_x_RyeMK8 es el id del video este podemos almacenarlo en una base de datos para luego poder mostrarlo.
$usuario='EMAIL';//usuario de gmail
$contrasena='CONTRASEÑA';//contraseña de gmail
$aplicacion='API_YOU';//un texto corto que identifique nuestra aplicacion
$apiKey= 'ES SECRETA :D';//es la clave de desarrolaldor que sacamos en google

/******************** FIN DEL AREA DE CONFIGURACION ********************************/

$authenticationURL= 'https://www.google.com/youtube/accounts/ClientLogin';//es la url que autoriza nuestros datos para el login
$httpClient = Zend_Gdata_ClientLogin::getHttpClient(
$username = $usuario,
$password = $contrasena,
$service = 'youtube',
$client = null,
$source = $aplicacion,
$loginToken = null,
$loginCaptcha = null,
$authenticationURL);



$httpClient->setHeaders('X-GData-Key', "key=${apiKey}");
$yt = new Zend_Gdata_YouTube($httpClient);

//todo lo anterior es para loguearse a youtube, una vez adentro creamos el video en si.

// aca creaos lo que se llama video entry
$myVideoEntry= new Zend_Gdata_YouTube_VideoEntry();

// seteamos los datos del video, como titulo y descripcion
$mediaGroup = $yt->newMediaGroup();
$mediaGroup->title = $yt->newMediaTitle()->setText($_POST['titulo']);
$mediaGroup->description = $yt->newMediaDescription()->setText($_POST['descripcion']);

//conectamos apra ver si se aprueban las tegorias enviadas
$categoryScheme = 'http://gdata.youtube.com/schemas/2007/categories.cat';
$developerTagScheme = 'http://gdata.youtube.com/schemas/2007/developertags.cat';

$mediaGroup->category = array(
$yt->newMediaCategory()->setText($_POST['categorias'])->setScheme($categoryScheme),
$yt->newMediaCategory()->setText('mydevelopertag')->setScheme($developerTagScheme),
$yt->newMediaCategory()->setText('anotherdevelopertag')->setScheme($developerTagScheme)
);

$mediaGroup->keywords = $yt->newMediaKeywords()->setText($_POST['keys']);
$myVideoEntry->mediaGroup = $mediaGroup;

$tokenHandlerUrl = 'http://gdata.youtube.com/action/GetUploadToken';
$tokenArray = $yt->getFormUploadToken($myVideoEntry, $tokenHandlerUrl);
$tokenValue = $tokenArray['token'];
$postUrl = $tokenArray['url'];


?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<form action="<?php echo $postUrl .''. $nextUrl ;?>" method="post" enctype="multipart/form-data">
<p>&nbsp;</p>
<p>paso 2 de 2 </p>
<table width="100%" border="0">
<tr>
<td>Titulo</td>
<td><?php echo $_POST['titulo'];?></td>
</tr>
<tr>
<td>Descripcion</td>
<td><label><?php echo $_POST['descripcion'];?></label></td>
</tr>
<tr>
<td>Categor&iacute;a</td>
<td><?php echo $_POST['categorias'];?></td>
</tr>
<tr>
<td>Claves</td>
<td><?php echo $_POST['keys'];?></td>
</tr>

<tr>
<td>Video</td>
<td><input name="file" type="file"/></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="submit" type="submit" value="Subir Video" />
<input name="token" type="hidden" value="<?php echo $tokenValue;?>"/></td>
</tr>
</table>
</form>
</body>

</html>

VEN ALGO MAL? SERA CUESTION DE PERMISOS? O QUE PEX? :mota:
 
Arriba