Php and SSL

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

Php and SSL

Postby sljm » 31. December 2007 00:27

Hi i was using Php to write some programs using Google's Calendar API and i ran into this error


Code: Select all
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #37434112: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?' in I:\xampp\htdocs\Gcalendar\Zend\Gdata\AuthSub.php:114 Stack trace: #0 I:\xampp\htdocs\Gcalendar\loggedin.php(18): Zend_Gdata_AuthSub::getAuthSubSessionToken('CL3B6_O_CBDM6bp...') #1 {main} thrown in I:\xampp\htdocs\Gcalendar\Zend\Gdata\AuthSub.php on line 114


I assume it was SSL not being enabled in PHP.ini and i went in and uncomment the line.

Code: Select all
extension=php_openssl.dll


It still didn't work same error, is there anything else i need to do?
sljm
 
Posts: 2
Joined: 31. December 2007 00:23

Postby Izzy » 31. December 2007 00:32

I assume it was SSL not being enabled in PHP.ini and i went in and uncomment the line.

Which php.ini file did you edit?

The correct file can be found by running the phpinfo.php file from:
http://localhost/xampp/phpinfo.php

The file to edit is usually xampp\apache\bin\php.ini
http://www.apachefriends.org/en/faq-xam ... tml#phpini


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby sljm » 02. January 2008 01:48

Oh okies thanks, i will try that, the file i edited was \xampp\php\php.ini
sljm
 
Posts: 2
Joined: 31. December 2007 00:23


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 102 guests