How to use environment variables in php.ini?
| From: | Yaroukh | Date: | Fri, 07 Sep 2001 08:07:10 +0000 |
| Subject: | How to use environment variables in php.ini? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66354@lists.php.net to get a copy of this message | ||
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]