RE: [PHP-DEV] Shebang parsing
| From: | Clint M Priest | Date: | Thu, 26 Jan 2012 00:25:45 +0000 |
| Subject: | RE: [PHP-DEV] Shebang parsing | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57515@lists.php.net to get a copy of this message | ||
I've never gotten -d in shebang to work properly, I'd love to see that working.
-----Original Message-----
From: Ángel González [mailto:keisial@gmail.com]
Sent: Wednesday, January 25, 2012 6:00 PM
To: Robert Eisele
Cc: PHP internals
Subject: Re: [PHP-DEV] Shebang parsing
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 ?