PHP_FLAG use

Discussions around the use of PHP on VMS
Post Reply
Message
Author
chris_sharman

PHP_FLAG use

#1 Post 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>

User avatar
issinoho
Site Admin
Posts: 192
Joined: Tue Feb 01, 2005 12:53 am
Location: Scotland
Contact:

#2 Post 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.

User avatar
Marty
$ HELP
Posts: 16
Joined: Fri Apr 21, 2006 5:55 pm
Location: Oakland, Ca
Contact:

Here is some help with regards to php.ini

#3 Post 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.

Post Reply