From: podbi at centrum dot cz Operating system: Mac OS X PHP version: 5.4.10 Package: CGI/CLI related Bug Type: Bug Bug description:Internal Server Error with SOAPClient and SOAPServer
Description: ------------ We have got a simple SOAP server and SOAP client implemented on the same web server in PHP. When we run few commands via SOAP client only the first command results as expected, the next comes with an error. When we switch to PHP 5.3, everything works fine. Here is our error log (for PHP 5.4): [Fri Dec 21 10:13:52 2012] [warn] [client *.*.*.9] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Fri Dec 21 10:13:52 2012] [error] [client *.*.*.9] Premature end of script headers: php.fcgi [Fri Dec 21 10:13:57 2012] [error] mod_fcgid: process /hosting/cgi- bin/*/php.fcgi(11985) exit(communication error), get unexpected signal 11 And here are result headers given by SOAP server: HTTP/1.1 500 Internal Server Error Date: Fri, 21 Dec 2012 09:13:52 GMT Server: Apache Accept-Ranges: bytes Content-Length: 1305 Connection: close Content-Type: text/html Test script: --------------- //Server $Server = new SoapServer(NULL, Array('uri' => 'urn:service our_service', 'soap_version' => SOAP_1_2)); $Service = new SOAP_Service($uid); Server->setObject($Service); $Server->handle(); //Client $Client = new SoapClient(null, array( 'location' => 'https://someaddress.com/server.php', 'uri' => "urn:service our_service", 'soap_version' => SOAP_1_2, 'login' => '****', 'password' => '****', 'connection_timeout' => 600, 'exceptions' => 1, 'keep_alive' => 1, 'trace' => 1, )); var_dump($Client->command()); -- Edit bug report at https://bugs.php.net/bug.php?id=63827&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63827&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63827&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63827&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63827&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63827&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63827&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63827&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63827&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63827&r=support Expected behavior: https://bugs.php.net/fix.php?id=63827&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63827&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63827&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63827&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63827&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63827&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63827&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63827&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63827&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63827&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63827&r=mysqlcfg