[nycphp-talk] PHP as CGI Binary
Hans Zaunere
hans at newyorkphp.com
Sat Jan 3 02:52:20 EST 2004
> What about setting my own php.ini file? I'd like to turn off
> magic_quotes and register_globals (and probably a few other things).
> Should I just code around this or can I safely overwrite the
> php.ini file that is in cgi-bin?
PHP running as a CGI (or CLI) can specify it's own php.ini for the most
part.
http://www.php.net/manual/en/configuration.php
> P.S. The interesting thing, when I try to view the php.ini
> file that is in cgi-bin, I only see a few settings.
Directives not specified default to their internal PHP setting (as if
there was no php.ini at all).
H
More information about the talk
mailing list