2009/2/11 Ilia Alshanetsky <i...@prohost.org>:
>
> On 11-Feb-09, at 9:26 AM, Christian Schneider wrote:
>
>> Eric Stewart wrote:
>>>
>>> A new RFC for PHP's proposed INI files have been added to the wiki. Below
>>> is
>>> a direct link to the page.
>>> http://wiki.php.net/rfc/newinis
>>
>> Good work IMHO.
>>
>> Similar to what Karsten Dambekalns wrote I think we should only have a
>> difference between devel and production for display/logging options, but
>> not for options changing the 'behaviour' of PHP.
>>
>> So I'd propose
>> allow_call_time_pass_reference = Off (devel) / On (production)
>> display_errors = On (devel) / Off (production)
>> display_startup_errors = On (devel) / Off (production)
>> html_errors = On (devel) / Off (production)
>> session.bug_compat_warn = On (devel) / Off (production)
>> track_errors = On (devel) / Off (production)
>>
>> but
>> output_buffering = 4096 ; Changes header()/compression filter behaviour
>
> I think it makes sense to have it on in both.
>
>> register_argc_argv = Off ; Why should devel have access if prod doesn't?
>
> off in both.
>
>> request_order = GPCS ;  Why should devel/production differ?
>> session.bug_compat_42 = Off ; Why should devel/production differ?
>>
>
> Agreed.
>
> Ilia Alshanetsky
>
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

One of the things about the 2 files is the amount of consistency between them.

The differences are scattered throughout the file.

Considering that these are our recommendations, would it not be
possible to have the differences at the top of the file and the
consistent ones below that.

[PHP]
; Here are the PHP's group recommended settings for development
foo=bar
; Now the rest of the settings which the PHP group have no explicit opinion on.

and

[PHP]
; Here are the PHP's group recommended settings for a production environment
foo=baz
; Now the rest of the settings which the PHP group have no explicit opinion on.


This way, the top few lines clearly indicate the areas where the PHP
group feel there should be distinct differences between a production
environment and a development environment.

This is how I've structured my ini files (for example, CLI has no HTML
highlighting output, whereas CGI/ISAPI does - just an example
difference). The rest of the settings are consistent between all the
SAPIs, so I have them further down the files.

Regards,

Richard.
-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to