Reply to Re: [PHP] admin variables in CGI version

Your name:

Reply:


Posted by Curt Zirzow on 09/30/43 11:36

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация