-------- Original-Nachricht --------
> Datum: Thu, 23 Aug 2007 18:49:33 -0700 (PDT)
> Von: John Wyatt <[EMAIL PROTECTED]>
> An: users@httpd.apache.org
> Betreff: [EMAIL PROTECTED] Apache Permmisions error

> Hey folks, i'm coding a php blog from a IBM's developerWorks tutorial and
> I get this error with permissions.
> 
> Main blog page
> 
>  
>  Warning:  mkdir() [function.mkdir]: Permission denied in
> /home/www/edit/index.php on line 9
>  
>  Warning:  fopen(../blogs/Aug 2007/Aug 23 2007 18 13) [function.fopen]:
> failed to open stream: No such file or directory in /home/www/edit/index.php
> on line 11
>  
>  Warning:  fwrite(): supplied argument is not a valid stream resource in
> /home/www/edit/index.php on line 12
>  
>  Warning:  fclose(): supplied argument is not a valid stream resource in
> /home/www/edit/index.php on line 13
>  Blog entry saved/updated
> 
> 

This is most likely because PHP doesn't have the privileges to read/write 
special directory or files.By default apache/php are running as nobody user,so 
at first you take a look at that php program to find out which directory/file 
it try to access,then set the correct privileges to that directory/file.

Under unix,you can use 'chmod' or 'chown' to ajust the privileges on dir/files.

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to