我正在使用 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 是关闭的,但应用程序应该打开它?