rfc:date.timezone_warning_removal
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:date.timezone_warning_removal [2015/02/15 17:19] – More neutral wording, discussion of feedback … thanks to Dan bwoebi | rfc:date.timezone_warning_removal [2015/02/16 18:06] – Spelling levim | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Remove the date.timezone warning ====== | ====== PHP RFC: Remove the date.timezone warning ====== | ||
- | * Version: 1.1 | + | * Version: 1.2 |
* Date: 2015-01-27 | * Date: 2015-01-27 | ||
* Author: Bob Weinand, bobwei9@hotmail.com | * Author: Bob Weinand, bobwei9@hotmail.com | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 9: | Line 9: | ||
PHP should be usable without configuring it through either an ini file or defining settings on the command line. Currently this is not possible as the date.timezone is required to be set, despite it defaulting to the best option. | PHP should be usable without configuring it through either an ini file or defining settings on the command line. Currently this is not possible as the date.timezone is required to be set, despite it defaulting to the best option. | ||
- | " | + | " |
The error message becomes entirely tedious when working with anything other than a single installed version of PHP. | The error message becomes entirely tedious when working with anything other than a single installed version of PHP. | ||
Line 31: | Line 31: | ||
===== Feedback ===== | ===== Feedback ===== | ||
==== " | ==== " | ||
- | No. For users who install PHP through a distribution, | + | No. For users who install PHP through a distribution, |
For end users who compile from source they can either modify the ini file that is used by PHP in the compile step or they could add it themselves when PHP is built e.g. For Debian they could easily stick the following in a post-install hook to fix it: | For end users who compile from source they can either modify the ini file that is used by PHP in the compile step or they could add it themselves when PHP is built e.g. For Debian they could easily stick the following in a post-install hook to fix it: | ||
Line 43: | Line 43: | ||
* Those who use multiple versions of PHP or otherwise use PHP without going through the install process. This RFC will be beneficial to these users. | * Those who use multiple versions of PHP or otherwise use PHP without going through the install process. This RFC will be beneficial to these users. | ||
* People who have accidentally deleted their ini files from their production system. These users have bigger issues than this RFC can address. | * People who have accidentally deleted their ini files from their production system. These users have bigger issues than this RFC can address. | ||
+ | |||
+ | Still, it is weird, to have that one setting emit a warning, but other much more important settings don't. The ini settings have defaults and they should be used. | ||
==== "Users are idiots and can't be trusted" | ==== "Users are idiots and can't be trusted" | ||
- | Well, yes. But there are many things that must be set in an ini file for PHP to be usable in a production environment. The person installing PHP needs to be capable of setting all of these. The timezone setting is not the most important setting that needs to be set so it's not good that PHP gives warning message when it is not set. | + | Well, yes. But there are many things that must be set in an ini file for PHP to be usable in a production environment. The person installing PHP needs to be capable of setting all of these. The timezone setting is not the most important setting that needs to be set so it's not good that PHP gives a warning message when it is not set. |
==== " | ==== " | ||
Line 52: | Line 54: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | Remove this warning (50%+1 vote): | + | Remove this warning (50%+1 vote) - Vote began 2015-02-16 and will end 2015-02-24. |
- | * Yes | + | |
- | * No | + | <doodle title=" |
+ | * Yes | ||
+ | | ||
+ | </ | ||
===== Patch ===== | ===== Patch ===== | ||
Line 70: | Line 75: | ||
* 1.0: Initial RFC (2015-01-27) | * 1.0: Initial RFC (2015-01-27) | ||
* 1.1: More neutral wording, discussion of feedback (2015-02-15) | * 1.1: More neutral wording, discussion of feedback (2015-02-15) | ||
+ | * 1.2: Put into vote (2015-02-16) |
rfc/date.timezone_warning_removal.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1