Skip to main content

disable error_log global on server

Comments

1 comment

  • Eric

    Howdy zye,

    In WHM > Software > MultiPHP INI Editor > Editor Mode

    , you can set PHP to not log errors with:

    log_errors = Off

    make sure you set it for each installed version of PHP.  You'll need to make this change for every version of PHP you have installed and every new version you install after this one.  Make sure to restart the apache/httpd and PHP-fpm services after you make this change.

    Please keep in mind this will only stop PHP from making error_log files, apache will still generate error_log data for 400 and 500 level errors.

    Thanks!

    0

Please sign in to leave a comment.