Re: admin variables in CGI version

From: Date: Thu, 05 Jan 2006 07:05:43 +0000
Subject: Re: admin variables in CGI version
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228193@lists.php.net to get a copy of this message
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

« previous php.general (#228193) next »