PHP Notice error log

Discussion in 'General' started by userman, Aug 12, 2010.

  1. userman

    userman New Member

    Hi,

    I have a lots error PHP Notice in /var/www/web10/log/error.log

    I want show me PHP warning only, i dont want php notice in the log. Where can I change the config?

    regards!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can change this in your php.ini:

    Code:
    ;   - Show all errors except for notices
    ;
    error_reporting  =  E_ALL & ~E_NOTICE
    Restart Apache afterwards.
     
  3. userman

    userman New Member

    thanks

    Thansk falko!

    regards.
     

Share This Page