troubleshooting Question

How to add a user to Apache on a Windows 10 platform

Avatar of dogsareit
dogsareitFlag for United States of America asked on
4 Comments1 Solution15 ViewsLast Modified:
This is my developing environment:
Windows 10
Apache 2.4.41
PHP 5.6.40
MS SQL 2008 (and 2014)
I receive 'denied permission" on some of my PHP commands such as unlink and/or creating/deleting directories. I do use chown(filename.0777) for files  but that doesn't always work. So I read about how it would be helpful to add the user  to Apache.
I need to make directories. remove directories  and delete files etc. I can create/write/read files, but can not always unlink them,
I am a bit confused about what I did read to do it concerning the matter. I know the user since I used:
 echo get_current_user();

Open in new window

My question is how do I add a user to Apache ?
Thank you.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros