普通网友 2012-01-04 16:51
浏览 45
已采纳

PHPInfo错误的日期

Using PHP echoing the date correctly displays: "2012-01-04 11:04:07"

However, at the top of my phpinfo file, I have:

"System Linux server1.domain.com #1 SMP Tue Jun 21 10:29:24 EDT 2011 i686"

The date is showing Jun 21st instead of Jan 4th?

I am running Ubuntu and PHP 5.3.2.

Thanks.

  • 写回答

4条回答 默认 最新

  • doukan1258 2012-01-04 16:57
    关注

    That is not the system time, that's a part of your kernel version (the time your OS's kernel was made). Nothing to be worried about (except perhaps check if that's an up-to-date kernel; if you're not administering the computer, don't worry about it).

    If you can run system commands, you can get this by running uname -a. The output on my box:

    Linux xyzzy 3.0.0-13-server #22-Ubuntu SMP Wed Nov 2 15:09:08 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    

    This only means that the kernel was built two months ago - this has no bearing on current time (only in the sense of "how old is the core of my OS?").

    See also: http://en.wikipedia.org/wiki/Uname

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行