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
PHP
4 Comments1 Solution14 ViewsLast Modified:
This is my developing environment:
Windows 10
Wampserver
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();
 print_r(posix_getpwuid(fileowner($filename)));
My question is how do I add a user to Apache ?
Thank you.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
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