剛剛搭建好的lamp結果運行程序的時候出現了下面的問題
解決的方法是:在php.ini中加上 date.timezone = "Asia/Shanghai",問題就解決了
strftime(): 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.