|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63827 Internal Server Error with SOAPClient and SOAPServer
Submitted: 2012-12-21 09:19 UTC Modified: 2021-08-01 04:22 UTC
Avg. Score:4.4 ± 1.0
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:2 (33.3%)
From: podbi at centrum dot cz Assigned: cmb (profile)
Status: No Feedback Package: CGI/CLI related
PHP Version: 5.4.10 OS: Mac OS X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: podbi at centrum dot cz
New email:
PHP Version: OS:


 [2012-12-21 09:19 UTC] podbi at centrum dot cz
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: 

Test script:
$Server = new SoapServer(NULL, Array('uri' => 'urn:service our_service', 'soap_version' => SOAP_1_2));
$Service = new SOAP_Service($uid);

 $Client = new SoapClient(null, array(
        'location'     => '',
        'uri'          => "urn:service our_service",
        'soap_version' => SOAP_1_2,
        'login'        => '****',
        'password'     => '****',
        'connection_timeout' => 600,
        'exceptions'  => 1,
        'keep_alive'  => 1,
        'trace'       => 1,



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-21 15:19 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-21 15:19 UTC]
Does this still happen to you with any of actively supported
PHP versions[1]?

[1] <>
 [2021-08-01 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 14:01:30 2024 UTC