wget https://pecl.php.net/get/yaf-2.2.9.tgz
php
tar zxvf yaf-2.2.9.tgz
.net
cd yaf-2.2.9
code
/usr/local/php54/bin/phpize
get
./configure --with-php-config=/usr/local/php54/bin/php-config
it
make && make install
io
echo 'extension=yaf.so' >>/usr/local/php54/etc/php.ini
編譯