#21000 [Fbk->Opn]: can not set register_globals=off

From: Date: Sat, 14 Dec 2002 20:29:49 +0000
Subject: #21000 [Fbk->Opn]: can not set register_globals=off
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27721@lists.php.net to get a copy of this message
ID: 21000 User updated by: mojdeh@und.edu Reported By: mojdeh@und.edu -Status: Feedback +Status: Open Bug Type: PHP options/info functions Operating System: solaris 8 PHP Version: 4.3.0RC2 New Comment: I found out what was causing the problem. As strange as it sounds, I had to change the group ownership of the /usr/local/lib/php.ini to be the same as my web server. That fixed the problem. Thanks for your help. Mojdeh, Previous Comments: ------------------------------------------------------------------------ [2002-12-14 03:45:10] sniper@php.net Are you using Apache? Version? Are you sure it's not set off in some .htaccess file or httpd.conf ?? Are you sure that php.ini is actually READ by PHP? (change some other setting) ------------------------------------------------------------------------ [2002-12-13 16:22:35] mojdeh@und.edu the php.ini path shows as /opt/sfw/lib/php.ini whihc is the same as /usr/local/lib/php.ini because we have a symbolink link to /usr/local/ in /opt/sfw. ------------------------------------------------------------------------ [2002-12-13 16:19:07] msopacua@php.net What's the ini path reported in phpinfo()? ------------------------------------------------------------------------ [2002-12-13 15:30:56] mojdeh@und.edu I was always able to change the register_globals settings in /usr/local/php.ini file (which is a copy of the php.ini-dist) and chenge the setting to on. Now eventhough I have register_globals=On in my php.ini The phpinfo function shows that it is set to Off and as a result non of my php pages are working. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21000&edit=1

« previous php.bugs (#27721) next »