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');
感谢博主,喝杯咖啡~
感谢博主,喝杯咖啡~
当你觉得自己又丑又穷,一无是处时,别绝望,因为至少你的判断还是对的。