Hi!
I am getting following warning on installing PHP 5.1.6 on AIX. I understand that due to the changes in date function in 5.1, the timezone has to be set explicitly in one of the ways suggested in the warning. However, The TZ environment variable is set correctly on AIX. It appears that during installation it is not able to read the TZ variable correctly and is defaulting to UTC causing the following warning. Does anyone know if it's a bug. I know it can worked around by setting the default timezone in php.ini but I wanted to understand why it's not picking up the TZ variable correctly like it is supposed to.
Your help is appreciated.
Warning: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ envir
onment variable 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 had to select 'UTC' because your platform doesn't provid
e functionality for the guessing algorithm in phar://install-pear-nozlib.phar/PEAR/Registry.php on line 887
Thanks.
Sharan.