note 73050 added to ref.soap

From: Date: Wed, 07 Feb 2007 14:32:08 +0000
Subject: note 73050 added to ref.soap
Groups: php.notes 
Request: Send a blank email to php-notes+get-123044@lists.php.net to get a copy of this message
I recently found that when using SoapClient with client certificates (the 'local_cert' and 'passphrase' options), PHP needs to have CURL enabled. (At least with PHP 5 and Apache on Windows) I kept getting errors like this: Unable to set local cert chain file `filename.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in somescript.php on line ## I tried everything I could find on the net (correct .pem format, constructing and passing my own stream context, etc) but nothing would work. Enabling CURL (by uncommenting extension=php_curl.dll in php.ini) instantly caused my client to work. ---- Server IP: 69.147.83.197 Probable Submitter: 83.160.27.115 (proxied: unknown) ---- Manual Page -- http://www.php.net/manual/en/ref.soap.php Edit -- https://master.php.net/note/edit/73050 Del: integrated -- https://master.php.net/note/delete/73050/integrated Del: useless -- https://master.php.net/note/delete/73050/useless Del: bad code -- https://master.php.net/note/delete/73050/bad+code Del: spam -- https://master.php.net/note/delete/73050/spam Del: non-english -- https://master.php.net/note/delete/73050/non-english Del: in docs -- https://master.php.net/note/delete/73050/in+docs Del: other reasons-- https://master.php.net/note/delete/73050 Reject -- https://master.php.net/note/reject/73050 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123044) next »