Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57515 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74531 invoked from network); 26 Jan 2012 00:25:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2012 00:25:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=cpriest@zerocue.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cpriest@zerocue.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zerocue.com designates 74.115.204.51 as permitted sender) X-PHP-List-Original-Sender: cpriest@zerocue.com X-Host-Fingerprint: 74.115.204.51 relay-hub201.domainlocalhost.com Received: from [74.115.204.51] ([74.115.204.51:17082] helo=relay-hub201.domainlocalhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/D1-61233-19D902F4 for ; Wed, 25 Jan 2012 19:25:54 -0500 Received: from MBX202.domain.local ([169.254.19.147]) by HUB201.domain.local ([74.115.204.51]) with mapi id 14.01.0355.002; Wed, 25 Jan 2012 19:25:46 -0500 To: =?iso-8859-1?Q?=C1ngel_Gonz=E1lez?= , Robert Eisele CC: PHP internals Thread-Topic: [PHP-DEV] Shebang parsing Thread-Index: AQHM27hjU5nWxZA04EuHBihVTomTwpYeF1WA//+zLiA= Date: Thu, 26 Jan 2012 00:25:45 +0000 Message-ID: <9570D903A3BECE4092E924C2985CE48539BC5EA4@MBX202.domain.local> References: <4F20978D.2090605@gmail.com> In-Reply-To: <4F20978D.2090605@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.64.21] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] Shebang parsing From: cpriest@zerocue.com (Clint M Priest) I've never gotten -d in shebang to work properly, I'd love to see that work= ing. -----Original Message----- From: =C1ngel Gonz=E1lez [mailto:keisial@gmail.com]=20 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=20 > shebang parameters. There are |.user.ini files, but only for CGI/FastCGI http://es2.php.net/man= ual/en/configuration.file.per-user.php | > The second solution, would also open the possebility to define=20 > constants or make use of all other cli parameters. Well, there's also=20 > a quick hack. We could change php_getopt() in order to make this a valid = argument: > > php -c=3D/var/www/php.ini What's wrong with (currently working) php -c/var/www/php.ini ?