Benj
Benj

Reputation: 1204

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.

I'm using PHP 5.3.3 Suhoshin and apache2 on a Debian.

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 :

Upvotes: 0

Views: 1274

Answers (1)

Colin
Colin

Reputation: 2011

Is zlib enabled on your install of php?

I'm having similar trouble. I have 2 systems, one where it work, and one where it doesn't.

On the one that works, if I call phpinfo() I get


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.

Upvotes: 1

Related Questions