【发布时间】:2013-02-05 09:20:38
【问题描述】:
我已将我的 joomla 和 wordpress 文件从旧服务器更改为新服务器。在前端和管理方面它的工作没有任何错误。但是在数据库(phpmyadmin)部分它显示了一些像这样的警告消息..
Warning: strtotime() [function.strtotime]: 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/Calcutta' for 'IST/5.0/no DST' instead in /usr/share/phpmyadmin/libraries/db_info.inc.php on line 88
Warning: strftime() [function.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 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /usr/share/phpmyadmin/libraries/common.lib.php on line 1483
您能否建议,如何隐藏这些警告消息??
提前致谢。
【问题讨论】:
-
注意:
php-cli的php.ini文件与apache2的php.ini文件不同。我建议将一个符号链接到另一个以使它们保持同步并避免混淆!
标签: php string wordpress joomla phpmyadmin