Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Change run user from nt authority\system to AD user - Apache |
|
Author |
|
akkapolk
Joined: 22 Feb 2019 Posts: 6 Location: Bangkok, Thailand
|
Posted: Wed 10 Jul '19 10:32 Post subject: Change run user from nt authority\system to AD user - Apache |
|
|
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
|
Posted: Wed 10 Jul '19 11:35 Post subject: |
|
|
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 |
|
|
|
|
|
|