#17662 [Opn]: getenv() Apache variables not available
| From: | garth at cybernode dot com | Date: | Mon, 26 Aug 2002 19:49:59 +0000 |
| Subject: | #17662 [Opn]: getenv() Apache variables not available | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17885@lists.php.net to get a copy of this message | ||
ID: 17662
User updated by: garth@cybernode.com
Reported By: garth@cybernode.com
Status: Open
Bug Type: Apache2 related
Operating System: SuSE 7.2
PHP Version: 4.2.3 - 200207251200
New Comment:
just tried with apache 2.0.40 release version and
php4-STABLE-200208260900 and still no luck. The entire apache section
of phpinfo() doesn't come up. To define, the tables with information
like Apache Version, Apache Release, Apache API Version, Loaded
Modules, etc. The next table with child_terminate, engine, etc, the
main Apache Environment table starting with DOCUMENT_ROOT, HTTP_ACCEPT,
etc, and the next table HTTP Headers Information. All of these tables
are NOT present when trying Apache 2 and PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-07-26 01:13:58] garth@cybernode.com
tried with apache 2.0.40 - 20020726041217 and php 4.3.0 -
php4-200207252100 and getting seg faults on all child processes in the
error log.
------------------------------------------------------------------------
[2002-07-25 20:36:19] sniper@php.net
Try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
(you will need Apache 2.0.40-dev)
------------------------------------------------------------------------
[2002-07-25 19:49:59] garth@cybernode.com
Sorry for the delay. Was on vacation.
Still no go. Tried with 4.2.3 200207251200 and 2.0.39. Same result as
before. Lines from httpd.conf ...
LoadModule php4_module modules/libphp4.so
DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .html .phtml .php3 .php
AddType application/x-httpd-php-source .phps
Also noticed in phpinfo() that there is no 'HTTP Headers Information'
section either. I can e-mail my phpinfo() info if you wish.
------------------------------------------------------------------------
[2002-07-13 16:57:12] edink@php.net
Please try http://snaps.php.net/php4-STABLE-latest.tar.gz.
Could you
also please provide php related directives from your httpd.conf?
------------------------------------------------------------------------
[2002-06-27 03:18:57] garth@cybernode.com
Yes but the behavior can be overridden with
register_globals = on in php.ini. I used the same php.ini
for both my production 1.3.2x apache binary and the 2.0.x
apache binary.
apache 1.3.2x = getenv(_ANYTHING_) = works.
apache 2.0.3x = getenv(_ANYTHING_) = no worky.
i hope this is clearer.
------------------------------------------------------------------------
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/17662
--
Edit this bug report at http://bugs.php.net/?id=17662&edit=1