Thanks, I found that in the manual a little while ago. As a last chance I tried restarting the server. Half of the problem was resolved. register_globals is On for the global setting, but Off for the local setting. I'm not sure how that could happen since it can't be changed with ini_set. I did add this line to an .htaccess file "php_value register_globals on" previously.
The root problem is Apache not restarting properly. I issued /usr/local/apache/bin/apachectl restart - even though it appeared to stop and start based on what was on the screen it didn't pick up the ini file changes I made. Hopefully I'll crack this today. > -----Original Message----- > From: Rich Gray [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 9:35 AM > To: Stembridge, Michael; [EMAIL PROTECTED] > Subject: RE: [PHP-INST] php.ini changes not taking > > > > 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? > > > > AFAIK you can't reset the register_globals setting via > ini_set... by the > time your script is run the register_globals setting has already taken > effect... same goes for settings such as magic_quotes_gpc etc > > HTH > Rich > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php