function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
admintrmpadmintrmp 

SSL Support on XAMPP

I've got a copy of XAMPP running on my local machine so that I can use it's SSL features to my advantage. However I am getting the following error still and have no idea why!

 

 

Fatal error: Uncaught SoapFault exception: [HTTP] SSL support is not available in this build in C:\xampp\htdocs\salesforce\includes\soapclient\SforceBaseClient.php:155 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://www.sal...', '', 1, 0) #1 [internal function]: SoapClient->__call('login', Array) #2 C:\xampp\htdocs\salesforce\includes\soapclient\SforceBaseClient.php(155): SoapClient->login(Array) #3 C:\xampp\htdocs\salesforce\index.php(15): SforceBaseClient->login('*******@****.com', '*********') #4 {main} thrown in C:\xampp\htdocs\salesforce\includes\soapclient\SforceBaseClient.php on line 155

 

Does anyone have any ideas?

OpenSSL is supposedly installed and phpinfo() agrees.

 

I am running Apache on Windows XP Pro.

Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 

 

Thanks

Message Edited by admintrmp on 04-24-2009 05:32 AM
admintrmpadmintrmp

Okay, I think I have made some progress by enabling the openssl module within the php.ini file.

I have come across the security token problem now and I am trying to solve that.

 

msimondsmsimonds

You need to add your security token to your password login:

 

 

 

$wsdl = '/opt/lampp/htdocs/soapclient_new/partner.wsdl.xml'; $userName = "user@email.com"; $password = "password"; $key = "PEjzXyPHR379rXl3FGMbnMH5" $password = $password.$key; //setup connection $client = new SforcePartnerClient(); $client->createConnection($wsdl); $loginResult = $client->login($userName,$password);

 

 

 

 ~Mike

marklarkmarklark

"by enabling the openssl module within the php.ini"

 

Or, more specifically, adding the line

 

extension=openssl.so

 

to the php.ini file (near the Dynamic Extension section)