drd99007 2012-03-08 21:19
浏览 137
已采纳

$ _SERVER中的PATH是什么?

What is PATH defined in $_SERVER?

I didn't see PATH defined in PHP.net manual. It says PATH_TRANSLATED and PATH_INFO only.

I got following detail in print_r($_SERVER).

[PATH] => /sbin:/usr/sbin:/bin:/usr/bin 
  • 写回答

1条回答 默认 最新

  • doudou521125 2012-03-08 21:22
    关注

    It is the value of the system's PATH environment variable, which is a list of folders that binary commands are looked for in. Running echo $PATH in the terminal should yield the same (or similar, if under a different user) value.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?