Re: date.timezone set and still getting strict warnings.

From: Date: Tue, 14 Jun 2011 15:08:16 +0000
Subject: Re: date.timezone set and still getting strict warnings.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-313518@lists.php.net to get a copy of this message
On Tue, Jun 14, 2011 at 10:35, Tamara Temple <tamouse.lists@gmail.com> wrote: > > Ok, first off, are you telling me the CLI and the Web versions reference > different php.ini files? I thought they both used /etc/php.ini... Depends on the compile-time arguments and such. You can also have local php.ini files (as in, under your public_html/ directory, et al). Some installs even scan those familiar '.d' directories for *.ini. So, for example: /etc/php.d/*.ini . > Secondly, I *did* check the output of phpinfo() from the web with the exact > same results. > > Now, the problem is... > >       I surrounded the date.timezone setting with single quotes. > > So, removing the quotes got me what I needed. That'll do it, too. ;-P -- </Daniel P. Brown> Network Infrastructure Manager http://www.php.net/

« previous php.general (#313518) next »