Reputation: 594
I check run user as code below.
<?php
echo(exec('whoami'));
?>
Output, run user is nt authority\system as picture below.
I can't find the user in Apache2.2\conf\httpd.conf
as picture below.
Upvotes: 4
Views: 1896
Reputation: 594
Solved.
1. Open Services.
2. Right click on Apache2.2.
3. Click Properties.
4. Click Log On tab.
5. Set user.
Upvotes: 4