On Wednesday 07 January 2004 12:44, Chris Lee wrote:

> Is it possible to set PHP flag at Apache ver 1.3.x per directory?

Yes.

> e.g.
> <VirtualHost 127.0.0.1>
> DocumentRoot /home/www/apps/htdocs
> ServerName localhost
> <Directory "/home/www/cch/htdocs/test">
> php_flag register_globals on
> </Directory>
> </VirtualHost>
>
> I tried but fail to turn on Register Globals settings (Default is
> off). Any Hints?

You need to use:

  php_value register_globals 1

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Involvement with people is always a very delicate thing --
it requires real maturity to become involved and not get all messed up.
                -- Bernard Cooke
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to