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....

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to