Bug #72274 [Opn]: SOAP error when MS SQLSRV drivers are included in php.ini

From: Date: Fri, 27 May 2016 14:23:05 +0000
Subject: Bug #72274 [Opn]: SOAP error when MS SQLSRV drivers are included in php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201294@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72274&edit=1 ID: 72274 User updated by: mark dot cassie at campdenbri dot co dot uk Reported by: mark dot cassie at campdenbri dot co dot uk Summary: SOAP error when MS SQLSRV drivers are included in php.ini Status: Open Type: Bug Package: SOAP related Operating System: Windows 10 PHP Version: 5.6.22 Block user comment: N Private report: N New Comment: extension=php_pdo_sqlsrv_55_nts.dll should read extension=php_pdo_sqlsrv_56_nts.dll Previous Comments: ------------------------------------------------------------------------ [2016-05-27 14:20:14] mark dot cassie at campdenbri dot co dot uk Description: ------------ We have just started upgrading from Windows 7 to Windows 10 and I found this problem while testing the upgrade. When I include extension=php_pdo_sqlsrv_55_nts.dll in the php.ini file everything seems to work ok until the page hits the new SoapClient code below at which point it throws an error; PHP Fatal Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https...' : failed to load external entity "https..." This code worked fine under Windows 7 and under Windows Server 2008 r2 SP1 but these errors started after the Windows 10 upgrade, removing the sqlsrv extension fixed the problem. I am using the latest (3.2) version of the MS SQL server drivers Test script: --------------- $client = "https://example.com/WebServices/webservice.svc?wsdl"; $this->soapClient = new SoapClient($client, array('features' => SOAP_SINGLE_ELEMENT_ARRAYS, 'trace' => false, 'exceptions' => true)); Expected result: ---------------- I don't expect to see the error mentioned above, in Windows 7 and Windows Server 2008 r2 the code works ok. Actual result: -------------- PHP Fatal Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https...' : failed to load external entity "https..." ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72274&edit=1

« previous php.bugs (#201294) next »