【发布时间】:2014-01-14 11:01:32
【问题描述】:
有人知道如何解决错误(见标题)?
我的代码:
$wsdl = "https://...";
$client = new SoapClient($wsdl, array('trace'=>true, 'login'=>"test",'password'=>"test",
'local_cert' => "C:\xampp1.8.2-2\tomcat\conf\.cer",
'passphrase' => "test"));
$result = $client->findUser($params);
【问题讨论】:
-
出现此错误是因为您没有在 PHP 构建中启用 openssl 扩展。
https流包装器依赖 ext/openssl 来运行。如果你没有,这就是原因。