Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Russell Horn wrote:
>>[mailto:EMAIL:PROTECTED]On Behalf Of Sven Conrad
>>Sent: 16 April 2003 18:41
>>
>>Hi all
>>
>>I have tested php as cgi (I don't want to recompile apache). On
>>one machine, I
>>could get it to work with these two lines in httpd.conf:
>>
>>
>>
>
>Why not use the mod_php RPM if you're using RedHat?
>
There are some instances that CGI mode would work out better. We (IATS)
is finding out that it would be easier to run Bengal with PHP in CGI
mode (which requires a #!/usr/local/bin/php at the top of the script) so
that a PHP page executes as the user who owns the script (because suexec
takes over at that point). Sure it slows things down, but then you
don't have to do anything funky with permissions on directories (to
allow for the nobody user or whatever) to write files out or to read
other configuration files.
Cheers,
Ryan
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members