I have just activated/installed PHP and mySQL on my Mac and all seemed to be going well until I accessed a table which used dates.
On the live server - where I was p
Any ideas how to stop this.
The error message tells you how to stop this.
You are required to use the date.timezone setting or the date_default_timezone_set() function.
Update your PHP installation's php.ini
(likely /etc/php.ini
) file to have a date.timezone
setting, or use date_default_timezone_set()
in your scripts.
You're only now seeing this because it starts happening in PHP 5.3+.