Error log level

I have a old website that i need to keep for 1-2month max. But in this time, it produces tons of error log:

[Thu Apr 21 18:05:43 2011] [warn] mod_fcgid: stderr: PHP Deprecated: Function eregi() is deprecated in blabla.php on line 123

how can i disable those errors? i think its from “Error log level” but i couldnt choose which one is better

Well, that’s a PHP error that is being passed into the logs by mod_fcgid. What I’d suggest doing is tweaking the PHP configuration to no longer show those.

The downside here is that if there are any serious errors that come up, you may not notice… but with that in mind, you can go into Services -> PHP 5 Configuration, and I think I’d start by unchecking “All errors and warnings”.

If that doesn’t do the trick, you might have to do some trial and error to figure out which option does what you need :slight_smile:

-Eric