I current have this set in my htaccess:
php_value error_reporting -1
I want the log to only log fatal errors. What do I replace -1 with to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can always combine several flags with bit-operators.
With
ORit’s easy: It’s just1 + 16 + 64 = 81.You can find examples on the manual page for
error_reporting()and about bit operators on the manual page for bit operators.As a sidenote: You cannot log
E_CORE_ERRORorE_COMPILE_ERRORwith PHP anyway, because they occur, before or during PHPs startup process.