Jani Taskinen wrote: > Just a little warning: This will lock your machine. > I just spend a while fixing the damages caused by the crash.. > (Maybe I should be using something else than ext2 ?)
I'm using RaiserFS for test PC for Kondara distribution (kernel 2.4.4), ext2 for RedHat (kernel-2.4.7). RedHat didn't freeze when I tested this, so I didn't have problem. (My test PC doesn't crash everytime I test this, but this can crash system) > > And Yasuo, is zlib.output_compression the only php.ini directive > that you need to set? I thought you'd need these too: The only change I've made is zlib.output_compression=Off to On. php.ini-recommended's output buffering default is 4096, so output buffering & compression should be enabled. I change include_path in virtual host definition in httpd.conf, but it wouldn't matter... > > output_handler=ob_gzhandler > output_buffering=On > zlib.output_compression=On According to source, output_buffering=On and output_buffering=4096 have the same effect. I don't set output_handler. This may be the reason why you and I get different behaviour(?)... I thought either zlib.output_compression=on or output_handler=ob_gzhandler enables output compression. I think I've read Zeev's post says "zlib output compression is more efficient than ob_gzhandler". I'm not sure which one is enabled if both is set. -- Yasuo Ohgaki > > On Fri, 26 Oct 2001, Yasuo Ohgaki wrote: > > >>Jani Taskinen wrote: >> >> >>>RH 6.2: linux 2.4.10/glibc 2.1.3/zlib 1.1.3 >>>apache 1.3.22/modssl 2.8.5/openssl 0.9.6b >>> >>>And I just realized I had been testing with the latest CVS which >>>works fine, but when I installed 4.1.0RC1 and started apache >>>and accessed a page with only <?php phpinfo(); ?> linux freezed. >>>So I think it's only a problem within the RC.. >>> >>>--Jani >>> >> >>I'm using distribution called Kondara 2.0 mainly. Before, I >>submit request for testing to the community, I tested with >>RedHat 7.1. I got almost the same result with RedHat 7.1/ >>kernel 2.4.7. It just didn't freeze on the box as in >>Kondara 2.0 box. (Kondara is similar to RedHat 7.1) >> >>I would like to hear from QA team members, if you have >>problem with zlib.output_compression=On or not. >>(Linux/FreeBSD/Solaris/etc) >> >>Test is very simple to perform. >> >>1) Get 4.1.0RC CVS source >>2) Copy php.ini-recommend to php.ini and enable >>zlib.output_compression >> >>zlib.output_compression=On >> >>3) configure/build/install PHP 4.1.0RC >> >>'./configure' \ >>'--with-apxs' \ >>'--disable-short-tags' \ >>'--without-mysql' \ >>'--without-pear' \ >>'--with-zlib' \ >>'--enable-debug' >> >>4) Create test php script containing >><?php phpinfo(); ?> >> >>5) restart httpd, diplay script created as in 4) >> >>6) Stop httpd and check apache error log see if >>memory leak is reported or not. >> >>I've tested on 2 boxes >> >>Kondara-2.0/kernel 2.4.4/glibc 2.2.2/zlib 1.1.3/Apache >>1.3.20/modssl 2.8.4/openssl 0.9.6b >> >>RedHat 7.1/kernel 2.4.7/glibc 2.2.2/zlib 1.1.3/Apache >>1.3.20/modssl 2.8.4/openssl 0.9.6b >> >>This problem wouldn't be special to my environments. >>So please test and submit the result. >> >>-- >>Yasuo Ohgaki >> >> >> >> >> >> > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]