Re: [PHP] ./configure with register_globals turned on?

2002-07-06 Thread Richard Lynch

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

Aha!

Then you *missed* the one where he said:

Check phpinfo() and see where phpinfo() thinks your php.ini file lives.

1. Surf to your phpinfo page.
2. Do a Find... in your browser for php.ini
3. Note the path where php.ini is supposed to be, as it was given to
./configure +
4. Put your php.ini file *THERE*
5. Remove all other php.ini files ++
6. Sym-link all the other places php.ini used to be to that php.ini file.
7. Stop Apache.
8. Verify Apache stopped with ps aux | grep http
9. Start Apache.

+ If no path was given, the default is /usr/local/lib  If your
ISP/RedHat/Mandrake/whatever auto-installer chose some odd-ball path, well,
yell at them, not us.

++ If there is no php.ini file at all in the path PHP expects it, PHP uses
the defaults that would be there if you had put the default php.ini there
like you were supposed to.

-- 
Like Music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher

What is the configure option that will turn on the register_globals?  This
is for ./configure option in UNIX / LINUX.

Thanks,
 FletchSOD



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher

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 [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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: [EMAIL PROTECTED]
 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




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Rasmus Lerdorf

So putting the line:

register_globals = on

In your php.ini file (path to it specified in your phpinfo() output)
didn't work?

Check the following:

1. Are you sure there isn't a second register_globals = off entry
   somewhere in that file?

2. Does the web server have read access to the directory and the php.ini
   file itself?

3. Can you change other things and see the change in your phpinfo()
   output?

This really does work.

-Rasmus

On Fri, 5 Jul 2002, Scott Fletcher 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 [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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: [EMAIL PROTECTED]
  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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Andre Dubuc

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 [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

  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: [EMAIL PROTECTED]
  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




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher

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 [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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 [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
   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: [EMAIL PROTECTED]
   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




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Rasmus Lerdorf

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 [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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 [EMAIL PROTECTED] wrote in message
   [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  
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: [EMAIL PROTECTED]
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Alberto Serra

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.

ðÒÉ×ÅÔ!

The problem is the same on old AIX (as far as I can remember). 
Distributions install Apache as httpd and NOT as /usr/local/apache. So 
you end up having multiple configuration files for everything.

Instead of upgrading, try eliminating the old installations first, then 
install as fresh from the tarball. Works for me. Remember checking 
httpd.conf and php.ini. Just a plain find / will make sure that you have 
no ghosts left around.

ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
-- 


-_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-

LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Larry Rosenman

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: [EMAIL PROTECTED]
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