我正在尝试使用PHP创建一个新的soap客户端。我的代码在远程Web服务器上工作正常,但我试图在我的计算机上本地执行。我正在运行Apache 2.2.25和PHP 5.2.16。
以下是Apache在崩溃之前提供的完整错误消息:
[Wed Dec 11 21:01:09 2013] [notice] Parent: child process exited with status 3221225477 -- Restarting.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.100.102 for ServerName
[Wed Dec 11 21:01:10 2013] [notice] Apache/2.2.25 (Win32) PHP/5.2.16 configured -- resuming normal operations
[Wed Dec 11 21:01:10 2013] [notice] Server built: Jul 10 2013 01:52:12
[Wed Dec 11 21:01:10 2013] [error] (OS 2)The system cannot find the file specified. : Parent: Could not set child process stdout
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.100.102 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.100.102 for ServerName
[Wed Dec 11 21:01:10 2013] [notice] Child 5432: Child process is running
[Wed Dec 11 21:01:10 2013] [crit] (OS 109)The pipe has been ended. : Child 5432: Unable to retrieve the ready event from the parent
我知道新的SoapClient语法是正确的,因为它在我的远程Web服务器上运行良好。
我在扩展文件夹中有php_soap.dll并将其加载到扩展名中。
我是否在PHP和Apache中错误地配置了某些内容?
编辑:我发现了问题所在。 Apache服务器上未启用SSL,SOAP服务器使用SSL。一旦我添加了openssl.dll扩展,该调用就可以了。