宝塔面板7里的Composer报错"putenv() has been disabled for security reasons..."的解决方法

{{ time }}

登录宝塔面板后台

->软件商店

->找到使用的PHP版本

->设置

->"禁用函数"页

->删除putenv