Re[4]: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache

From: Date: Thu, 11 Mar 2004 11:32:19 +0000
Subject: Re[4]: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-180127@lists.php.net to get a copy of this message
Hello Jay, Thursday, March 11, 2004, 8:04:36 AM, you wrote: J> sorry but i'm trying to avoid putting my ftp login in password directly into J> my script. i should have mentioned that earlier. Unless you have the ability on the server to change the usergroup Apache runs under, the only way I've found around this is to use a CGI compiled version of PHP (instead of an Apache Module) specifically for when uploading and run the CGI version as my user:group. Also if you host with Pair Networks they offer a PHPWRAP function which, effectively, does this for you. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#180127) next »