php exec: does not return output

前端 未结 10 1072
有刺的猬
有刺的猬 2020-12-01 17:20

I have this problem: On a ISS web server, windows 7 x64 professional, zend server installed. Running this command under php:

exec(\'dir\',$output, $err);
         


        
10条回答
  •  伪装坚强ぢ
    2020-12-01 17:38

    For security purposes, your server may have restricted access to "exec" command. In this case, maybe you should contact the hosting company to remove this restriction (if there is one).

提交回复
热议问题