Re: Soap over SSL and
| From: | Hannes Magnusson | Date: | Fri, 10 Jul 2009 14:48:02 +0000 |
| Subject: | Re: Soap over SSL and | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44910@lists.php.net to get a copy of this message | ||
On Fri, Jul 10, 2009 at 16:38, endrazine<endrazine@gmail.com> wrote:
> David Zülke wrote:
>
>> $c = new SoapClient(
>> 'https://foo/bar.wsdl',
>> array(
>> 'stream_context" => stream_context_create(array(
>> 'ssl' => array(
>> 'verify_peer' => true
>> )
>> ))
>> )
>> );
>
>
> This works and solves the issue, thank you :)
>
> The other methods I have been suggested and have been testing, for
> instance recompiling with --with-curlwrappers do NOT work.
--with-curlwrappers overwrites the builtin stream support to use curl.
The curlwrappers have their own context options:
http://php.net/context.curl
-Hannes