I use the error handler function found at
http://www.php.net/manual/en/ref.errorfunc.php . Whenever a fatal
error has occurred, it does not log the error. I tried adding
E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_WARNING, E_COMPILE_ERROR and
so that whenever they occur, it will log itself to a log
I set my error report to 0 just like the ones at
http://www.php.net/manual/en/ref.errorfunc.php:
error_reporting (0);
... so that I can use the custom error handler function at
http://www.php.net/manual/en/ref.errorfunc.php.
I'm on a shared server, by the way.
Hello RPG,
Where did you add
Thanks. How do I override PHP settings using .htaccess?
Hello RPG,
You cannot catch Fatal run-time errors with that method of error
handling. The error has occurred before the script settings have had a
chance to be picked up.
Check to see if your host allows you to use .htaccess settings to
o
3 matches
Mail list logo