S
S
someden2015-01-05 14:26:31
PHP
someden, 2015-01-05 14:26:31

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

1 answer(s)
I
Ivan Lemeshev, 2015-01-05
@someden

In the httpd.conf file, specify the user and group:

User username
Group group

In general, learn to use Google with such questions.
coolestguidesontheplanet.com/get-apache-mysql-php-...
getgrav.org/blog/mac-os-x-apache-setup-multiple-ph...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question