裝 PHP 5.3.0 後的問題

2009082110:29

出現:
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/Chongqing' for 'CST/8.0/no DST' instead

解決:
php.ini 設定好時區

[Date]
date.timezone = "Asia/Taipei"

時區資料查這裡:
http://nl3.php.net/manual/en/timezones.php



PHP 5.3 拿掉一堆函數

參考:
Deprecated features in PHP 5.3.x
http://www.php.net/manual/en/migration53.deprecated.php
...
...
...

Deprecated functions:



2012-04-03
..:: La。琉光 ::..: [ PHP ] PHP 5.2.X 升級 PHP 5.3.X 後不宜使用的function
這兒也有整理升級資料