[PHP] Changes from 5.0.4 => 5.0.5 (_SERVER variabes not defined).
From: Sean O Sullivan (seanos_at_seanos.net)
Date: Mon, 14 Nov 2005 15:32:07 +0000 To: General Red Hat Linux discussion list <firstname.lastname@example.org>
I know this is probably more suited to the PHP list, however no
responses from there, so curious if anyone here came across similar (and
hopefully found a solution).
Was upgrading PHP-5.0.3 => 5.0.5
Apache version : httpd-2.0.46-54.ent
Distro : RHEL3 U2
configure switches :
./configure --with-zlib --without-gd --without-gdbm
--enable-force-cgi-redirect --enable-memory-limit --enable-ftp
--enable-xml --with-apxs2=/usr/sbin/apxs --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
I came across a problem where in 5.0.3 I had a series of PHP Variables
defined ( _SERVER & _ENV )
By and large, these were the same as the Environment variables.
HOSTNAME => myhostname
SHELL => /bin/bash
TERM => xterm
_SERVER["HOSTNAME"] => myhostname
_SERVER["SHELL"] => /bin/bash
_SERVER["TERM"] => xterm
(just to give a brief example).
However, these were not defined in PHP-5.0.5 - I then tried PHP-5.0.4 to
see if affected this too, which it didn't.
So there is some change in PHP between 5.0.4 & 5.0.5, I'd be grateful
for any suggestions/ideas in regards to this matter.
Sean O Sullivan
-- redhat-list mailing list unsubscribe mailto:email@example.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list