yaf、yac、yaconf、swoole安装

wget http://pecl.php.net/get/yaf-3.0.3.tgz
tar zxvf yaf-3.0.3.tgz
cd yaf-3.0.3
~/local/php-7.0.9/bin/phpize
 ./configure --with-php-config=/home/users/yourname/local/php-7.0.9/bin/php-config
vim ~/local/php-7.0.9/etc/php.ini

php.ini加so文件

vim ~/local/php-7.0.9/etc/php.ini
[yaf]
extension="yaf.so"

php7 --ri yaf

yaf

yaf support => enabled
Version => 3.0.3
Supports => http://pecl.php.net/package/yaf

Directive => Local Value => Master Value
yaf.library => no value => no value
yaf.action_prefer => Off => Off
yaf.lowcase_path => Off => Off
yaf.use_spl_autoload => Off => Off
yaf.forward_limit => 5 => 5
yaf.name_suffix => On => On
yaf.name_separator => no value => no value
yaf.st_compatible => Off => Off
yaf.environ => product => product
yaf.use_namespace => Off => Off

同理安装yac、yaconf
wget http://pecl.php.net/get/yac-2.0.1.tgz
wget http://pecl.php.net/get/yaconf-1.0.2.tgz
wget http://pecl.php.net/get/swoole-1.8.7.tgz

此条目发表在 php 分类目录。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*


*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>