Problem with SSL and SOAP when connecting from PHP to Salesforce
Before connecting Salesforce Org to PHP, You need to enable the SSL and SOAP
php_openssl – Should be Enable.
Below is the steps to enable the SSL
Go to xampp\apache\bin and open the php.ini.
and remove semicolon(;)
Now openssl should be enabled.