Re: [PHP] Apache per directory setting

2004-01-07 Thread Jason Wong
On Wednesday 07 January 2004 14:18, Chris Lee wrote: > >You need to use: > > > > php_value register_globals 1 > > I tried, but still fail, phpinfo still show > register_globals Off Off Well, it works for me. What versions of apache/php are you using? -- Jason Wong -> Gremlins Associates -> www

Re: [PHP] Apache per directory setting

2004-01-07 Thread Chris Lee
Dear Umesh, I already restart Apache, but it didn't work. OT question: Do Apache's Directory Directive, use relative path or absolute path for matching? Beside, I am using PHP Version 4.2.3 Regards, Chris Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

RE: [PHP] Apache per directory setting

2004-01-06 Thread umesh
The change of values will take place after you restart the Apache. Try it once. -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Apache per directory setting >You need to use: > >

Re: [PHP] Apache per directory setting

2004-01-06 Thread Chris Lee
>You need to use: > > php_value register_globals 1 I tried, but still fail, phpinfo still show register_globals OffOff Regards, Chris Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache per directory setting

2004-01-06 Thread Jason Wong
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. > > DocumentRoot /home/www/apps/htdocs > ServerName localhost > > php_flag register_globals on > > > > I tried but fail to turn on Register Globals settings (D

RE: [PHP] Apache per directory setting

2004-01-06 Thread Rainsford, David
You should have a look at the php.ini - the location of which can be found if you run a script containing the following: In that file you can turn on the php.ini. If you just want it on for certain files, you can use the ini_set() function in those files. I don't think you can easily do it on