どうせ移植するならという事で、CentOS5.6から6.0への移植中に起こったエラーの対処方法。
ある程度の設定終了後にウェブアプリを移植。
そして管理画面にアクセスすると以下のエラー表示。
Can't connect to MySQL server on 192.168.1.1 (13)
Host '192.168.1.1' is not allowed to connect to this MySQL server
grant all privileges on DABASENAME.* to USERNAME@'%' identified by 'PASSWORD';
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the datedefaulttimezone_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' instead
関連記事