why is my apache / php is not running under the right user [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this questioni used
echo exec("whoami");
and i got
authority\system
and in my httpd.conf it says
开发者_JAVA技巧User daemon Group daemon
why is it not running on the right user ? also i checked and created the user and restarted apache but still it's running under system
User
and Group
are ignored on non-POSIX systems. You need to modify the relevant service entry instead under Windows.
精彩评论