The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php.ini; display_errors=Off does not work?

Discussion in 'General Discussion' started by movielad, Jul 9, 2008.

  1. movielad

    movielad Well-Known Member
    PartnerNOC

    Joined:
    May 14, 2003
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    I have a customer who, obviously, does not want to give away any information about badly behaved or misconfigured PHP scripts. As such he has updated his /usr/local/lib/php.ini file to ensure that:

    Code:
    display_errors=Off
    and that he is logging all errors to the standard error log instead. However, he is still seeing errors such as:

    "You have an error in your SQL syntax; check the manual that corresponds
    to your MySQL server version for the right syntax to use near.."

    on the display. He is using 5.2.5 of PHP.

    Not entirely sure what's going on - the phpinfo(); stipulates that display_errors is definitely set to Off and yet it's still reporting errors.
     
Loading...

Share This Page