99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级

Board logo

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

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

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

查看phpinfo的時(shí)候出現(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://fudaan.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ù) 6907
http://fudaan.com/bbs/attachment.php?aid=3120&k=d90edf18cb103a543db853111f1ad645&t=1745284403&sid=cCFDLd


作者: itxx    時(shí)間: 2013-6-23 10:03

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

謝謝版主,修改后確實(shí)好了




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