久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      linux服務(wù)器怎么設(shè)置php時區(qū)

      設(shè)置方法:1、打開“/etc/sysconfig/clock”文件,將“ZONE”項的值改為“Asia/Shanghai”;2、執(zhí)行命令修改系統(tǒng)時區(qū);3、打開“php.ini”文件,將“date.timezone”項的值改為“PRC”即可。

      linux服務(wù)器怎么設(shè)置php時區(qū)

      本教程操作環(huán)境:CentOS 6.5系統(tǒng)、PHP7.1版、Dell G3電腦。

      修改 linux 時區(qū)時間和 php 時區(qū)

      第一步,先修改硬件時區(qū)。

      vim /etc/sysconfig/clock

      ZONE="America/New_York" 注釋,加多一行 ZONE="Asia/Shanghai"

      第二步,修改系統(tǒng)時區(qū)

      cp /etc/localtime /etc/localtime.bak rm -rf /etc/localtime ln -svf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime yum install ntpdate -y ntpdate 0.centos.pool.ntp.org date clock -w         #將目前 Linux 的時間寫到 BIOS 里面去! clock -r         #檢查 BIOS 里面的時間

      第三步,修改 php.ini 的時區(qū)設(shè)置

      date.timezone = PRC

      設(shè)置好后,最好重啟下系統(tǒng)。

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號