#21000 [Opn->Bgs]: can not set register_globals=off
| From: | derick@php.net | Date: | Sat, 14 Dec 2002 20:51:09 +0000 |
| Subject: | #21000 [Opn->Bgs]: can not set register_globals=off | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27723@lists.php.net to get a copy of this message | ||
ID: 21000
Updated by: derick@php.net
Reported By: mojdeh@und.edu
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: solaris 8
PHP Version: 4.3.0RC2
New Comment:
user error -> bogus
Previous Comments:
------------------------------------------------------------------------
[2002-12-14 14:29:48] mojdeh@und.edu
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,
------------------------------------------------------------------------
[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