#24288 [Opn->Fbk]: register_globals=On in PHP.ini doesn't work

From: Date: Sun, 22 Jun 2003 20:39:31 +0000
Subject: #24288 [Opn->Fbk]: register_globals=On in PHP.ini doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42346@lists.php.net to get a copy of this message
ID: 24288 Updated by: philip@php.net Reported By: joel2a at yahoo dot com -Status: Open +Status: Feedback Bug Type: PHP options/info functions Operating System: Windows NT 4.0 PHP Version: 4.3.2 New Comment: Windows users claim php.ini isn't being read many times, and there are many reasons why this claim is bogus so forgive our desire to be 100% certain. In phpinfo(), where it says this: Configuration File (php.ini) Path Please post exactly what the value says for this. Previous Comments: ------------------------------------------------------------------------ [2003-06-22 14:30:20] joel2a at yahoo dot com Yes I modified the correct php.ini. I only have one in the Winnt directory. And I double checked it and re-double checked it several times using two different web servers. I also checked the directory of php.ini in the phpinfo listing. And I just rechecked it again before sending this reply. However the .htaccess fix did work locally only with the Apache web server. ------------------------------------------------------------------------ [2003-06-22 13:55:39] derick@php.net Are you sure that you modified the correct php.ini file? ------------------------------------------------------------------------ [2003-06-22 13:54:04] joel2a at yahoo dot com Description: ------------ Using Isapi php4isapi.dll PHP on Sambar 5.3 Web Server AND php4apache2.dll with Apache 2.0 on Windows NT 4.0. When setting register_globals=On in php.ini it doesn't work. register_globals stays Off no matter what. I tried the php_flag register_globals on in .htaccess and that doesn't work either. This is verified by looking at phpinfo.php after the change is made. The problem is that if you have a setting in php.ini for register_globals=On then it should work. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24288&edit=1

« previous php.bugs (#42346) next »