title: PHP warnings despite error reporting being turned off
body: <p>I just started getting some warnings both on the front and back end (using Wordpress) of a site I'm working on. Error reporting is turned off using <code>error_reporting(0);</code> placed at the beginning of wp-config.php file. I tried to put it into the main index.php file as well, to no avail.</p>
  
  <p>The warnings only started to show up today and they don't show up on the live version of the site, which is at least 99% the same code, same database.</p>
  
  <p>Here are the errors (substituted domain name for domain.com):</p>
  
  <blockquote>
    <p>Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/virtual/domain.com/:/usr/share/php/) in /var/www/virtual/domain.com/htdocs/wp-includes/functions.php on line 2104</p>
    
    <p>Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/virtual/domain.com/:/usr/share/php/) in /var/www/virtual/domain.com/htdocs/wp-includes/functions.php on line 2095</p>
    
    <p>Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/virtual/domain.com/:/usr/share/php/) in /var/www/virtual/domain.com/htdocs/wp-includes/functions.php on line 2104</p>
  </blockquote>
  
  <p>Why do I get these messages ? Shouldn't <code>error_reporting(0)</code> turn off all warnings?</p>