Control Web Panel
WebPanel => CentOS-WebPanel GUI => Topic started by: shahmir on September 08, 2023, 12:53:38 AM
-
I am trying to set server time to "country/city" timezone, so i changed timezone from cwp admin panel/server Date & Time and then edited both php.ini in php and php7 folder.
server time is shows correct time(Country/City) in admin panel but in user control panel stills shows utc time.
could you please let me know how can i set user panel time as well?
-
Hello
make sure to restart the cpw services so bull is fine
-
As a matter of housekeeping, you should check at the OS level to make sure your overall system time is correct and syncing with a times server.
Set the timezone:
timedatectl set-timezone America/Chicago
Install NTP:
yum install ntp
systemctl start ntpd.service
systemctl enable ntpd.service
Set the NTP servers in /etc/ntp.conf:
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org