I’m investigating the best place to set my error logging options, and it seems the most reliable place would be in .htaccess in the script subdirectory. But this particular script is run via cron, and therefore via command line.
Do php_value settings made in .htaccess affect scripts that are not run through the web server?
No,
.htaccessfiles are only read from the PHP httpd module.