To install lzf, you can use gunzip lzf-xxx.tgz tar -xvf lzf-xxx.tar cd lzf-xxx phpize ./configure && make && make install