I'm trying to setup a PHP-FPM Chroot jail on a new CentOS 6.3 box. I can get the chroot to work fine, in the sense that I can get php scripts to respond and echo things out. But, every time I use the date function, I get an error saying the timezone db is corrupt.
All I've done is changed the value of the chroot directive in php-fpm conf, to be the document root as specified in nginx.
This is the test script:
this is the nginx vhost
Here's the output I get when I go to localhost