最新消息: 新版网站上线了!!!

linux centos php安装yaf框架

[root@localhost ~]# wget http://pecl.php.net/get/yaf-3.0.0.tgz
[root@localhost ~]# tar zxvf yaf-3.0.0.tgz
[root@localhost ~]#cd yaf-3.0.0
[root@localhost ~]# /usr/local/php/bin/phpize
[root@localhost ~]#./configure  --with-php-config=/usr/local/php/bin/php-config
[root@localhost ~]# make
[root@localhost ~]#make install
[root@localhost ~]#cd  /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/
[root@localhost ~]# echo "extension=yaf.so" >> /usr/local/php/etc/php.ini
[root@localhost ~]# service php-fpm restart
[root@localhost ~]# php -m

转载请注明:谷谷点程序 » linux centos php安装yaf框架