Error logging problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux