大规模Linux集群架构最佳实践:如何管理上千台服务器pdf下载
[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框架