Log PHP Errors, Don't Display

Discussion in 'Installation/Configuration' started by olimortimer, Jan 27, 2017.

  1. olimortimer

    olimortimer Member

    I'm trying to set my site to log PHP errors into error.log, but it doesn't seem to be working.
    I'm setting the following into 'Custom php.ini settings' for my Fast-CGI site (should I be using a different PHP type?):
    Code:
    display_errors = Off
    log_errors = On
    error_reporting = E_ALL & E_NOTICE
    I can see they are being loaded in, by checking phpinfo() but errors and notices are still being displayed on the site, and they are not showing in error.log
    Am I doing something wrong?
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Sure it's not overridden in code or .htaccess for that site?
     

Share This Page