logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Change run user from nt authority\system to AD user - Apache
Author
akkapolk



Joined: 22 Feb 2019
Posts: 6
Location: Bangkok, Thailand

PostPosted: Wed 10 Jul '19 10:32    Post subject: Change run user from nt authority\system to AD user - Apache Reply with quote

I check run user as code below.
Code:
<?php
echo(exec('whoami'));
?>


Output, run user is nt authority\system as picture below.
https://i.stack.imgur.com/DwpWy.jpg

I can't find the user in Apache2.2\conf\httpd.conf as picture below.
https://i.stack.imgur.com/yFaCl.jpg
Back to top
akkapolk



Joined: 22 Feb 2019
Posts: 6
Location: Bangkok, Thailand

PostPosted: Wed 10 Jul '19 11:35    Post subject: Reply with quote

Solved.
1. Open Services.
2. Right click on Apache2.2.
3. Click Properties.
4. Click Log On tab.
5. Set user.

See picture below:

https://i.stack.imgur.com/pQY3V.jpg
Back to top


Reply to topic   Topic: Change run user from nt authority\system to AD user - Apache View previous topic :: View next topic
Post new topic   Forum Index -> Apache