Reputation: 10210
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
Upvotes: 0
Views: 134
Reputation: 96934
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.
Upvotes: 5