Can anyone help shed light on how I can get my developers to be able to log and view PHP errors that would happen on a specific site? I have a php.ini file, and it looks like error_log = error_log is in there, as well as showing all errors, but I’m not sure what else to do to get them to be able to see any php errors. The site is on a linux server, but would be nice to know how to do it on linux or windows.
as far as I know, on linux the php.ini file will be ignored, that only works on windows., you need to set the changes in htaccess or use ini_set in the php page itself.
I haven’t done this in an .htaccess, only a php.ini. But, you’ll need these settings (copied from my php.ini file…you’ll need to translate to the htaccess syntax):
error_reporting = E_ALL & ~E_NOTICE [I](or whatever you want to see)[/I]
display_errors = Off
log_errors = On
error_log = /hshome/[I]account[/I]/[I]path[/I]/[I]file.log[/I]