Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux/PHP question



Myrle Francis wrote, On 11/04/2008 10:14 AM:
> Hello David
> 
>  Thanks for your response.. I've provide information of my files structure:
> 
> Thanks
> Myrle
> 
> 
> file structure
> 
> tbit (my home)
>  |
>   > drwxr-xr-x  3 tbit  free  512 Oct 31 13:31 html          
> (permissions as provided by my shell account)
>     |
>      >drwxr-xr-x  7 tbit  free  1024 Nov  1 10:56 myzipwear  
> (permissions as provided by me)
>       |
>        >drwxr-xr-x  2 tbit  free  512 Nov  1 10:55 Area51    
> (permissions as provided by me)
>  
> 
> bash-3.2$ ls -l (of Area 51)
> 
> total 12
> -rwxr-xr-x  1 tbit  free  176 Nov  1 09:54 counter.php
> -rw-rw-rw-  1 tbit  free    1 Nov  1 09:53 hitcounter.txt
> -rwxr-xr-x  1 tbit  free   34 Nov  1 09:55 webhits.php

So I take it your DocumentRoot is is in your home directory
(~tbit/html). right?

What user is Apache running as?  If it's running as apache or httpd (or
anything else but tbit) it might not have sufficient permissions to
write to a file anywhere in your home directory.






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org