On 26/01/12 00:22, Robert Eisele wrote:
My specific problem could be tackled in two ways:
- Scan "." every time cli is called for a php.ini file or
- Try to make argv interpretation more intelligent and parse/merge shebang
parameters.
There are |.user.ini files, but only for CGI/FastCGI
http://es2.php.net/manual/en/configuration.file.per-user.php
|
The second solution, would also open the possebility to define constants or
make use of all other cli parameters. Well, there's also a quick hack. We
could change php_getopt() in order to make this a valid argument:
php -c=/var/www/php.ini
What's wrong with (currently working) php -c/var/www/php.ini ?