PHP 5.3 date.timezone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why is date.timezone blank...I'm setting it in the config file?
How come PHP is ignorning teh directives I have set in the .ini?

OS X with PHP 5.3 compiled from source on Apache 2.2.9

WTF?

Here's my php.ini file:[Date]
; Defines the default timezone used by the date functions
date.timezone = America/New_York

date.default_latitude = 34.3044
date.default_longitude = -83.8338

;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333

But here's my phpinfo() output:
*Warning*: phpinfo()
[function.phpinfo<http://jcorry.localhost.com/function.phpinfo>]:
It is not safe to rely on the system's timezone settings. You are *required*
to use the date.timezone setting or the date_default_timezone_set()
function. In case you used any of those methods and you are still getting
this warning, you most likely misspelled the timezone identifier. We
selected 'America/New_York' for 'EDT/-4.0/DST' instead in *
/Users/jcorry/web_work/jcorry/httpdocs/info.php* on line *2*
 date/time support enabled "Olson" Timezone Database Version 2009.10 Timezone
Database internal Default timezone America/New_York
 DirectiveLocal ValueMaster Value date.default_latitude31.766731.7667
date.default_longitude35.233335.2333 date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333 date.timezone*no value**no value*

-- 
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux