内射女校花一区二区三区,久久久老熟女一区二区三区,国产精品美女久久久网站,亚洲成AV人片在

Board logo

標題: [求助] 升級PHP5.3.17后 date出現(xiàn)錯誤提示 [打印本頁]

作者: 問題用戶    時間: 2013-6-22 14:46     標題: 升級PHP5.3.17后 date出現(xiàn)錯誤提示

本帖最后由 問題用戶 于 2013-6-22 14:48 編輯

查看phpinfo的時候出現(xiàn)如下提示



  1. Warning: phpinfo(): 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/Chongqing' for 'CST/8.0/no DST' instead in /www/web/basa/public_html/phpinfo.php on line 2
復(fù)制代碼





剪貼板3.jpg



【升級方法】
http://www.sdymsy.com/bbs/thread-3737-1-1.html
  1. # wget http://down.wdlinux.cn/in/php_up53.sh
  2. # sh php_up53.sh
復(fù)制代碼


圖片附件: 剪貼板3.jpg (2013-6-22 14:41, 46.3 KB) / 下載次數(shù) 6971
http://www.sdymsy.com/bbs/attachment.php?aid=3120&k=cb0d2bbfda42e88dbbc9275cf79bffdf&t=1746224252&sid=6m89PG


作者: itxx    時間: 2013-6-23 10:03

應(yīng)該是需要在php.ini中指定個默認時區(qū)
作者: 問題用戶    時間: 2013-6-23 11:28

謝謝版主,修改后確實好了




歡迎光臨 WDlinux官方論壇 (http://www.sdymsy.com/bbs/) Powered by Discuz! 7.2