Call to undefined function Zend\Http\Client\Adapter\openssl

For programming and general questions on Zend Framework
Post Reply
Posts: 4
Joined: Fri Dec 21, 2012 8:14 am

Call to undefined function Zend\Http\Client\Adapter\openssl

Post by instynct » Wed Jan 02, 2013 8:52 pm

I'm trying to use Zend Framework with gdata but it's clearly throwing an error and I have no idea why, seems to be internal.

Fatal error: Call to undefined function Zend\Http\Client\Adapter\openssl_error_string() in C:\wamp\bin\php\php5.4.3\library\Zend\Http\Client\Adapter\Socket.php on line 286

Code: Select all

$zend_root = 'C:/wamp/bin/php/php5.4.3/library';
    require_once 'Zend/Loader/StandardAutoloader.php';
$loader = new Zend\Loader\StandardAutoloader(
         Zend\Loader\StandardAutoloader::LOAD_NS => array(
             'Zend'     => $zend_root . '/Zend',
             'ZendGData'=> $zend_root .'/ZendGData',

$service = ZendGData\Photos::AUTH_SERVICE_NAME;
$client = ZendGData\ClientLogin::getHttpClient($ACCOUNT['username'], $ACCOUNT['password'], $service);
$service = new ZendGData\Photos($client);
I could use some major help here. please.

Post Reply