How to set timezone on your server
Posted: Wed Aug 10, 2022 10:30 am
In your SSH, as root, run:
This will show you the list of all time zones. When you chose yours, run:
Instead of Europe/Berlin insert your time zone previously found with the first command.
Optionally, maybe you also need to restart all PHP-FPM services so they can refresh system timezone:
Code: Select all
timedatectl list-timezones
Code: Select all
timedatectl set-timezone Europe/Berlin
Optionally, maybe you also need to restart all PHP-FPM services so they can refresh system timezone:
Code: Select all
systemctl --full --type service --all | grep "php...-fpm" | awk '{print $1}' | xargs systemctl restart