Re: [PHP] PHP no longer logging errors - found them!
""Jeff Armstrong"" <[EMAIL PROTECTED]> wrote in message 9gtgiv$g4$[EMAIL PROTECTED]">news:9gtgiv$g4$[EMAIL PROTECTED]... > Little Bo jeff has lost his logs, > and doesn't know where to find them! > Fix up the conf > and they will come home > dragging their hints behind them! > > I moved some php config values into httpd.conf so that I could > manage my virtual sites better (e.g. phpMyAdmin needs globals) > and assumed that the names and values would be the same as php.ini > so I had > php_value display_errors on > php_value log_errors on They don't work because since they are boolean values you need to use php_flag instead of php_value: php_flag display_errors on php_flag log_errors on > > This doesnt work! The following does work though: > php_value display_errors 1 > php_value log_errors 1 As they logically should. > > regards > Jeff lenar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP no longer logging errors - found them!
Little Bo jeff has lost his logs, and doesn't know where to find them! Fix up the conf and they will come home dragging their hints behind them! I moved some php config values into httpd.conf so that I could manage my virtual sites better (e.g. phpMyAdmin needs globals) and assumed that the names and values would be the same as php.ini so I had php_value display_errors on php_value log_errors on This doesnt work! The following does work though: php_value display_errors 1 php_value log_errors 1 regards Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP no longer logging errors
PHP appears to no longer be logging errors: My php.ini is unchanged: error_reporting = E_ALL display_errors = On display_startup_errors = On log_errors = On error_log = /var/log/apache/php.log Over the last few days, whenever I had a syntax error in my scripts, I was getting segmentation faults reported in the apache error logs. Now I dont get anything anywhere. Anyone know why all error reporting might suddenly disappear? Has my library grown too large? complex? TIA JEFF -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]