#31591 [NEW]: apache_getenv() is an 'undefined function'
| From: | aronnax_98 at yahoo dot com | Date: | Tue, 18 Jan 2005 03:01:59 +0000 |
| Subject: | #31591 [NEW]: apache_getenv() is an 'undefined function' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-72344@lists.php.net to get a copy of this message | ||
From: aronnax_98 at yahoo dot com
Operating system: Mac OS X 10.3.7
PHP version: 4.3.9
PHP Bug Type: Apache related
Bug description: apache_getenv() is an 'undefined function'
Description:
------------
When I try to call apache_getenv(...), PHP claims that
the function doesn't exist. The function is present in
the online PHP manual.
Reproduce code:
---------------
echo apache_getenv('SOME_ENV_VARIABLE');
Expected result:
----------------
VALUE_OF_SOME_ENV_VARIABLE
Actual result:
--------------
Fatal error: Call to undefined function: apache_getenv()
in /www/php/dryerase/config.php on line 21
--
Edit bug report at http://bugs.php.net/?id=31591&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31591&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31591&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31591&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31591&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31591&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31591&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31591&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31591&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31591&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31591&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31591&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31591&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31591&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31591&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31591&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31591&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31591&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31591&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31591&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31591&r=mysqlcfg