Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

XLIX. LZF Functions

Wprowadzenie

LZF is a very fast compression algorithm, ideal for saving space with only slight speed cost. It can be optimized for speed or space at the time of compilation.

Instalacja

LZF is currently available through PECL http://pecl.php.net/package/lzf.

If PEAR is available on your *nix-like system you can use the pear installer to install the LZF extension, by the following command: pear -v install lzf.

You can always download the tar.gz package and install LZF by hand:

Przykład 1. LZF install by hand

gunzip lzf-xxx.tgz
tar -xvf lzf-xxx.tar
cd lzf-xxx
phpize
./configure && make && make install

You can pass --enable-lzf-better-compression to optimize LZF for space rather then speed.

Windows users can download the extension dll php_lzf.dll from http://snaps.php.net/win32/PECL_STABLE/.

Spis treści
lzf_compress --  LZF compression.
lzf_decompress --  LZF decompression.
lzf_optimized_for --  Determines what LZF extension was optimized for.
 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Podręcznik PHP". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.