NYCPHP Meetup

NYPHP.org

[nycphp-talk] mkdir failed

Hans Zaunere zaunere at yahoo.com
Sat Sep 28 17:17:41 EDT 2002


--- 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



More information about the talk mailing list