On Tue, Jan 03, 2006 at 11:07:16AM -0800, Tim Traver wrote:
> 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

You can do php_admin_value in a <directory> directive, so if the
cgi scripts reside in /var/www/cgi-scripts/ you can have

<directory /var/www/cgi-scripts/>
  php_admin_value ....
</directory>

Also if you have .htaccess enabled you can put that there as well.

I may not be 100% on this but it is close.

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to