Re: "forced" ini settings in CLI don't work anymore..
| From: | Jani Taskinen | Date: | Thu, 17 Apr 2003 23:33:37 +0000 |
| Subject: | Re: "forced" ini settings in CLI don't work anymore.. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-951@lists.php.net to get a copy of this message | ||
On Wed, 16 Apr 2003, Marcus Börger wrote:
>At 05:03 16.04.2003, Jani Taskinen wrote:
>>
>> When '-n' is used (to not use any php.ini) both builds work fine.
>> So, are these not supposed to be forced defaults anymore for CLI?
>>
>
>
>They only overwrite the settings for -n now. The key idea was
>that the user should be able to change the values by all three
>mechanisms: "-d" option, php-cli.ini and ini_set(). If there
>were any ini setting that really needed to overwrite the ini
>file always we could do that, too (but i don't see a need for it).
You effectively broke BC with this change.
See the ext/pcntl/tests/001.phpt which now fails because of this.
It assumes implicit_flush is always 'On' as it only runs in CLI.
I would guess some other people have made the same assumption..
The settings were "hardcoded" for CLI for a reason, so please
make these behave like they did before.
--Jani