On Sun, May 23, 2010 at 6:14 AM, Fbsd1 <fb...@a1poweruser.com> wrote:

> Running Apache-1.3.41_1 PHP5-5.2.12 I did not get this message, which I now
> get running Apache/2.2.15 (FreeBSD) PHP/5.3.2
> Is their way to stop this?
>
> Warning: date() [function.date]: 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 'Asia/Manila' for 'PHT/8.0/no DST'
> instead in /usr/local/website/mlsax/class.phpmailer.php on line 1406
>
>
Somewhere on top of your script, set the time zone:

date_default_timezone_set('Asia/Manila');


With regards

Amitabh
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to