# apt-get update # apt-get install ntp
# date # ntpq -p
No association ID's returned
# dpkg-reconfigure ntp
# ntpq -p
# dpkg-reconfigure tzdata
You need to restart the apache2 service for php to recognize the changed timezone.