php脚本无法获取指定的环境变量写了个php脚本:
function updateReq(){ exec("python /home/gun/app/clim.py ",$outPut); return $outPut;}
$out = array();exec = ('ls', $out);print_r($out);//可以不可以[解决办法]这个跟你的环境变量有关吧。。