PHP新的SoapClient导致Apache崩溃

时间:2017-03-15 10:33:09

标签: php apache soap

我正在尝试在PHP中设置SoapClient,但它一直在崩溃Apache

这是我的PHP:

try{
    $o_soap = @new \SoapClient(
        "local/path/to/my/wsdl.xml",
        array(
            'exceptions' => true
        )
    );
    var_dump($o_soap->__getFunctions());
}
catch(SoapFault $e){
    die($e->faultstring);
}

这是Apache Log:

[Wed Mar 15 11:26:57.422962 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00428: Parent: child process 8780 exited with status 3221225477 -- Restarting.
[Wed Mar 15 11:26:58.030023 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00455: Apache/2.4.12 (Win32) configured -- resuming normal operations
[Wed Mar 15 11:26:58.030023 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Wed Mar 15 11:26:58.030023 2017] [core:notice] [pid 7516:tid 516] AH00094: Command line: 'httpd.exe -d C:/WEB/Apache24_32bit'
[Wed Mar 15 11:26:58.035024 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00418: Parent: Created child process 9432
[Wed Mar 15 11:27:00.031223 2017] [mpm_winnt:notice] [pid 9432:tid 532] AH00354: Child: Starting 150 worker threads.
[Wed Mar 15 11:27:02.336454 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00428: Parent: child process 9432 exited with status 3221225477 -- Restarting.
[Wed Mar 15 11:27:03.045678 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00455: Apache/2.4.12 (Win32) configured -- resuming normal operations
[Wed Mar 15 11:27:03.045678 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Wed Mar 15 11:27:03.045678 2017] [core:notice] [pid 7516:tid 516] AH00094: Command line: 'httpd.exe -d C:/WEB/Apache24_32bit'
[Wed Mar 15 11:27:03.061278 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00418: Parent: Created child process 9784
[Wed Mar 15 11:27:05.030913 2017] [mpm_winnt:notice] [pid 9784:tid 528] AH00354: Child: Starting 150 worker threads.

已在https://www.wsdl-analyzer.com上检查了WSDL并且没有返回任何错误。

更新

看起来它来自WSDL ......我尝试了另一个(较小的)并得到了预期的结果......

更新2

使用nusoap库解决

0 个答案:

没有答案