Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] Compression to RAM From: AK47 (ak47 <email protected>)
Date: 07/09/00

> 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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>