admin variables in CGI version
| From: | Tim Traver | Date: | Tue, 03 Jan 2006 19:07:16 +0000 |
| Subject: | admin variables in CGI version | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-228126@lists.php.net to get a copy of this message | ||
Hi all,
ok, when using the CGI binary for PHP execution, is there a way to send it environment variables to set the admin values like you can in mod_php ???
For instance, when using the apache module, you might do something like this :
php_admin_value session.save_path /some/path
I know that you can have it loaded in a local php.ini file within the directory of the executed script, but I don't want to have to put a php.ini file if I am setting values on the fly...
I tried setting the environment variable, and it shows up in php_info as an env variable, but how can I get it to actually be set ???
Anyone ???
Thanks,
Tim.