Can you take a look at:

http://www.php.net/openssl

?

Specifically, the "Note to Win32 Users" section.

It seems like PHP isn't finding the SSL libraries it needs to make an
HTTPS connection.

-alex

On Mar 8, 2:18 am, waqar <[EMAIL PROTECTED]> wrote:
> hello to every one.
> m using my google data provisioning api through zend framework using
> php5.but m getting this error.
>
> Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable
> to Connect to ssl://www.google.com:443. Error #15443224: Unable to
> find the socket transport "ssl" - did you forget to enable it when you
> configured PHP?' in C:\wamp\www\emailmgt\Zend\Gdata\ClientLogin.php:
> 134 Stack trace: #0 C:\wamp\www\emailmgt\em.php(39):
> Zend_Gdata_ClientLogin::getHttpClient('[EMAIL PROTECTED]',123456',
> 'apps') #1 {main} thrown in C:\wamp\www\emailmgt\Zend\Gdata
> \ClientLogin.php on line 134
>
> below is my php code
>
> <?php
>
> $path = '/Zend/Gdata';
> set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> require_once 'Zend/Gdata.php';
> //require_once 'Zend/Gdata/Gapps.php';
> require_once 'Zend/Gdata/ClientLogin.php';
> require_once 'Zend/Gdata/Query.php';
> require_once 'Zend/Loader.php';
> require_once 'Zend/Gdata/App.php';
> require_once 'Zend/Mime.php';
> require_once 'Zend/GData/App/MediaSource.php';
> require_once 'Zend/Gdata/App/HttpException.php';
> require_once 'Zend/Gdata/App/Exception.php';
> Zend_Loader::loadClass('Zend_loader');
> Zend_Loader::loadClass('Zend_Gdata_App');
> Zend_Loader::loadClass('Zend_Mime');
> Zend_Loader::loadClass('Zend_Gdata_Gapps');
> Zend_Loader::loadClass('Zend_Gdata_Query');
> Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
> Zend_Loader::loadClass('Zend_Gdata_App_HttpException');
> Zend_Loader::loadClass('Zend_Gdata_App_Exception');
> Zend_Loader::loadClass('Zend_Version');
>
> $email="[EMAIL PROTECTED]";
>
> $password="mypassword";
>
> $domain="iiu.edu.pk";
>
> $client = Zend_Gdata_ClientLogin::getHttpClient($email, $password,
> Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
>
> $service = new Zend_Gdata_Gapps($client, $domain);
>
> $username="testphp";
>
> $familyName="testlastname";
>
> $givenName="test1";
>
> $password="123456";
>
> $service->createUser($username, $familyName, $givenName, $password,
> $suspended=='false', $quota==null, passwordHashFunction==null);
>
> ?>
>
> loking for ur suggestions.
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to