SSL problems using zend framework! [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SSL problems using zend framework! [SOLVED]

Postby graelb » 27. January 2012 06:36

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
graelb
 
Posts: 2
Joined: 27. January 2012 06:16
Operating System: Windows 7 home

Re: SSL problems using zend framework!

Postby Sharley » 27. January 2012 06:47

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. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: SSL problems using zend framework!

Postby graelb » 27. January 2012 06:59

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?
graelb
 
Posts: 2
Joined: 27. January 2012 06:16
Operating System: Windows 7 home

Re: SSL problems using zend framework!

Postby Sharley » 27. January 2012 07:11

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. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 28 guests