Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Fatal error not in error_log
- Henrik Gemal
April 22, 2009, 8:50 am
rate this thread
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = "\phperror.log"
Consider the following PHP code and memcache ISN'T installed:
$memcache = new Memcache;
On my Development server which is running with display_errors = On I
Fatal Error: Class "Memcache" not found...
The error in shown to the user and logged in my phperror.log. Which is
if I copy that file to my production server I'm just presented with a
blank page (which is correct) but the error isn't recorded in
phperror.log (which is wrong)
Am I doing something wrong?
Re: Fatal error not in error_log
Henrik Gemal wrote:
Don't know - I wouldn't think so, but I don't use it. And Greg's
comment about using an absolute path is good, also. I hadn't thought of
that (too used to Linux, I guess).
Remove the "x" from my email address
JDS Computer Training Corp.
- » Mail header contains implicit recipients. Mail not sent.
- — Previous thread in » PHP Scripting Forum