Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.