I would like to register PHP errors on the CakePHP website with debug = 0. However, even if I turn on the error log, like this:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
log_errors = On
it does not register errors.
The problem is that even for a parsing error that should cause the CakePHP environment to not load completely (I think), it still blocks the error during registration. If I set the debugging to 3, it will load into the file without any problems.
I am using CakePHP 1.2. I know that this seems to have become easier in 1.3, but I'm not ready for an update.
source
share