Re: How to use environment variables in php.ini?
| From: | Richard Lynch | Date: | Sun, 09 Sep 2001 00:36:46 +0000 |
| Subject: | Re: How to use environment variables in php.ini? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66571@lists.php.net to get a copy of this message | ||
http://php.net/getenv
http://php.net/setenv
Why you want to set them in the Environment instead of just regular
variables is beyond me.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Yaroukh <jaroslav.zaruba@varicad.cz>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Friday, September 07, 2001 3:07 AM
Subject: How to use environment variables in php.ini?
> Hi there
> Is there any way to use in php.ini previously set environment variables? I
> mean when I set doc_root to "C:/Documents and Settings/zaruba/My
> Documents/My Webs" and several lines below I need to set session_save_path
> to "C:/Documents and Settings/zaruba/My Documents/My Webs/.sessions" is it
> possible to write something like this? ...
> session.save_path = $doc_root/.share
> (ofcourse it doesn't work this way, I wouldn't ask if it did :o)
> Yaroukh
> [Apache/1.3.20 (Win32) PHP/4.0.6]
>
>