I forgot the article ~ ~ ~
Install PHP development Framework under Linux YAF
Yaf Framework Chinese Manual: http://yaf.laruence.com/manual/index.html
YAF Manual: Http://www.php.net/manual/en/book.yaf.php
1. Download and install the YAF extension http://pecl.php.net/package/yaf
#wget Http://pecl.php.net/get/yaf-2.2.9.tgz#tar zxvf yaf-2.2.9.tgz#cd yaf-2.2.9[[email protected] yaf-2.2.9]# Whereis Phpizephpize:/usr/bin/phpize/usr/share/man/man1/phpize.1.gz/usr/bin/phpize[[email protected] yaf-2.2.9]#/usr/bin /phpizeconfiguring for:php API version:20090626zend Module API no:20090626zend Extension API No:220090626#whereis php-c Onfigphp-config:/usr/bin/php-config/usr/share/man/man1/php-config.1.gz#./configure--with-php-config=/usr/bin/ Php-config#make && make Install
2. Add extension configuration to PHP. ini
Add a line to the/etc/php.ini file
Extension=yaf.so
Restart the webserver.
If Phpinfo doesn't see the yaf extension (I'm having this problem)
The last step can replace the perfect path
extension= "/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/yaf.so"
Install PHP development Framework under Linux YAF