Page 1 of 1

SSL problems using zend framework! [SOLVED]

PostPosted: 27. January 2012 06:36
by graelb
Hello! Been using xampp for a long while now, but I'm running into a few errors while trying to set up my zend framework to capture some events from a google calendar.

Running the newest version of Xampp on windows seven home. I've tried reinstalling from a clean state, but to no avail!

Basically, I get an error...

exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #1753081819: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?'


Followed by a stack trace error, and a bunch of null errors (i presume because the script ran into a bunch of empty variables and such).

So my thought is ssl isn't enabled, BUT(!) the XAMPP status page says that ssl is enabled, then when I check the phpinfo.php, down in the PHAR Section, I see...
Phar

Phar: PHP Archive support enabled
Phar EXT version 2.0.1
Phar API version 1.1.1
SVN revision $Revision: 314419 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression enabled
OpenSSL support disabled (install ext/openssl)


I'm at a loss folks. I've been running through a bunch of tutorials, and message boards... Most talk about uncommenting a line in php.ini about openssl, but there is no line in my php.ini file.

Thoughts and suggestions would be appreciated! Let me know if there's any more info I can provide to help.

Thanks,
Cody

Re: SSL problems using zend framework!

PostPosted: 27. January 2012 06:47
by Sharley
Hello Cody.

I believe you may need to uncomment this line in your php.ini file.
Code: Select all
;extension=php_curl.dll

Also you may try adding this line in the extension section of the php.ini file
Code: Select all
extension=php_openssl.dll
as the extension is included in the php\ext folder, then restart Apache.

Please let me know if that helps and gives a change in the PHAR section.

Good luck. :)

Re: SSL problems using zend framework!

PostPosted: 27. January 2012 06:59
by graelb
YES! Thank you so much! I did both for good measure. The second one makes sense to me, it just has php load the openssl dll, but what does curl do?

Re: SSL problems using zend framework!

PostPosted: 27. January 2012 07:11
by Sharley
Cody, basically CURL is a play on words Client for URLs and means it helps to safely transfer files and supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, GOPHER, LDAP, DICT, TELNET and FILE.

The extension allows PHP to access the CURL functions.


I will close this topic and mark it solved.

Please feel free to start a new topic if you have any more issues with XAMPP for Windows.

Best wishes Cody. :)