• 技术文章 >后端开发 >php教程

    诸位这句英文警告是什么意思?看不懂

    2016-06-13 12:49:04原创426

    各位这句英文警告是什么意思?看不懂啊
    Warning: date() [function.date]: 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 'UTC' for '8.0/no DST' instead in D:\AppServ\www\PHPMailer\class.phpmailer.php on line 2387


    ------解决方案--------------------
    页头加上 date_default_timezone_set("PRC"); 试试看
    ------解决方案--------------------
    可以试试通过修改php.ini配置文件中timezone的值。

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:nbsp timezone date the PHPMailer
    上一篇: 柱形图的类,不要jpgraph 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • PHP+Socket系列之实现客户端与服务端数据传输• PHP socket学习:带你做个简单的socket服务器• 一文详解PHP用流方式实现下载文件(附代码示例)• PHP反序列化入门总结(小白必看)• PHP原生类的总结分享
    1/1

    PHP中文网