参考
http://yaf.laruence.com/manual/yaf.install.html
首先要找到php的安装目录,执行info.php,查看php路径
Configuration File (php.ini) Path /etc/php5/apache2
whereis phpize
/usr/bin/phpize
Cannot find config.m4. Make sure that you run /usr/local/bin/phpize in the top level source directory of the module
./configure --with-php-c/bin/php-config
pcre.h: No such file or directory
sudo apt-get install libpcre3-dev
make
sudo make install
vi /ext/php5/apache2/php.ini
service apache2 restart
sudo /etc/init.d/apache2 restart
yaf support Yaf logo enabled Version 2.3.3 Supports http://pecl.php.net/package/yaf
以上就介绍了ubuntu下安装yaf框架,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。