To install lzf, you can use
tar -xvf lzf-xxx.tar
./configure && make && make install
LXIV. 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.
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.
add a note User Contributed Notes
grenier at cgsecurity dot org