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, .htaccess
files are only read from the PHP httpd module.
.htaccess is used only by Apache. So the answer is NO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With