Skip to main content

PHP - Strict Standards: Non-static method

Comments

2 comments

  • mtindor
    In your global php.ini file ( /usr/local/lib/php.ini ) you could set the error_reporting: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED - shows all except for notices and deprecation warnings error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT - shows all except for notices and strict standards warnings error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED - shows all except for notices, deprecation warnings and strict standards warnings After modifying error_reporting, you will probably need to restart apache ( /scripts/restartsrv_apache )
    0
  • cPanelMichael
    Hello :) Note that you could also modify the "error_reporting" setting using the "Advanced Mode" via "WHM Home " Service Configuration " PHP Configuration Editor". Thank you.
    0

Please sign in to leave a comment.