PHP currently will not log errors produced from the command line.
I have :
log_errors = On error_log = /var/log/php_errors.log
in
in PHP file
error_log("You messed up!", 3, "/var/tmp/my-errors.log");
in terminal
tail -f /var/tmp/my-errors.log
output You messed up!