使用php / soap / lighttpd的服务器错误

时间:2013-05-16 09:35:37

标签: php soap lighttpd

我正在使用buildroot来构建图像并将其放在交换机上。我启用了lighttpd / soap / php但是当我尝试运行Web界面时出现错误。一个普通的php测试文件可以找到。我有这个web界面在另一个系统上正常工作,我知道代码很好。这是一个配置问题。

以下是我收到的错误:

Warning: SoapClient::SoapClient(http://127.0.0.1:18083/SoftCoreSOAP.wsdl) [soapclient.soapclient]: failed to open stream: Connection refused in /jffs2/usbflash0/ran/www/includes/library.php on line 35

Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://127.0.0.1:18083/SoftCoreSOAP.wsdl" in /jffs2/usbflash0/ran/www/includes/library.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /jffs2/usbflash0/ran/www/includes/library.php:35) in /jffs2/usbflash0/ran/www/includes/library.php on line 45

Fatal error: Call to a member function __soapCall() on a non-object in /jffs2/usbflash0/ran/www/includes/library.php on line 71

从php.info配置:

'./configure' '--target=arm-linux' '--host=arm-linux' '--build=i686-pc-linux-gnu' '--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--disable-gtk-doc' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-all' '--without-pear' '--with-config-file-path=/etc' '--localstatedir=/var' '--enable-soap' '--enable-simplexml' '--disable-cli' '--enable-cgi' '--enable-fastcgi' '--enable-sockets' '--enable-posix' '--enable-spl' '--enable-session' '--with-openssl=/home/buildmaster/svn_main_vm/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr' '--enable-libxml' '--with-libxml-dir=/home/buildmaster/svn_main_vm/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-zlib=/home/buildmaster/svn_main_vm/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr'

这是一个错误日志:

(mod_fastcgi.c.2605) FastCGI-stderr: ---------Filename: 127.0.0.1:18083/SoftCo
reSOAP.wsdl
(mod_fastcgi.c.2605) FastCGI-stderr: NULL client

这是完整的php.info

https://www.dropbox.com/s/jxjdh6g2wc9eb04/Untitled%20Document.htm

关于我没有正确配置的任何想法?

编辑:基本上端口18083已关闭,但应用程序应该打开它吗?

1 个答案:

答案 0 :(得分:0)

我认为你无法访问WSDL文件(http://127.0.0.1:18083/SoftCoreSOAP.wsdl)你得到警告(第二行) - 在接下来的十行中,library.php将一些东西写入输出流,因此标题被发送到客户端 - 然后你想修改第45行的标题 错误和事情变得糟糕;)

因此,尝试使wsdl可以访问