• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

date.timezone

C

CannibalisticCow

Guest
I am trying to set the date.timezone within the php.ini file located at /etc/php.ini however it doesn't seem to be working.
When I call the phpinfo it shows as;
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone UTC

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value

The relevent part within the php.ini file is;
date.timezone = "Europe/London"
date.default_latitude = 51.500181
date.default_longitude = -0.12619

Any help on this would be appreciated as I am trying to install Zencart but I'm getting an error saying that the timezone is not set.
 
Back
Top