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

From: Date: Fri, 27 May 2016 14:20:18 +0000
Subject: Bug #72274 [NEW]: SOAP error when MS SQLSRV drivers are included in php.ini
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201293@lists.php.net to get a copy of this message
From: mark dot cassie at campdenbri dot co dot uk Operating system: Windows 10 PHP version: 5.6.22 Package: SOAP related Bug Type: Bug Bug description:SOAP error when MS SQLSRV drivers are included in php.ini 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 bug report at https://bugs.php.net/bug.php?id=72274&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72274&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72274&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72274&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72274&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72274&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72274&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72274&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72274&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72274&r=support Expected behavior: https://bugs.php.net/fix.php?id=72274&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72274&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72274&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72274&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72274&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72274&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72274&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72274&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72274&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72274&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72274&r=mysqlcfg

« previous php.bugs (#201293) next »