Bug #16577 Updated: PHP4 doesn't get any enviroment variables
| From: | ard at waikato dot ac dot nz | Date: | Wed, 24 Apr 2002 04:50:25 +0000 |
| Subject: | Bug #16577 Updated: PHP4 doesn't get any enviroment variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5781@lists.php.net to get a copy of this message | ||
ID: 16577
Updated by: ard@waikato.ac.nz
Reported By: dhwz@gmx.net
Status: Closed
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.0CVS-2002-04-12
New Comment:
Same problem with Apache-2.0.35, PHP-4.2.0. phpinfo() shows this in
the enviroment:
PWD /l/src/openssl-0.9.6d-beta1
HZ 100
HOSTNAME deleted :-)
MOZILLA_HOME /usr/lib/netscape
ignoreeof 10
LS_OPTIONS --color=auto -F -b -T 0
There are *no* CGI-type variables at all. They all appear in
_SERVER[], and as a previous poster wrote, I'm not rewriting all my
PHP.
So how do we get this bug reopened?
If a PHP developer contacts me I will allow them access to my
cgi-bin/printenv and phpinfo().
Previous Comments:
------------------------------------------------------------------------
[2002-04-24 00:50:22] ard@waikato.ac.nz
Same problem with Apache-2.0.35, PHP-4.2.0. phpinfo() shows this in
the enviroment:
PWD /l/src/openssl-0.9.6d-beta1
HZ 100
HOSTNAME deleted :-)
MOZILLA_HOME /usr/lib/netscape
ignoreeof 10
LS_OPTIONS --color=auto -F -b -T 0
There are *no* CGI-type variables at all. They all appear in
_SERVER[], and as a previous poster wrote, I'm not rewriting all my
PHP.
So how do we get this bug reopened?
If a PHP developer contacts me I will allow them access to my
cgi-bin/printenv and phpinfo().
------------------------------------------------------------------------
[2002-04-20 09:13:42] arjan@webpower.nl
Typo: --with-gsql should be --with-pgsql of course.
------------------------------------------------------------------------
[2002-04-20 09:12:13] arjan@webpower.nl
Just installed PHP4.2.0RC4 as APXS with Apache2(.0.35) on My Mandrake
8.0 system.
Compiles just fine, works good, but like others mentioned, I do not see
the Apache specific environment variables in phpinfo() (f.e:
PATH_TRANSLATED is unavailable).
Apache 2 configure options:
./configure --prefix=/usr/local/apache2 --enable-so
PHP4.2.0.RC4 configure options:
./configure --with-mysql=/usr --with--gsql --enable-xml --enable-wddx
--enable-ftp --enable-sysvsem --enable-sysvshm
--with-apxs2=/usr/local/apache2/bin/apxs --with-ttf=/usr/include
--with-jpeg-dir=/usr --with-tiff-dir=/usr --with-zlib-dir=/usr
--with-freetype-dir=/usr/local/src/freetype-2.0.4
--with-png-dir=/usr/local/src/libpng-1.2.0/
--with-gd=/usr/local/src/gd-2.0.1/ --enable-gd-native-tt
--enable-gd-imgstrttf --enable-track-vars
What am I doing wrong, or is it a bug?
Regards,
Arjan Haverkamp
arjan@webpower.nl
------------------------------------------------------------------------
[2002-04-12 20:22:27] sniper@php.net
Works fine here with PHP 4.2.0RC3 and Apache 2.0.35.
--Jani
p.s. Try RC3 from http://www.php.net/~derick/
------------------------------------------------------------------------
[2002-04-12 19:07:33] dhwz@gmx.net
i want to use apache2 and i wouldn't rewrite all my php scripts
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16577
--
Edit this bug report at http://bugs.php.net/?id=16577&edit=1