ID:               41635
 User updated by:  jln at magentammt dot com
 Reported By:      jln at magentammt dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         SOAP related
 Operating System: FreeBSD 6.2
 PHP Version:      5.2.3
 New Comment:

I'm probably daft, but I can't get zlib compression working:

./configure --enable-soap --enable-fastcgi --with-zlib --with-zlib-dir
--enable-force-cgi-redirect --enable-discard-path
--with-mysqli=/usr/local/bin/mysql_config

followed by make and copy to the proper location, update php.ini,
restart lighttpd. But the http headers don't have any output compression
bits in them... Also the webservice (soap) doesn't work anymore, no
messages just 'http request failed' in the client. The newly build
version of php is used (5.2.4/dev). If I switch to the regular, ports
build, 5.2.3 compression works (not for soap of-course).


Previous Comments:
------------------------------------------------------------------------

[2007-06-26 11:13:37] [EMAIL PROTECTED]

>I'm using the FreeBSD ports system which automatically patches 
>the sources, and that fails on the snapshot.

You don't need any patches or port systems to install the snapshot.
Moreover, they can be causing your problems, that's why I want you to
test clean PHP sources without any third-party patches.
Just grab the sources, ./configure it, make and put the result binaries
to the correct place.

------------------------------------------------------------------------

[2007-06-26 07:48:27] jln at magentammt dot com

I'm using the FreeBSD ports system which automatically patches the
sources, and that fails on the snapshot. Could you indicate which files
you have changed/fixed for this bug? Then I'll try copying those after
the patching on the 5.2.3 files. I searched
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/ but couldn't find any
recent changes.

------------------------------------------------------------------------

[2007-06-25 19:13:31] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

[2007-06-08 14:32:10] jln at magentammt dot com

Description:
------------
Using the SoapServer class in combination with zlib.output_compression
= On (in php.ini) together with FastCGI (Lighttpd 1.4.15 webserver)
results in delays of about 1 minute before the result is available!
Disabling zlib.output_compression and everything goes back to normal.
Using normal pages (i.e. not via SoapServer) works fine with
output_compression. So it appears to be a SoapServer::handle() problem.

This happens even for simple soap error responses, and the bug was
present in every version of PHP 5.x.y and Lighttpd 1.4.x we've tried.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41635&edit=1

Reply via email to