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

From: Sean O Sullivan (seanos_at_seanos.net)
Date: 11/14/05

  • Next message: mcclnx mcc: "[Q] How to force user change passwd on next login"
    Date: Mon, 14 Nov 2005 15:32:07 +0000
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>


    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.

    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:redhat-list-request@redhat.com?subject=unsubscribe

  • Next message: mcclnx mcc: "[Q] How to force user change passwd on next login"

    Relevant Pages

    • Re: Does Project Professional 2003 come with Server CAL?
      ... Chris Marriott - PMP MCSE MCDBA ... > You should note that most of the responses here are NOT official responses ... You might want to contact Microsoft directly to find a definitive answer ... >>> Regards ...
    • Re: Literal-ness !!
      ... >> It is occasionally fascinating to watch the responses, in MS NG's, to a ... >> Then there are the responses that critisize the original postee for not ... >> regards, Richard ...
    • Re: How can perform a summation?
      ... Appreciate the feed-back. ... Regards, ... Please keep all correspondence within the Group, ... Both responses are helpful. ...
    • Re: Disable Customize toolber tabs
      ... See responses to yesterday's post in programming. ... See also response to today's new thread in programming. ... Regards, ...
    • Re: C program to run a sub-program
      ... Thanks guys - I'll go through the 4 responses and try them out. ... > Typically a bash script as follows would work: ... > ENDHERE ...