Tuesday, September 27, 2016

Server Date Time Setting in CWP Panel

Solution 1:-

In CWP Panel

in website php.ini and for server mysql set in my.cnf
and also in system.starup.php ---date_default_timezone_set("Asia/Kolkata");
date.timezone = Asia/Kolkata;

===============OR====================================

Solution 1:-

Time-zone Setting in Linux in centos command


[root@s$$-$$-$$$-$$$ server1]# ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
[root@s$$-$$-$$$-$$$ server1]# date
Sat Mar 19 15:48:53 IST 2016
[root@s$$-$$-$$$-$$$ server1]#

0 comments :

Post a Comment