Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in F:\USBWebserver v8.6\root\ok.php on line 128
這時候要到php設定時區就可以解決,底下是設定方式。
1.出現的錯誤畫面
2.到php目錄找到php.ini檔案並打開,將date.timezoe前面的分號拿掉
3.並修改您的時區例如Asia/Taipei
沒有留言:
張貼留言