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
dsl239dsl239 

Newbie question -> Fatal error: Uncaught SoapFault exception

I am just getting started with PHP Salesforce integration and am getting the following error when I try to run the sample scripts that are provided:

Fatal error: Uncaught SoapFault exception: [HTTP] SSL support is not available in this build

Please help...I don't know what it could be.
Tran ManTran Man
I assume you are using the PHP 5 toolkit.  What is your platform?  Have you taken a look at the instructions on setting up SSL?  Have you verified that it is correctly configured with phpinfo()?
dsl239dsl239
I am using the PHP5 toolkit

What is confusing me is how to set up SSL on PHP.  I know how to make sure that the site itself has an SSL certificate.

Also, I am using a hosting company and may not be able to configure PHP on their server.  If I cannot configure it, do I need to find a new host or is there a workaround?

Thanks,
Tran ManTran Man
You will need SSL.  As soon as you login to Salesforce, the server returns a serverURL that is https.
marklarkmarklark

What you need to do is:

 

edit your loaded php.ini file to add the SSL library to PHP.

 

if you're on a Unix server, try "php -i | grep php.ini" to find the file's location (otherwise, just look through the output of "php -i"

 

for Unix, you'll add (or uncomment) the following line:

 

extension=openssl.so

 

 

For Windows, add (or uncomment by removing the initial semi-colon) this line

 

extension=php_openssl.dll