You are here: admin variables in CGI version « PHP « IT news, forums, messages
admin variables in CGI version

Posted by Tim Traver on 01/03/06 21:07

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.

 

Navigation:

[Reply to this 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

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