Page 1 of 1

PHP_FLAG use

Posted: Mon May 09, 2005 9:27 am
by chris_sharman
I've got the following code in mod_php.conf

Seems to successfully turn register_globals on; but can't turn it off for issue-tracker - can this be done, or do I have to enable .htaccess and use that (which is advised against for performance reasons) ?
Also tried /home/Issue-Tracker*

PHP_FLAG register_globals ON
## mod for issue-tracker
PHP_FLAG magic_quotes_gpc OFF
## this doesn't work
<Directory /Issue-Tracker*>
PHP_FLAG register_globals off
</Directory>

Posted: Mon May 09, 2005 4:52 pm
by issinoho
Is it obvious where MOD_PHP.CONF and PHP.INI start and stop as regarding switching options?

The lack of *any* documentation around this area is frustrating at best.

Here is some help with regards to php.ini

Posted: Tue Apr 25, 2006 9:49 pm
by Marty
This page...

http://us2.php.net/manual/en/ini.php#ini.list

seems to cover what can go in the .ini file. I just started reading it, so I'm not sure how useful is it, but it is somthing.