Thanks to the comments, I was able to solve my problem. What I've done, in console:
#yum install php-pear
#pecl install timezonedb
It required c compiler:
configure: error: no acceptable C compiler found in $PATH
...so I did:
#yum install gcc
Also,
if you get an error about the make command, simply run
#yum install make
Finally, try again:
#pecl install timezonedb
...it displays at the end:
You should add "extension=timezonedb.so" to php.ini
I added "extension=timezonedb.so" to /etc/php.ini, and restarted php-fpm:
#/etc/init.d/php-fpm restart
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…