title: PHP-FPM doesn't write on the log
body: <p>I have this php-fpm.conf</p>
  
  <pre><code>[example.com]
          listen                 = 127.0.0.1:9001
          listen.owner           = example.com
          listen.group           = example.com
          listen.mode            = 0660
          listen.backlog         = -1
  
          user  = example.com
          group = example.com
  
          pm                   = dynamic
          pm.max_requests      = 0
          pm.max_children      = 2
          pm.start_servers     = 1
          pm.min_spare_servers = 1
          pm.max_spare_servers = 1
  
          chroot = /home/vhosts/example.com/
  
          request_terminate_timeout = 2
          request_slowlog_timeout   = 1
          slowlog                   = /home/vhosts/example.com/log/php-slow.log
  
          catch_workers_output = yes
  
          env[HOSTNAME] = $HOSTNAME
          env[PATH] = /usr/local/bin:/usr/bin:/bin
          env[TMP] = /tmp
          env[TMPDIR] = /tmp
          env[TEMP] = /tmp
  
  
          php_flag[display_errors]            = on
          php_admin_value[session.save_path]  = /tmp
          php_admin_value[error_log]          = /home/vhosts/example.com/log/php-error.log
          php_admin_flag[log_errors]          = on
          php_admin_value[memory_limit]       = 100M
          php_value[max_execution_time]       = 20
  </code></pre>
  
  <p>I don't understand why /home/vhosts/example.com/log/php-error.log is empty, I caused some errors like 10 / 0 (Zero division) etc etc, I see the error as output but the php-error.log still empty.</p>
  
  <p>I chrooted my vhost, but If i change</p>
  
  <p>/home/vhosts/example.com/log/php-error.log</p>
  
  <p>to</p>
  
  <p>/log/php-error.log</p>
  
  <p>I get a really strange error, when I do "10 / 0"!</p>
  
  <pre><code>Fatal error: main(): Timezone database is corrupt - this should *never* happen! in /web/index.php on line 10 
  </code></pre>