Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57514 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71296 invoked from network); 25 Jan 2012 23:55:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2012 23:55:43 -0000 Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:46397] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/51-61233-D76902F4 for ; Wed, 25 Jan 2012 18:55:42 -0500 Received: by wgbgn7 with SMTP id gn7so321389wgb.5 for ; Wed, 25 Jan 2012 15:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=qNRee8vESLiXVTRpfAszfFFRMNNHKfb2fvgw3mZ9oh8=; b=nvAhtem+Q1SD2yEYCXeiR195KIR90GvkuKfnliWVMiSIRxZm3Mk+CRm75qMYEDdhNA eyrLgFI2NSzt62WMAxC0xKrRkj8FQ18CfpZVpc1Ky1ouozw4wMg2RF7v1M8VnGdsJ8mI 2LFwO7RsYEPrnJkw0Lzbn1qIyR4b4M/J8XFVI= Received: by 10.180.96.3 with SMTP id do3mr421441wib.1.1327535738965; Wed, 25 Jan 2012 15:55:38 -0800 (PST) Received: from [192.168.1.26] (159.red-80-28-64.adsl.dynamic.ccgg.telefonica.net. [80.28.64.159]) by mx.google.com with ESMTPS id fr8sm6582177wib.10.2012.01.25.15.55.37 (version=SSLv3 cipher=OTHER); Wed, 25 Jan 2012 15:55:37 -0800 (PST) Message-ID: <4F20978D.2090605@gmail.com> Date: Thu, 26 Jan 2012 01:00:13 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: Robert Eisele CC: PHP internals References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------050800090605010401080504" Subject: Re: [PHP-DEV] Shebang parsing From: keisial@gmail.com (=?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?=) --------------050800090605010401080504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ? --------------050800090605010401080504--