Problem
I am installing a web-based application into my web servers' document root directory (see your httpd.conf file for further details). While running the installation script I get the following warning:
Warning [2] date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment 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 provide functionality for the guessing algorithm - Line: 134 - File: install/resources/output.php PHP 5.2.3
If you receive the above error message, this is due to latest PHP5 date() function rewrite.
Solution
To solve this issue, simply edit your php.ini file and set your date.timezone value (/usr/lib/php/php.ini). Change the line
;date.timezone =to your timezone. Valid timezone can be found here:
http://us3.php.net/manual/en/timezones.phpFor example change it to:date.timezone = Europe/BerlinSave the file and restart your web server:
# /etc/rc2.d/P90apache restart