Re: ./configure with register_globals turned on?
| From: | Andre Dubuc | Date: | Fri, 05 Jul 2002 18:19:23 +0000 |
| Subject: | Re: ./configure with register_globals turned on? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105699@lists.php.net to get a copy of this message | ||
Hi Scott,
I've come to this post a little late, but I had exactly the same problem. No
matter what I set php.ini, phpinfo() would not show changes.
If I recall correctly, the problem sort of 'disappeared' by itself. I finally
resolved it by rebooting immediately after setting the new php.ini (this was
on Linux-Mandrake 8.2). Further, if I recall, (and this was three months ago)
I think I re-installed PHP, but it made no difference. Make sure Apache is
'off' before you attempt to change php.ini. Also, in my config, there was
another php.ini hidden in /etc/httpd -- do a 'locate' to see if you have
multiple copies!
I had a lot quirky things happen while trying to configure PHP 4.1.1. and a
few with 4.1.2. For some odd reason, after a few attempts it does work. Try
again, would be my advice. It'll work sooner or later :> You might want to
run a test to see if globals are really 'on' or 'off' -- I really don't
trust
the phpinfo() output!
Not much help, but hth
Andre
On Friday 05 July 2002 01:36 pm, you wrote:
> I give up! It still won't turned on! I tried stopping and restarting
> Apache, rebooting the machine, checked phpinfo to see the php.ini file path
> is, etc. At least, my boss understand. I'm going to stick to upgrading
> the website to go without register global.
>
> FletchSOD
> "Larry Rosenman" <ler@lerctr.org> wrote in message
> news:1025881369.401.14.camel@lerlaptop.lerctr.org...
>
> > On Fri, 2002-07-05 at 10:04, Scott Fletcher wrote:
> > > What is the configure option that will turn on the register_globals?
>
> This
>
> > > is for ./configure option in UNIX / LINUX.
> >
> > It's in php.ini. Look at the phpinfo() output, and modify to include
> > the register_globals=ON, then restart Apache (assuming it's in an apache
> > module).
> >
> >
> >
> > --
> > Larry Rosenman
> > http://www.lerctr.org/~ler
> > Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
> > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749