Re: Diffs for README.TESTING clarification about php.ini default usage
| From: | Ilia Alshanetsky | Date: | Mon, 08 Aug 2005 20:07:11 +0000 |
| Subject: | Re: Diffs for README.TESTING clarification about php.ini default usage | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17625@lists.php.net to get a copy of this message | ||
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]
>