Can't Get Error Reporting To Work

Discussion in 'Site & Server Administration' started by brandondrury, Jan 7, 2007.

  1. #1
    Hello,

    I just leased a server through EV1. It's Linux (I think), Apache, and Plesk 8.0. I'm trying to get error reporting to work for my php scripts. I opened up the php.ini file (I'm about 90% sure that it's the right php.ini file) found in the /etc folder. I changed error reporting to "on" and restarted my server with Plesk.

    PHP errors are still not showing up.

    Is there anything I may have missed?

    Thanks,
    Brandon Drury
     
    brandondrury, Jan 7, 2007 IP
  2. rodney88

    rodney88 Guest

    Messages:
    480
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You may also want to check 'display_errors' is on.

    Or put this in your PHP script:
    error_reporting(E_ALL);
    ini_set('display_errors',true);
    PHP:
     
    rodney88, Jan 7, 2007 IP