yaf 查看配置

yaf 查看配置

# /usr/local/php7.2/bin/php --ri yaf

yaf

yaf support => enabled
Version => 3.0.9
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

修改php.ini

;yaf
yaf.use_spl_autoload = 1

重启后,再次查看

# /usr/local/php7.2/bin/php --ri yaf
yaf

yaf support => enabled
Version => 3.0.9
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 => On => On
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

配置改变了

你可能感兴趣的:(yaf 查看配置)