This is strange.   I just changed the local value of session.gc.maxlifetime
from 1400 to 12345 with ini_set.   

ini_set("session.gc_maxlifetime",12345);
ini_set("register_globals",1);

register_globals continues to remain "Off".

(ps, I tried passing "on" and "On" and "1" as arguments, none work).  

Is there another security setting I'm overlooking?



> -----Original Message-----
> From: Stembridge, Michael 
> Sent: Thursday, March 06, 2003 8:11 AM
> To: Stembridge, Michael; [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] php.ini changes not taking
> 
> 
> I'm not sure if my question was worded vaguely or if this is 
> one of the mysteries of the great uknown.  Am I asking this 
> on the right list?
> 
> Instead of troubleshooting this issue further is there a 
> configuration option which will force register_globals to be 
> "On" when I compile php?   If there is I'll just rebuild and 
> be done with it.
> 
> Thanks for any and all assistance.
> 
>  - Mike
> 
> > -----Original Message-----
> > From: Stembridge, Michael [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 7:48 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] php.ini changes not taking
> > 
> > 
> > I'm almost at my wits end with this problem.   This is a new install
> > of PHP 4.3 & Apache 1.3.27 on a Redhat 8.0 machine.  Php works fine
> > with the exception of configuration file changes...
> > 
> > This is a local network not seen by the rest of the world 
> and I would
> > like to register_globals in the ini file as opposed to using ini_set
> > or recoding several large projects to use $_GET[var] and 
> $_POST[var].
> > 
> > On to the diagnosis.
> > 
> > From phpinfo()...
> > 
> > PHP Version 4.3.1
> > 
> > Configure Command  './configure' '--with-mysql'
> > '--with-informix=/opt/informix' '--enable-track-vars'
> > '--with-apache=/share/source/apache/apache_1.3.27'
> > '--with-config-file-path=/usr/local/apache/conf'
> > 
> > Configuration File (php.ini) Path  /usr/local/apache/conf  
> > 
> > register_globals Off Off 
> > 
> > ...........................
> > 
> > 
> > from command line...
> > ls -l /usr/local/apache/conf/php.ini 
> > -rw-r--r--    1 mstembri mstembri    23723 Mar  5 19:33 php.ini
> > 
> >  -- note apache runs as user mstembri (confirmed in httpd.conf)
> > 
> > ...........................
> > 
> > from /usr/local/apache/conf/php.ini ... 
> > 
> > register_globals = On
> > 
> > ...........................
> > 
> > 
> > I've also tried using ini_set("register_globals", "On"); 
> but this also
> > doesn't work.
> > 
> > For kicks I tried chowning the file to nobody then restarted apache,
> > however this did not help.
> > 
> > Even though phpinfo() says apache looks for the file in
> > /usr/local/apache/conf I copied the php.ini to 
> /usr/local/bin and /etc
> > - no luck there either.
> > 
> > I also copied the working php.ini file from another RH server using
> > php 4.0.6, but still no luck with changing php configuration.
> > 
> > I've spent the past two hours reading google and google 
> groups trying
> > everything that has worked for others.  I'm running out of options.
> > 
> > Any other ideas or suggestions?
> > 
> > Michael Stembridge
> > 
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 

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

Reply via email to