人気ブログランキング | 話題のタグを見る

What Would Jesus Do?

php タイムゾーンエラー

ECCUBE構築時に購入画面で下記エラーが発生

==========================================================
PHP Warning: strtotime(): 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/Tokyo' for 'JST/9.0/no DST

==========================================================
原因はphp.iniにタイムゾーン設定がされていないためです。
で、↓を記述
date.timezone = Asia/Tokyo

apache再起動でエラーは回避しました



by cimacoppi | 2011-01-21 10:24

検索

最新の記事

mod_line_editを..
at 2012-12-14 22:25
nagiosでOracleの..
at 2012-12-13 12:25
s3cmdでmultipar..
at 2012-12-06 15:59
tcpservr をssl化する
at 2012-03-10 21:50
telnetコマンドでpop..
at 2012-03-06 15:59

最新のトラックバック

ファン

ブログジャンル

画像一覧