Re: ./configure with register_globals turned on?
| From: | Rasmus Lerdorf | Date: | Fri, 05 Jul 2002 18:28:04 +0000 |
| Subject: | Re: ./configure with register_globals turned on? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105706@lists.php.net to get a copy of this message | ||
And the php.ini file you are changing is the one listed in your phpinfo()
output? Looks to me like your php.ini file is in the wrong place.
On Fri, 5 Jul 2002, Scott Fletcher wrote:
> I tried following all of your suggestion and so far, still the same. I
> tried changing other feature in the php.ini and check the phpinfo and found
> that they haven't changed either. So, the problem lie with the file path in
> finding the php.ini file. I only have one php.ini file. The other are in
> the php source code. Oh well, I'm going to let it go and move on! Need to
> finish upgrading the website and if there time, start experiementing on
> moving the website to Linux. I'm going to try mySQL instead of IBM DB2.
>
> Thanks,
> FletSOD
>
> "Andre Dubuc" <aajdubuc@webhart.net> wrote in message
> news:20020705181924.1C838200D7E@localhost.localdomain...
> > 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>