A new PPA repo has been updated to the latest Yaf.
Available on Ubuntu 18.04, 20.04, 20.10, and 21.04
> sudo add-apt-repository ppa:mikespook/php-yaf
> sudo apt-get update
> sudo apt-get install php-yaf
本 » PECL 擴充功能未包含於 PHP 中。
安裝此 PECL 擴充功能的訊息可在手冊中標題為 PECL 擴充功能安裝的一章中找到。 更多訊息如新版本,下載,原始文件,維護者訊息以及更新日誌等可以在這裡找到: » http://pecl.php.net/package/yaf.
PECL 擴充功能的 DLL 目前不可用。參閱 在 Windows 上建立章節。
A new PPA repo has been updated to the latest Yaf.
Available on Ubuntu 18.04, 20.04, 20.10, and 21.04
> sudo add-apt-repository ppa:mikespook/php-yaf
> sudo apt-get update
> sudo apt-get install php-yaf
Yaf can be installed from source code by:
cd /path/to/yaf-src/
phpize
./configure
make
sudo make install
Install PHP-YAF to Ubuntu from PPA:
> sudo add-apt-repository ppa:mikespook/php5-yaf
> sudo apt-get update
> sudo apt-get install php5-yaf
Yaf is an PECL extension, thus you can simply install it by:
pecl install yaf