PHP: date(): It is not safe to rely on the system’s timezone settings

While trying to install some PHP application (Manage Your Team http://www.manageyourteam.net) I got an error:

Error 500
date(): It is not safe to rely on the system’s timezone settings

Solution:
I edit the /usr/php/php.ini file (in other servers could be on /etc/php/php.ini etc..)
I found the line:
;date.timezone =
and change it to:
date.timezone = Asia/Jerusalem

Then restart apache (httpd) and all good.

Miki Barzilay