To install lzf, you can use
gunzip lzf-xxx.tgz
tar -xvf lzf-xxx.tar
cd lzf-xxx
phpize
./configure && make && make install
LZF Functions
簡介
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.
安裝
本 » PECL 擴充功能未包含於 PHP 中。 安裝此 PECL 擴充功能的訊息可在手冊中標題為 PECL 擴充功能安裝的一章中找到。 更多訊息如新版本,下載,原始文件,維護者訊息以及更新日誌等可以在這裡找到: » http://pecl.php.net/package/lzf.
In order to use these functions you must compile PHP with lzf support by using the --with-lzf[=DIR] configure option. You may also pass --enable-lzf-better-compression to optimize LZF for space rather then speed.
Windows users will enable php_lzf.dll inside of php.ini in order to use these functions. 可以從 » PHP 下載頁面或者 » http://snaps.php.net/ 下載此 PECL 擴充功能的 DLL 文件。
Table of Contents
- lzf_compress — LZF compression
- lzf_decompress — LZF decompression
- lzf_optimized_for — Determines what LZF extension was optimized for
LZF
grenier at cgsecurity dot org
06-Sep-2005 04:39
06-Sep-2005 04:39
