写php是遇到的一个小问题
来源:互联网 发布:数据质量控制系统 编辑:程序博客网 时间:2024/05/22 03:12
写php是遇到的一个小问题
今天在写php时偶然间遇到的一个问题,,以前没有遇到过,当然以前也没有写过php代码,,在写关于日期时间函数时,,总是弹出warning:
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/Chongqing’ for ‘CST/8.0/no DST’ instead
于是就找原因啊,,找了好长时间,终于找到了(新手的悲哀啊),,根据它的提示,,找到是在php目录下的php.ini文件的问题,解决方法如下:
Ok;;;
0 0
- 写php是遇到的一个小问题
- 写struts2遇到的一个小问题
- 在编写PHP时遇到的一些小问题
- 写一个小项目遇到的问题总结
- 遇到的一个小问题
- 写小程序遇到的问题
- 写了一个Xcode的小demo遇到了一些问题
- PHP编程遇到的小问题
- 接触php遇到的小问题
- 学C++遇到的一个小问题
- 遇到一个主明细表的小问题。
- 安装Windows7遇到的一个小问题
- WPF遇到的一个小问题
- Java遇到的一个小问题
- android开发遇到的一个小问题
- android 遇到的一个小问题
- myeclipse2013激活遇到的一个小问题
- 初学python遇到的一个小问题
- SetLayoutParams和onMeasure的差别
- gdi+内存绘图
- Server Tomcat v7.0 Server at localhost failed to start.解决方法
- 【机房重构】奋斗组合查询
- Java--实现网络爬虫抓取RSS新闻(1)网络爬虫详解
- 写php是遇到的一个小问题
- hdu 2005 第几天?(java)
- poj 1321(dfs)
- LintCode-旋转图像
- Android--多线程之Handler
- java Comparator接口和PriorityQueue优先级队列的使用
- 字符串匹配Sunday算法实现
- akka入门-基于信道进行消息可靠传输
- 最短路径