Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17634 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30244 invoked by uid 1010); 8 Aug 2005 21:58:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30228 invoked from network); 8 Aug 2005 21:58:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2005 21:58:49 -0000 X-Host-Fingerprint: 208.151.246.192 208-151-246-192.dq1sn.easystreet.com Linux 2.4/2.6 Received: from ([208.151.246.192:46471] helo=sound-o-mat.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id AA/64-04646-895D7F24 for ; Mon, 08 Aug 2005 17:58:49 -0400 Received: from localhost (localhost [127.0.0.1]) by sound-o-mat.com (Postfix) with ESMTP id E1D6D11C4CB; Mon, 8 Aug 2005 14:58:44 -0700 (PDT) Received: from sound-o-mat.com ([127.0.0.1]) by localhost (cainan.sound-o-mat.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24217-02; Mon, 8 Aug 2005 14:58:29 -0700 (PDT) Received: from [192.168.1.3] (linksys [192.168.1.1]) by sound-o-mat.com (Postfix) with ESMTP id EA2D911C491; Mon, 8 Aug 2005 14:58:28 -0700 (PDT) Message-ID: <42F7D584.7030501@pheedo.com> Date: Mon, 08 Aug 2005 14:58:28 -0700 Reply-To: rvaughn@pheedo.com Organization: Pheedo User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ilia Alshanetsky Cc: internals@lists.php.net References: <42F7B0C8.2080704@pheedo.com> <42F7BB6F.7070700@prohost.org> In-Reply-To: <42F7BB6F.7070700@prohost.org> X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at sound-o-mat.com Subject: Re: [PHP-DEV] Diffs for README.TESTING clarification about php.ini default usage From: rvaughn@pheedo.com (Rob Vaughn) Excellent (!!) point about hard-coding a path into the docs, hadn't thought of that, doesn't apply to Windows, etc. You can clip out the reference to /etc/php.ini and the rest is still far more clear than the current verbiage. Ilia Alshanetsky wrote: > Not quite, the default php.ini file is actually > /usr/local/lib/php(-cli).ini unless you tell PHP a custom path to > install itself or the ini to. IMHO hard coding a path into the docs is a > BAD idea. > > Ilia > > Rob Vaughn wrote: > >>--- README.TESTING.orig 2005-08-08 12:08:04.000000000 -0700 >>+++ README.TESTING 2005-08-08 12:20:36.000000000 -0700 >>@@ -38,10 +38,15 @@ >> >> [Which php.ini is used] >> ----------------------- >>- "make test" uses the same php.ini file as it would once installed. >>-The tests have been written to be independent of that php.ini file, >>-so if you find a test that is affected by a setting, please report >>-this, so we can address the issue. >>+ "make test" uses the system default php.ini file (/etc/php.ini) >>+unless it does not exist or is otherwise specified with the "-c >>+[path]" argument. If a system install does not exist, the php.ini >>+file that is part the distribution source code is used instead. >>+ >>+The tests are supposed to have been written to be independent of that >>+php.ini file, so if you find a test that is affected by a setting, >>+please report this, so we can address the issue. Quite a number of tests >>+do use the /etc/php.ini or specified ini file settings as of PHP 4.4. >> >> >> [Which test scripts are executed] >> > >