register_globals is being stubborn
Posted: Tue Nov 30, 2004 3:31 pm
Hello,
I've been wrestling with a couple apache/php installations on a couple of linux boxes and have been consistently running in to the same odd problem. I'm sure it's some ridiculous detail that is entirely my fault for tinkering with, but if someone could point me at some common pitfalls I'd appreciate it.
Ok, so the problem...
I can't convince register_globals to turn on. Please don't start out all replies by telling me how insecure it is to have it on
At any rate, I've tried turning it on in the php.ini file, I've tried using the .htaccess file, and since I'm configuring for an installation of gforge, adding ini_set("register_globals", "1"); in every .php file will probably drive me insane. Anyone have any suggestions or things I've missed?
I've been using phpinfo() to check the configuration of things, and so far only adding the ini_set calls has actually changed the "Local Value" of register_globals. the "Master Value" seems to correspond to my php.ini file.
Thanks greatly for any information anyone can share.
-Jeff
I've been wrestling with a couple apache/php installations on a couple of linux boxes and have been consistently running in to the same odd problem. I'm sure it's some ridiculous detail that is entirely my fault for tinkering with, but if someone could point me at some common pitfalls I'd appreciate it.
Ok, so the problem...
I can't convince register_globals to turn on. Please don't start out all replies by telling me how insecure it is to have it on
At any rate, I've tried turning it on in the php.ini file, I've tried using the .htaccess file, and since I'm configuring for an installation of gforge, adding ini_set("register_globals", "1"); in every .php file will probably drive me insane. Anyone have any suggestions or things I've missed?
I've been using phpinfo() to check the configuration of things, and so far only adding the ini_set calls has actually changed the "Local Value" of register_globals. the "Master Value" seems to correspond to my php.ini file.
Thanks greatly for any information anyone can share.
-Jeff