Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: how to set default timezone as a .config argument? Date: Thu, 14 Jan 2016 08:45:59 +0100 Lines: 49 Message-ID: <56975237.1070907@arnowelzel.de> References: <5696DB4E.1020802@arnowelzel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: individual.net buWKEiiyU099P/iNpw61JgfLD7gECWmHUoeUQF0k2YL7CWPpQj Cancel-Lock: sha1:mZd/NU7b1IAybALZ6LeBz3KtmQo= In-Reply-To: Xref: csiph.com comp.lang.php:16266 crankypuss schrieb am 2016-01-14 um 08:13: > Arno Welzel wrote: > >> crankypuss schrieb am 2016-01-13 um 23:54: >> >>> When building PHP from source, I want to set the default timezone to >>> UTC via some .config option, is there such an option? >> >> No, there isn't. >> >> See . > > Why should I read again the same text that is provided by ".configure -- > help"? I just mentioned it because I was not sure if you did read it at all or you may believe ".configure --help" will not show all possible options. >>> What I've found is, >>> >>> "To assign environment variables (e.g., CC, CFLAGS...), specify them >>> as VAR=VALUE." >> >> Yes - but this has nothing to do with the default timezone PHP uses at >> runtime. See >> > . >> >> 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. 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. Things do not become deprecated from one week to the next. They become deprecated between PHP major version updates - e.g. from PHP 5.6 to 7. And these changes don't happen every week and are well documented - and not many things become deprecated at all each release: -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de