local configuration of PHP in CGI mode
| From: | Fabien Salvi | Date: | Tue, 27 Nov 2001 08:28:26 +0000 |
| Subject: | local configuration of PHP in CGI mode | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5096@lists.php.net to get a copy of this message | ||
Hello,
I would like to have a local configuration in PHP when it is in CGI
mode.
When in apache module, it's not difficult, we just have to php_value for
example. See here :
http://www.php.net/manual/en/configuration.php
But, in CGI mode, I can't find the way to do it.
I try with Setenv, to set an environment variable with php
configuration, but without success :(
The only method I find, but it's very ugly, is to change php
configuration file name in the executable with hexedit, so I have
another configuration file with local configuration I want...
Does some have a better idea ?
Thanks in advance.
-------------
Fabien SALVI Centre de Ressources Informatiques
Archamps, France -- http://www.cri74.org
PingOO GNU/linux distribution : http://www.pingoo.org