Server Fault is a question and answer site for system and network administrators. 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

I've added the directory of php.exe to PATH variable,and it's available for administrator,but it's not available for user daemon.

But it's available after rebooting,why is rebooting necessary?Is there some trick to replace rebooting?

share|improve this question

Changes to environment variables should be seen immediately by any new processes. Existing processes that are already running will continue to have their existing environment until they are restarted.

You should also make sure you were updating the system variables and not the user-specific variables for the administrator account.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.