[nycphp-talk] mkdir failed
Phil Powell
soazine at erols.com
Sat Sep 28 18:11:16 EDT 2002
Got it but the solution is derned freaky... talking to the webserver admin I
come to find out that I have to write a stub executable to php4.cgi which
will interpret the PHP script bypassing the Apache mods.. that way I can
keep the directories at the default 0755 and STILL be able to do file mkdir
and uploading!!
Phil
----- Original Message -----
From: "Hans Zaunere" <zaunere at yahoo.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Saturday, September 28, 2002 5:17 PM
Subject: Re: [nycphp-talk] mkdir failed
>
> --- Phil Powell <soazine at erols.com> wrote:
> > AHEM.. can't use mySQL, it's not an option on my site
> > valsignalandet.com - sorry.. it's on a remote site and it costs much
> > too much money for me to use, sorry!
>
> Too much? Try http://thehostingcompany.us - $9 dollar plan :)
>
> > So, /users/ppowell/web/my has permissions set to 0755 and I cannot
> > create /users/ppowell/web/my/images/ I get this error upon this line:
> >
> > if (!is_dir($path)) mkdir($path, 01755);
> >
> > Warning: Unable to access /users/ppowell/web/my/images/ in
> > /users/ppowell/web/my/process.php on line 27
>
> 0755 won't cut it for /users/ppowell/web/my - you need write set on
> either group or world - so /users/ppowell/web/my either needs to be
> 0775 or 0757, depending on whether apache is in your group or not.
>
> H
>
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
>
> --- Unsubscribe at http://nyphp.org/list ---
>
>
More information about the talk
mailing list