R
R
redya692017-06-26 20:04:44
PHP
redya69, 2017-06-26 20:04:44

How to configure php errors logging?

Apache works in conjunction with php 5.4
Problem:
In case of a clear fatal error situation, Apache returns an empty page with code 200. PHP errors are not displayed and are not written to the log
The path to the log is configured in the Apache config, the file is there and it is empty. Access logs are written successfully
The display of all errors is configured in the PHP config and logging is enabled.
Tell me where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lnroma, 2017-06-26
@lnroma

All fatal errors are displayed and logged, I can assure you of this. But if these are application logic errors, then in fact there is no error, Exception() or trigger_error() or its alias users_error() will help you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question