mod_php / apache config
| From: | Lee Doolan | Date: | Tue, 03 Sep 2002 23:14:55 +0000 |
| Subject: | mod_php / apache config | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115117@lists.php.net to get a copy of this message | ||
I apologize beforehand in case this message is posted twice.
If there is some way to do this, then it has eluded me for several
hours. I would like to set a variable in the apache config file which
I can then access in a php script. I'm running mod_php4 and apache 1
I have tried things like this:
php_value WSERVER red2.office.com
and this:
SetEnv WSERVER red2.office.com
with and without quotes. mod_env is loaded. I can't find the
variable WSERVER in $GLOBALS or $_ENV of $_GET.
can someone help out?
--
Flowers of morning glory. +-----------------------------------------+
The sky above this street |donate to causes I care about: |
Begins to overcast. | http://svcs.affero.net/rm.php?r=leed_25|
--Sugita +-----------------------------------------+