中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线

Board logo

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

作者: 問題用戶    時間: 2013-6-22 14:46     標(biāo)題: 升級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.ahbydz.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ù) 6970
http://www.ahbydz.com/bbs/attachment.php?aid=3120&k=2a313a260ca578b7227ea3b75e70e45c&t=1746222179&sid=S1SWDC


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

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

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




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