Fixed Bug #64915 (error_log ignored when daemonize=0)

Use configured error_log file when stderr is not a tty.
So only use tty during interactive debug run.
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed Bug #64915 (error_log ignored when daemonize=0)
NEWS
Merge branch 'PHP-5.5'

* PHP-5.5:
  NEWS
  Fixed Bug #64915 (error_log ignored when daemonize=0)