Is there something I can put in the php.ini file to avoid having to put error_reporting(0) at the top of each .php file?

    Yes, but instead of doing that, set display_errors to Off.

      laserlight;11010021 wrote:

      Yes, but instead of doing that, set display_errors to Off.

      Well, the strange thing is it's already set that way. And I verified with phpinfo() that the correct php.ini is in use.

      ;
      ; Default
      ;
      display_errors = Off

        Write a Reply...