|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-01-11 11:02 UTC] laruence@php.net
-Status: Open
+Status: Feedback
[2016-01-11 11:02 UTC] laruence@php.net
[2016-01-11 14:36 UTC] humbads at alum dot mit dot edu
-Status: Feedback
+Status: Open
[2016-01-11 14:36 UTC] humbads at alum dot mit dot edu
[2016-01-15 16:23 UTC] erik5 at pair dot com
[2021-03-23 16:41 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2021-03-23 16:41 UTC] cmb@php.net
[2021-04-04 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 23:00:01 2025 UTC |
Description: ------------ PHP crashes with a "bus error" message when calling the SoapClient constructor with any WSDL URL and no options. Everything works fine if WSDL caching is disabled. Strangely, everything also works fine when running the sample code from the command line like this: php -r 'var_dump(new SoapClient("http://www.webservicex.com/globalweather.asmx?wsdl"));' Here are my SOAP settings - everything should be default: php -i | grep -i soap soap Soap Client => enabled Soap Server => enabled soap.wsdl_cache => 1 => 1 soap.wsdl_cache_dir => /tmp => /tmp soap.wsdl_cache_enabled => 1 => 1 soap.wsdl_cache_limit => 5 => 5 soap.wsdl_cache_ttl => 86400 => 86400 Notes: * The test script is using a public/free WSDL URL. * Permissions on the /tmp folder are "drwxrwxrwt", and cached wsdl temporary files are being created there fine. * I think PHP is crashing because the error handler is not being triggered in my production code. Test script: --------------- <?php // Disable wsdl cache for workaround // ini_set('soap.wsdl_cache_enabled', 0); var_dump(new SoapClient("http://www.webservicex.com/globalweather.asmx?wsdl")); ?> Expected result: ---------------- object(SoapClient)#1 (2) { ["_soap_version"]=> int(1) ["sdl"]=> resource(17) of type (Unknown) } Actual result: -------------- Bus error