Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my phpinfo(), in the section Apache Environment, I want to change the value of the variable PATH. This is possible? I tried SetEnv PATH /mypath, but it does not work. How do I change the PATH variable environment?

share|improve this question

I'm not personally familiar, but after having a look at this answer to a question over at Stackoverflow, it would seem that the variable you are trying to change isn't actually "set" there.

The author of the answer points out

The variable is accessible in PHP using $_SERVER['PATH_INFO'].

Take a look there.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .