note 100982 added to function.rmdir
| From: | chazz at mevworld dot com | Date: | Thu, 18 Nov 2010 14:44:52 +0000 |
| Subject: | note 100982 added to function.rmdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174155@lists.php.net to get a copy of this message | ||
Dont forget to run your apache php server under a specific user id, and never root. If you run your
apache as root, you are only asking for trouble. The previous notes from those who deleted all
files on their host by accident could have been avoided if the web server was run as a user such as
"www" or "wwwadmin". Then you will only affect the web server specific content
that was created by the web server and not your entire system. Most modern distributions already
run apache as a non-root user.
----
Server IP: 69.147.83.197
Probable Submitter: 67.216.68.132
----
Manual Page -- http://www.php.net/manual/en/function.rmdir.php
Edit -- https://master.php.net/note/edit/100982
Del: integrated -- https://master.php.net/note/delete/100982/integrated
Del: useless -- https://master.php.net/note/delete/100982/useless
Del: bad code -- https://master.php.net/note/delete/100982/bad+code
Del: spam -- https://master.php.net/note/delete/100982/spam
Del: non-english -- https://master.php.net/note/delete/100982/non-english
Del: in docs -- https://master.php.net/note/delete/100982/in+docs
Del: other reasons-- https://master.php.net/note/delete/100982
Reject -- https://master.php.net/note/reject/100982
Search -- https://master.php.net/manage/user-notes.php