【freo】【freoTips】【その他TIPS】さくらインターネットライトプランでサブドメインにfreoを設置する時の注意点
- 2012/04/12 11:16
- 65
さくらインターネットライトプランでPHPを実装する方法は
などを参考にする。
PHP.iniの編集は
を参考にする。
尚、私の場合、サブドメインにfreoを設置した時、下記のようなエラーが表示された。
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/Tokyo' for 'JST/9.0/no DST' instead in freo設置URL/libs/freo/plugins/display.page_menu.php on line 23
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/Tokyo' for 'JST/9.0/no DST' instead in freo設置URL/libs/freo/plugins/display.page_menu.php on line 24
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/Tokyo' for 'JST/9.0/no DST' instead in freo設置URL/libs/freo/plugins/display.page_menu.php on line 24
このエラーを解除するためにとった対応策は以下の通り。
サブドメイン用フォルダの[cgi-bin]フォルダに、Web Liberty&freoカスタマイズ集の(2)で作成したphp.iniをアップロードする。
(php.iniのパーミッションは604)