Answer the question
In order to leave comments, you need to log in
How to change PHP user on Mac OS X?
I set up an apache web server based on the latest Mac OS X, but when PHP is running, it creates files from the system user, and for the site to work with files, you need to constantly change the rights to folders and files. How can I make PHP run as my user and not as a system user?
Answer the question
In order to leave comments, you need to log in
In the httpd.conf file, specify the user and group:
User username
Group group
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question