I've never gotten -d in shebang to work properly, I'd love to see that working.

-----Original Message-----
From: Ángel González [mailto:keis...@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 ?


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to