分享按钮

PHP 一些扩展

默认分类 / 2678人浏览 / 0人评论

Yaconf 安装

第一步

git clone https://github.com/laruence/yaconf.git

第二步

/www/server/php/72/bin/phpize


第三步

./configure --with-php-config=/www/server/php/72/bin/php-config


第四步

make -j


第五步

make install

第六步 对应的php.ini 配置

extension = yaconf

yaconf.directory=/www/wwwroot/easyswoole/ini


使用  \Yaconf::get('redis');





感谢博主,喝杯咖啡~