Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16256 > unrolled thread
| Started by | crankypuss <invalid@invalid.invalid> |
|---|---|
| First post | 2016-01-13 15:54 -0700 |
| Last post | 2016-01-15 08:57 -0700 |
| Articles | 3 on this page of 23 — 6 participants |
Back to article view | Back to comp.lang.php
how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-13 15:54 -0700
Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 00:18 +0100
Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-14 00:13 -0700
Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 08:45 +0100
Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 08:49 +0100
Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-14 10:19 -0700
Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 20:09 +0100
Re: how to set default timezone as a .config argument? Tim Streater <timstreater@greenbee.net> - 2016-01-15 11:22 +0000
Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-15 08:53 -0700
Re: how to set default timezone as a .config argument? Tim Streater <timstreater@greenbee.net> - 2016-01-15 17:40 +0000
PHP in a local environment (was: how to set default timezone as a .config argument?) "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-15 18:51 +0100
Re: PHP in a local environment (was: how to set default timezone as a .config argument?) crankypuss <invalid@invalid.invalid> - 2016-01-15 11:00 -0700
Re: PHP in a local environment (was: how to set default timezone as a .config argument?) Tim Streater <timstreater@greenbee.net> - 2016-01-15 20:41 +0000
Re: PHP in a local environment "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-17 16:36 +0100
Re: PHP in a local environment Tim Streater <timstreater@greenbee.net> - 2016-01-17 15:54 +0000
Re: how to set default timezone as a .config argument? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-16 01:21 +0000
Re: how to set default timezone as a .config argument? Michael Vilain <vilain@NOspamcop.net> - 2016-01-15 18:25 -0800
Re: how to set default timezone as a .config argument? Tim Streater <timstreater@greenbee.net> - 2016-01-16 08:25 +0000
Re: how to set default timezone as a .config argument? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-16 11:55 +0000
Re: how to set default timezone as a .config argument? "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-14 11:57 +0100
Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-14 10:29 -0700
Re: how to set default timezone as a .config argument? "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-15 12:14 +0100
Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-15 08:57 -0700
Page 2 of 2 — ← Prev page 1 [2]
| From | crankypuss <invalid@invalid.invalid> |
|---|---|
| Date | 2016-01-14 10:29 -0700 |
| Message-ID | <n78lp6$g2s$1@dont-email.me> |
| In reply to | #16270 |
Christoph M. Becker wrote: > crankypuss wrote: > >> Arno Welzel wrote: >> >>> Yes - but this has nothing to do with the default timezone PHP uses >>> at runtime. See >>> >> <http://php.net/manual/en/datetime.configuration.php#ini.date.timezone>. >>> >>> Even if TZ is set this makes no difference for compilation. >> >> One of the reasons I want to build PHP from source is so I'm not >> constantly hounded by whatever is deprecated this week. > > But rather accept that you ship a PHP engine that has bugs and even > vulnerabilities? You think I'm going to ship this thing? How embarrassing. I suppose it's possible, just extremely unlikely. >> If there's no >> option I can use when building it that will shut off the damned >> idiotic warning, I'll just hunt it down and remove it. > > Instead I suggest that you make sure that PHP is started with the > option set to a reasonable value, e.g. > > php -d date.timezone=UTC index.php I found it easiest just to whack the offending code and rebuild it. > or use PHP 7, where the warning will not be thrown at all. So which is it adding warnings then removing them, release by release, is it morons, or clowns, or people making "wise business decisions"? I have trouble telling the difference. -- http://totally-portable-software.blogspot.com [Sun Nov 22: "Total Portability is not binary"]
[toc] | [prev] | [next] | [standalone]
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
|---|---|
| Date | 2016-01-15 12:14 +0100 |
| Message-ID | <n7aka5$q3a$1@solani.org> |
| In reply to | #16273 |
crankypuss wrote: > Christoph M. Becker wrote: > >> Instead I suggest that you make sure that PHP is started with the >> option set to a reasonable value, e.g. >> >> php -d date.timezone=UTC index.php > > I found it easiest just to whack the offending code and rebuild it. > >> or use PHP 7, where the warning will not be thrown at all. > > So which is it adding warnings then removing them, release by release, > is it morons, or clowns, or people making "wise business decisions"? For the record: the warning has been introduced with PHP 5.1 (released 2005-11-24) and removed as of PHP 7.0 (released 2015-12-03). -- Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | crankypuss <invalid@invalid.invalid> |
|---|---|
| Date | 2016-01-15 08:57 -0700 |
| Message-ID | <n7b4nj$ltt$2@dont-email.me> |
| In reply to | #16286 |
Christoph M. Becker wrote: > crankypuss wrote: > >> Christoph M. Becker wrote: >> >>> Instead I suggest that you make sure that PHP is started with the >>> option set to a reasonable value, e.g. >>> >>> php -d date.timezone=UTC index.php >> >> I found it easiest just to whack the offending code and rebuild it. >> >>> or use PHP 7, where the warning will not be thrown at all. >> >> So which is it adding warnings then removing them, release by >> release, is it morons, or clowns, or people making "wise business >> decisions"? > > For the record: the warning has been introduced with PHP 5.1 (released > 2005-11-24) and removed as of PHP 7.0 (released 2015-12-03). That's superior propaganda, but since my PHP codebase began with whatever version of PHP was stable in 2002, maybe 4.0 or something, to me it seems like things are getting jerked around every week or two; that's what I call "fact exaggerated by annoyance". -- http://totally-portable-software.blogspot.com [Sun Nov 22: "Total Portability is not binary"]
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.php
csiph-web