Tag Archive for 'gzip'

Fix PHP Warning: ob_gzhandler()

essential configurations from the 'php.ini' file:

output_buffering = 4096
output_handler =
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func=
allow_call_time_pass_reference = Off

If I set "output_handler = ob_gzhandler" and remove theob_start("ob_gzhandler")
 from the script it's working on 4.3.0 as well.However, this way the compression
 is always on and I can't determinemyself when to use it.
Source http://bugs.php.net/bug.php?id=21228

How can I extract a tar.gz or .tgz file?

How can I extract a tar.gz or .tgz file?

Files with extension tar.gz or .tgz are tar files compressed with gzip. On Unix extract them with:

    gunzip < file.tar.gz | tar xvf -
gunzip < file.tgz    | tar xvf -



Cerrar
Enviar por Correo