Re: Re[4]: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache
| From: | Jay | Date: | Mon, 15 Mar 2004 02:04:12 +0000 |
| Subject: | Re: Re[4]: [PHP] Scripts creating files and folders into un/grp "Nobody" on Apache | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180404@lists.php.net to get a copy of this message | ||
thanks... i've passed these suggestions on to my host... it seems to have
partially convinced them that the problem is not my scripts but possibly
instead the installation's fault / cPanel's fault.
well it's progress at least :P
"Richard Davey" <rich@launchcode.co.uk> wrote in message
news:252674375.20040311113219@launchcode.co.uk...
> 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