Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14294

Re: timezone

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.php
Subject Re: timezone
Date 2014-10-09 23:38 +0200
Organization PointedEars Software (PES)
Message-ID <18356659.JnX3sOiSR0@PointedEars.de> (permalink)
References <m16n9n$kpd$1@speranza.aioe.org> <m16qn6$vvo$1@dont-email.me> <87tx3dq6yn.fsf@ahungry.com>

Show all headers | View raw


Matthew Carter wrote:

> Jerry Stuckle <jstucklex@attglobal.net> writes:
>> Are you sure of your change?  The message seems to indicate you have
>> America.Detroit, not America/Detroit.  The former would be incorrect.
>>
>> Also, phpinfo() will give you information on which php.ini you are using.
> 
> I like using:
> 
> php --ini
> 
> Configuration File (php.ini) Path: /etc/php
> Loaded Configuration File:         /etc/php/php.ini
> Scan for additional .ini files in: /etc/php/conf.d
> Additional .ini files parsed:      /etc/php/conf.d/apcu.ini

Nice.  However, note that this will only give you the files for the CLI, 
while

  phpinfo(INFO_GENERAL);

is runtime-independent.

It should also be noted that none of the above provides information about 
PHP configuration directives set via Windows registry, server configuration, 
or user scripts.  The last one might be the case here as “date.timezone”
is PHP_INI_ALL-Changeable; if all else fails, RE-searching the source code 
case-insensitively for

  \bini_set\s*\(\s*["']date.timezone["']\s*,\s*["']America\.Detroit["']

and the like (the parameters of the call could be string constants) could 
prove useful.

<http://php.net/phpinfo>
<http://php.net/manual/en/ini.list.php>

-- 
PointedEars
Zend Certified PHP Engineer
Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

timezone bill <william@TechServSys.com> - 2014-10-09 15:22 -0400
  Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-09 21:58 +0200
    Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-09 16:23 -0400
      Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-09 22:47 +0200
        Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-09 20:54 -0400
          Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-10 16:08 +0200
            Re: timezone Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2014-10-10 14:19 +0000
              Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-10 10:47 -0400
              Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-10 16:58 +0200
                Re: timezone Tim Streater <timstreater@greenbee.net> - 2014-10-10 21:59 +0100
                Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-11 13:40 +0200
                Re: timezone Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2014-10-11 09:02 +0000
                Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-11 13:37 +0200
                Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-11 10:25 -0400
            Re: timezone bill <william@TechServSys.com> - 2014-10-10 13:49 -0400
    Re: timezone bill <william@TechServSys.com> - 2014-10-10 07:45 -0400
    Re: timezone bill <william@TechServSys.com> - 2014-10-10 07:56 -0400
      Re: timezone Matthew Carter <m@ahungry.com> - 2014-10-10 09:55 -0400
        Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-10 10:52 -0400
      Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-10 16:17 +0200
  Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-09 16:20 -0400
    Re: timezone Matthew Carter <m@ahungry.com> - 2014-10-09 17:16 -0400
      Re: timezone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-09 23:38 +0200
      Re: timezone Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-09 20:56 -0400
  Re: timezone Tim Streater <timstreater@greenbee.net> - 2014-10-09 21:52 +0100

csiph-web