Re: Compression to RAM
| From: | AK47 | Date: | Sun, 09 Jul 2000 23:20:46 +0000 |
| Subject: | Re: Compression to RAM | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5656@lists.php.net to get a copy of this message | ||
> Check out gzcompress()
Fine... but... I see It's a 4.0.1 feature and on my system neither
4.0.1 nor 4.0.1pl2 seems to work (while 4.0.0 is perfect): Apache
dies before it can write a single line on the log file. I have
compiled v4.0.2 on three different systems (a dual PII, a K6
and a K7), all running RedHat 6.1 but with different kernel
versions. Apache is 1.3.12 patched with apache-1.3.12+ssl-1.39
(I've tried also with apache-1.3.12+ssl-1.40), openssl is 0.9.5a
and these additional DSO modules:
- mod_perl 1.24 (tried with this module unloaded, also)
- mod_bandwidth (tried with this module unloaded, also)
- mod_put (tried with this module unloaded, also)
- php 3.0.16 (tried with this module unloaded, also)
Apache is configured this way:
./configure \
--prefix=/usr \
--with-layout=RedHat \
--enable-module=all \
--enable-shared=max \
--disable-rule=WANTHSREGEX \
--disable-module=auth_dbm \
--with-perl=/usr/bin/perl \
--enable-suexec \
--suexec-docroot=/home/httpd/html \
--suexec-caller=nobody \
--add-module=mod_bandwidth.c \
--add-module=mod_put.c
PHP 4 is configured this way:
./configure \
--with-mysql=/usr \
--with-zlib \
--with-xml \
--with-gd \
--with-config-file-path=/etc/httpd/conf \
--enable-versioning \
--with-apxs=/usr/sbin/apxs \
--enable-memory-limit \
--enable-track-vars \
--enable-trans-sid
On a fourth machine (an old Am5x86 133MHz with 32Mb RAM, RedHat
Linux 6.1, kernel 2.2.16) with the same Apache/PHP configuration,
Apache starts, but I get a segmentation fault each time a gzopen()
is called.
Any idea?