Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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

    May 14, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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:

    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.

Share This Page