PHP currently will not log errors produced from the command line.
I have:
log_errors = On error_log = /var/log/php_errors.log
In file /etc/php5/cli/php.ini.
/etc/php5/cli/php.ini
Am I missing a further setting to get this working?