1

My phpinfo() shows:

"Olson" Timezone Database Version   0.system 

Instead of installing the pecl module, isnt it better if I can update the system timezone database / system?

How can I do that?

I'm ona RHEL5/CentOS system.

siliconpi
  • 1,707
  • 6
  • 30
  • 45

2 Answers2

0

Update the tzdata package.

Ignacio Vazquez-Abrams
  • 45,019
  • 5
  • 78
  • 84
0

If you are using CentOS 6, then just upgrade package:

[sudo] yum update tzdata

For CentOS 5, copy timezone file from CentOS 6 to your /etc/localtime on CentOS 5 and wait for upgrade being released