[英]Can't SOAP compressed PHP output
Hi everybody (please excuse syntax faults, not yet fluent english), 大家好(请原谅语法错误,英语还不太流利),
I'm having trouble getting my SOAPs streams compressed : either I'm having a "Can't uncompress compressed response" or "looks like we got no XML document" error. 我在压缩SOAP流时遇到麻烦:我遇到了“无法解压缩压缩响应”或“看起来好像我们没有XML文档”错误。
I'm using PHP 5.3.3 Suhoshin and apache2 on a Debian. 我在Debian上使用PHP 5.3.3 Suhoshin和apache2。
I cannot debug deeply or snif/snort network frames since I'm working on a colleague's app in which the client and the server are both remote. 由于无法在客户端和服务器都处于远程状态的同事的应用程序上工作,因此无法进行深度调试或截断/吹吸网络框架。
So, I tried the following : 因此,我尝试了以下方法:
Is zlib enabled on your install of php? 在安装php时启用了zlib吗?
I'm having similar trouble. 我也有类似的麻烦。 I have 2 systems, one where it work, and one where it doesn't. 我有2个系统,其中一个在它可以工作的地方,而另一个在它不能工作的地方。
On the one that works, if I call phpinfo() I get 在一个可行的方法上,如果我调用phpinfo(),我会得到
Configure Command => …(lots of stuff)… '--enable-zip' …(more stuff)…
and later on 后来
zlib
ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.5
Linked Version => 1.2.5
But on the one that doesn't work, the '--enable-zip' was not there, and there is no zlib section. 但是在不起作用的那个文件上,'-enable-zip'不存在,并且没有zlib节。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.