Created
April 12, 2016 15:02
-
-
Save mikebarkas/68d0f6288d77742eccf70049bab40a05 to your computer and use it in GitHub Desktop.
PHP5.6 SSL Stream Wrapper Issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For local development, remove the SSL certificate check. | |
$client_options = array( | |
'trace' => 'example_trace', | |
'soap_version' => 'example_version', | |
'stream_context' => stream_context_create( | |
array( | |
'ssl' => array( | |
'verify_peer' => FALSE, | |
'verify_peer_name' => FALSE, | |
) | |
) | |
), | |
); | |
$client = new SoapClient($wsdl, $client_options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment