how to write a file belong to root user
-
the user of wordpress is apache, and its group is www
I have to write a file /etc/httpd/myconfig.txt, which belongs to root.
How can I write with file_put_contents?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘how to write a file belong to root user’ is closed to new replies.