Error logging problem

From: Date: Wed, 10 Nov 2004 15:49:29 +0000
Subject: Error logging problem
Groups: php.general 
Request: Send a blank email to php-general+get-201684@lists.php.net to get a copy of this message
My site is on a virtual host and I'd like to log errors to a file while I'm debugging. Can't get it to work. Here is the code at the top of my script:
ini_set("display_errors", "on"); //also tried "Off" ini_set("error_log", "/AutoSch/error.log"); $ini_array= ini_get_all(); error_reporting(E_ALL ^ E_WARNING ); //On for debuging only print_r($ini_array);
Printing $ini_array shows my ini_set() statements are working; but, the errors are not being appended to error.log. I put a error.log in the folder, assuming the error handler needed one to append to. I don't want to turn on error logging for the whole site; just the folder I'm working on. Thanks....

« previous php.general (#201684) next »