Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17625 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48456 invoked by uid 1010); 8 Aug 2005 20:07:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48439 invoked from network); 8 Aug 2005 20:07:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2005 20:07:17 -0000 X-Host-Fingerprint: 70.85.46.36 unknown Received: from ([70.85.46.36:51799] helo=prohost.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8D/98-04646-47BB7F24 for ; Mon, 08 Aug 2005 16:07:16 -0400 Received: (qmail 5413 invoked from network); 8 Aug 2005 20:07:13 -0000 Received: from cpe00095beeab35-cm000f9f7d6664.cpe.net.cable.rogers.com (HELO ?192.168.1.101?) (69.196.31.219) by prohost.org with SMTP; 8 Aug 2005 20:07:13 -0000 Message-ID: <42F7BB6F.7070700@prohost.org> Date: Mon, 08 Aug 2005 16:07:11 -0400 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rvaughn@pheedo.com, internals@lists.php.net References: <42F7B0C8.2080704@pheedo.com> In-Reply-To: <42F7B0C8.2080704@pheedo.com> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Diffs for README.TESTING clarification about php.ini default usage From: ilia@prohost.org (Ilia Alshanetsky) 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] >