#wget http://pecl.PHP.net/get/yaf-2.2.9.tgz #tar zxvf yaf-2.2.9.tgz #cd yaf-2.2.9 [root@bogon yaf-2.2.9]# whereis phpize phpize: /usr/bin/phpize /usr/share/man/man1/phpize.1.gz /usr/bin/phpize [root@bogon yaf-2.2.9]# /usr/bin/phpize Configuring for: php Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 #whereis php-config php-config: /usr/bin/php-config /usr/share/man/man1/php-config.1.gz #./configure --with-php-config=/usr/bin/php-config #make && make install
service apache2 restart
安装完毕: