note 37373 added to features.safe-mode

From: Date: Wed, 12 Nov 2003 14:37:28 +0000
Subject: note 37373 added to features.safe-mode
Groups: php.notes 
Request: Send a blank email to php-notes+get-60303@lists.php.net to get a copy of this message
Beware: Safe mode will not permit you to create new files in directories which have different owner than the owner of the script. This typically applies to /tmp, so contrary to Unix intuition, you will not be able to create new files there (even if the /tmp rights are set correctly). If you need to write into files in /tmp (for example to put logfiles of your PHP application there) create them first on the command line by doing a touch /tmp/whatever.log as the same user who owns the PHP script. Then, provided the rest is configured correctly, the PHP script will be able to write into that file. ---- Manual Page -- http://www.php.net/manual/en/features.safe-mode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37373 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37373&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37373&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60303) next »