Re: Shebang parsing

From: Date: Thu, 26 Jan 2012 00:00:13 +0000
Subject: Re: Shebang parsing
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-57514@lists.php.net to get a copy of this message
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 ?


« previous php.internals (#57514) next »