[PHP] Changes from 5.0.4 => 5.0.5 (_SERVER variabes not defined).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

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
--with-oracle=/opt/oracle/app/oracle/product/9.2.0/ --enable-sigchild
--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
--mandir=/usr/share/man --infodir=/usr/share/info
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d

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.
e.g.

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.

Regards,

Sean O Sullivan

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux