Thanks to the comments, I was able to solve my problem. What I did in the console:
#yum install php-pear #pecl install timezonedb
C compiler required:
configure: error: no acceptable C compiler found in $PATH
... so I did:
Also, if you get an error about the make command, just run
Finally, try again:
... 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:
source share