Permissions/Apache Question

Fernando Duran liberosec-FFYn/CNdgSA at public.gmane.org
Sat Apr 2 00:58:13 UTC 2011



> 
> 
> While all this is correct, I think what happened  is that Apache throws an 
>error 
>
> when a php file has too many permissions,  don't remember which ones (l haven't 
>
> done php in a long time).


(Replying to myself) I think what I was remembering was related to some security 
extension module or setting in php rather than Apache itself. A bit fuzzy. 
Getting old.

Fernando

> 
> OP can  check the apache error log for this.
> 
> Cheers,
>   ---------------------
> Fernando Duran
> http://www.fduran.com
> 
> 
> > 
> > tl
> > 
> > On Fri,  Apr 1, 2011 at 8:09 PM, Stephen <stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org> wrote:
> >  > I  am creating a new web site, and I ftp'ed the index.php file to  the  
>host.
> > >
> > > I got a 500 internal server  error.
> > >
> > > It  turns out that the problem was that  the permissions on the file had 
>the
> > >  execution bits set for  owner, group and all.
> > >
> > > When I turned the  bits  off, all was well.
> > >
> > > Can someone explain why the  settings  would matter? Is this a general 
>Linux
> > > thing, or  strictly an Apache  thing?
> > >
> > > On my local LAMP I had  no issues when  testing.
> > >
> > > Thanks
> > >  Stephen
> > > --
> > > The Toronto  Linux Users Group.       Meetings: http://gtalug.org/
> > > TLUG requests: Linux topics, No HTML, wrap  text  below 80 columns
> > > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> > >
> > --
> > The  Toronto Linux  Users Group.      Meetings: http://gtalug.org/
> > TLUG  requests: Linux topics, No HTML,  wrap text below 80 columns
> > How to  UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> > 
> --
> The Toronto Linux  Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML,  wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> 
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list