wget
http://pecl.php.net/get/yaf-2.2.5.tgz
解压
tar zxvf
yaf-2.2.5.tgz
cd
yaf-2.2.5
/usr/bin/phpize
./configure --with-php-config=/usr/bin/php-config
make test
make install
区块目录
ls /usr/lib64/php/modules/
完成^_^!