Hi, If you compiled PHP with SSL support it should show up under "Registered Stream Socket Transports". There would also be a section titled "OpenSSL" with "OpenSSL support | enabled" underneath it. If you're using the pre-compiled PHP for Windows you can enable it by uncommenting a line in the php.ini file that adds in the appropriate DLL.
Cheers, -Jeff On Sep 16, 12:54 pm, Shantanu <[EMAIL PROTECTED]> wrote: > Hi Jeff, > I am also getting the same error while trying this code > > Code > ======== > <?php > require_once 'Zend/Loader.php'; > Zend_Loader::loadClass('Zend_Gdata_Photos'); > Zend_Loader::loadClass('Zend_Gdata_ClientLogin'); > Zend_Loader::loadClass('Zend_Gdata_AuthSub'); > > $serviceName = Zend_Gdata_Photos::AUTH_SERVICE_NAME; > $user = "[EMAIL PROTECTED]"; > $pass = "password"; > > $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, > $serviceName); > > // update the second argument to be CompanyName-ProductName-Version > $gp = new Zend_Gdata_Photos($client, "Google-DevelopersGuide-1.0"); > > // In version 1.5+, you can enable a debug logging mode to see the > // underlying HTTP requests being made, as long as you're not using > // a proxy server > // $gp->enableRequestDebugLogging('/tmp/gp_requests.log'); > > $serviceName = Zend_Gdata_Photos::AUTH_SERVICE_NAME; > $client = Zend_Gdata_ClientLogin::getHttpClient($username, $pass, > $serviceName); > > // update the second argument to be CompanyName-ProductName-Version > $gp = new Zend_Gdata_Photos($client, "Google-DevelopersGuide-1.0"); > > try { > $userFeed = $gp->getUserFeed("default"); > foreach ($userFeed as $userEntry) { > echo $userEntry->title->text . "<br />\n"; > }} catch (Zend_Gdata_App_HttpException $e) { > > echo "Error: " . $e->getMessage() . "<br />\n"; > if ($e->getResponse() != null) { > echo "Body: <br />\n" . $e->getResponse()->getBody() . > "<br />\n"; > } > // In new versions of Zend Framework, you also have the option > // to print out the request that was made. As the request > // includes Auth credentials, it's not advised to print out > // this data unless doing debugging > // echo "Request: <br />\n" . $e->getRequest() . "<br />\n";} catch > (Zend_Gdata_App_Exception $e) { > > echo "Error: " . $e->getMessage() . "<br />\n";} > > ?> > > Error is : > ========== > Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with > message 'Unable to Connect to ssl://www.google.com:443. Error #24: > Unable to find the socket transport "ssl" - did you forget to enable > it when you configured PHP?' in E:\xampp\php\PEAR\Zend\Gdata > \ClientLogin.php:138 Stack trace: #0 E:\xampp\htdocs\picasa_test > \test.php(11): Zend_Gdata_ClientLogin::getHttpClient('uer.id...', > 'password', 'lh2') #1 {main} thrown in E:\xampp\php\PEAR\Zend\Gdata > \ClientLogin.php on line 138 > > The phpinfo() (Sorry for the format) > =========================== > PHP Logo > PHP Version 5.2.6 > > System Windows NT SHANTANU-B37C50 5.1 build 2600 > Build Date May 2 2008 18:01:20 > Configure Command cscript /nologo configure.js "--enable-snapshot- > build" "--with-gd=shared" "--with-extra-includes=C:\Program Files > (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C: > \PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" > "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C: > \PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB" > Server API Apache 2.0 Handler > Virtual Directory Support enabled > Configuration File (php.ini) Path C:\WINDOWS > Loaded Configuration File E:\xampp\apache\bin\php.ini > PHP API 20041225 > PHP Extension 20060613 > Zend Extension 220060519 > Debug Build no > Thread Safety enabled > Zend Memory Manager enabled > IPv6 Support enabled > Registered PHP Streams php, file, data, http, ftp, compress.zlib, zip > Registered Stream Socket Transports tcp, udp > Registered Stream Filters convert.iconv.*, string.rot13, > string.toupper, string.tolower, string.strip_tags, convert.*, > consumed, zlib.* > > Zend logo This program makes use of the Zend Scripting Language > Engine: > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies > with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by > Zend Technologies > with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend > Technologies > > PHP Credits > Configuration > PHP Core > Directive Local Value Master Value > allow_call_time_pass_reference On On > allow_url_fopen On On > allow_url_include Off Off > always_populate_raw_post_data Off Off > arg_separator.input & & > arg_separator.output & & > asp_tags Off Off > auto_append_file no value no value > auto_globals_jit On On > auto_prepend_file no value no value > browscap E:\xampp\php\browscap\browscap.ini E:\xampp\php\browscap > \browscap.ini > default_charset no value no value > default_mimetype text/html text/html > define_syslog_variables Off Off > disable_classes no value no value > disable_functions no value no value > display_errors On On > display_startup_errors Off Off > doc_root no value no value > docref_ext no value no value > docref_root no value no value > enable_dl On On > error_append_string no value no value > error_log no value no value > error_prepend_string no value no value > error_reporting 6135 6135 > expose_php On On > extension_dir E:\xampp\php\ext\ E:\xampp\php\ext\ > file_uploads On On > highlight.bg #FFFFFF #FFFFFF > highlight.comment #FF8000 #FF8000 > highlight.default #0000BB #0000BB > highlight.html #000000 #000000 > highlight.keyword #007700 #007700 > highlight.string #DD0000 #DD0000 > html_errors On On > ignore_repeated_errors Off Off > ignore_repeated_source Off Off > ignore_user_abort Off Off > implicit_flush Off Off > include_path .;E:\xampp\php\pear\ .;E:\xampp\php\pear\ > log_errors Off Off > log_errors_max_len 1024 1024 > magic_quotes_gpc On On > magic_quotes_runtime Off Off > magic_quotes_sybase Off Off > mail.force_extra_parameters no value no value > max_execution_time 60 60 > max_input_nesting_level 64 64 > max_input_time 60 60 > memory_limit 32M 32M > open_basedir no value no value > output_buffering no value no value > output_handler no value no value > post_max_size 16M 16M > precision 12 12 > realpath_cache_size 16K 16K > realpath_cache_ttl 120 120 > register_argc_argv On On > register_globals Off Off > register_long_arrays On On > report_memleaks On On > report_zend_debug On On > safe_mode Off Off > safe_mode_exec_dir no value no value > safe_mode_gid Off Off > safe_mode_include_dir no value no value > sendmail_from no value no value > sendmail_path no value no value > serialize_precision 100 100 > short_open_tag On On > SMTP localhost localhost > smtp_port 25 25 > sql.safe_mode Off Off > track_errors Off Off > unserialize_callback_func no value no value > upload_max_filesize 32M 32M > upload_tmp_dir E:\xampp\tmp E:\xampp\tmp > user_dir no value no value > variables_order EGPCS EGPCS > xmlrpc_error_number 0 0 > xmlrpc_errors Off Off > y2k_compliance On On > zend.ze1_compatibility_mode Off Off > > apache2handler > Apache Version Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/ > 0.9.8h mod_autoindex_color PHP/5.2.6 > Apache API Version 20051115 > Server Administrator [EMAIL PROTECTED] > Hostname:Port localhost:80 > Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100 > Timeouts Connection: 300 - Keep-Alive: 5 > Virtual Server No > Server Root E:/xampp/apache > Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions > mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file > mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user > mod_cgi mod_dav mod_dav_fs mod_dir mod_env mod_include mod_info > mod_isapi util_ldap mod_log_config mod_mime mod_negotiation > mod_setenvif mod_status mod_ssl mod_autoindex_color mod_php5 > > Directive Local Value Master Value > engine 1 1 > last_modified 0 0 > xbithack 0 0 > > Apache Environment > Variable Value > HTTP_HOST localhost > HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: > 1.9.0.1) Gecko/2008070208 Firefox/3.0.1 > HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/ > *;q=0.8 > HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 > HTTP_ACCEPT_ENCODING gzip,deflate > HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 > HTTP_KEEP_ALIVE 300 > HTTP_CONNECTION keep-alive > HTTP_CACHE_CONTROL max-age=0 > PATH C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C: > \Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files > \Common Files\Adobe\AGL;C:\Program Files\Microsoft SQL Server\90\Tools > \binn\ > SystemRoot C:\WINDOWS > COMSPEC C:\WINDOWS\system32\cmd.exe > PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > WINDIR C:\WINDOWS > SERVER_SIGNATURE <address>Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 > OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 Server at localhost Port > 80</address> > SERVER_SOFTWARE Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/ > 0.9.8h mod_autoindex_color PHP/5.2.6 > SERVER_NAME localhost > SERVER_ADDR 127.0.0.1 > SERVER_PORT 80 > REMOTE_ADDR 127.0.0.1 > DOCUMENT_ROOT E:/xampp/htdocs > SERVER_ADMIN [EMAIL PROTECTED] > SCRIPT_FILENAME E:/xampp/htdocs/picasa_test/t.php > REMOTE_PORT 4103 > GATEWAY_INTERFACE CGI/1.1 > SERVER_PROTOCOL HTTP/1.1 > REQUEST_METHOD GET > QUERY_STRING no value > REQUEST_URI /picasa_test/t.php > SCRIPT_NAME /picasa_test/t.php > > HTTP Headers Information > HTTP Request Headers > HTTP Request GET /picasa_test/t.php HTTP/1.1 > Host localhost > User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: > 1.9.0.1) Gecko/2008070208 Firefox/3.0.1 > Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/ > *;q=0.8 > Accept-Language en-us,en;q=0.5 > Accept-Encoding gzip,deflate > Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 > Keep-Alive 300 > Connection keep-alive > Cache-Control max-age=0 > HTTP Response Headers > X-Powered-By PHP/5.2.6 > Keep-Alive timeout=5, max=100 > Connection Keep-Alive > Transfer-Encoding chunked > Content-Type text/html > > bcmath > BCMath support enabled > > calendar > Calendar support enabled > > com_dotnet > COM support enabled > DCOM support disabled > .Net support enabled > > Directive Local Value Master Value > com.allow_dcom 0 0 > com.autoregister_casesensitive 1 1 > com.autoregister_typelib 0 0 > com.autoregister_verbose 0 0 > com.code_page no value no value > com.typelib_file no value no value > > ctype > ctype functions enabled > > date > date/time support enabled > "Olson" Timezone Database Version 2008.2 > Timezone ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to Google-Picasa-Data-API@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---