小编Jan*_*ček的帖子

为什么exec和proc_open在IIS上的不同用户下运行?

我在Windows Server 2012 R2和IIS 8.5上运行我的网站,我遇到了问题.

  • 当我跑exec('whoami'),它返回nt authority\iusr.
  • 当我跑步时proc_open('whoami', $desc, $pipes),结果是iis apppool\mysite.

为什么会这样?

php iis exec proc-open

5
推荐指数
1
解决办法
561
查看次数

标签 统计

exec ×1

iis ×1

php ×1

proc-open ×1