標籤:http io os ar java for 檔案 sp 問題
本人備忘的文章~~~
Linux下安裝php開發架構yaf
yaf架構中文手冊:http://yaf.laruence.com/manual/index.html
yaf手冊:http://www.php.net/manual/en/book.yaf.php
1.下載並安裝yaf擴充 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-configphp-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.添加擴充配置到PHP.ini
在/etc/php.ini檔案裡添加一行
extension=yaf.so
重啟webserver 即可。
如果phpinfo看不到yaf擴充(我就遇到了這個問題)
最後一步可以替換成全路徑
extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/yaf.so"
Linux下安裝php開發架構yaf