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?

link|improve this question

12% accept rate
feedback

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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