Jon Le Miere wrote:
> Maybe im in dream land (happens often) but I have a number of Gentoo
> machines here that execute PHP scripts via the webserver (apache,
> lighttpd) when marked as read only, is that normal? I remembered a time
> when you tried going to a php script in your browser and it was marked
> as read only (chmoded 400) it would display a 403.
> 
I've never had to have a PHP script +x for it to work through the
webserver, as i udnerstand it the webserver reads teh script and does
whatever it is told to internally with it.

Is it possible you were using PHP as a CGI module or something ? I've
never tried so I don't know if it handles it differently

> Is this still meant to happen and I have something wrong on all my
> machines? Or do you not need PHP scripts to be executable in order to be
> executed via the webserver?

PHP scripts don't need to be +x to run.

> 
> If it helps, its php-4.3.11/mod_php-4.3.11 that are involved.
> 
I've never seen it needed, but i've only been using PHP since version
4.3.0 i think it was
> 
> Regards,
> 
> Jon Le Miere

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to