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!

PHP 5.3 E_DEPRECATED warnings

Discussion in 'General Discussion' started by Serra, Feb 7, 2010.

  1. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    258
    Likes Received:
    17
    Trophy Points:
    168
    Location:
    Florida
    I'm having an issue with PHP5.3 on on server. I'm getting E_DEPRECATED warnings (for valid errors). The problem is that I have suppressed them using

    error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

    The obvious error would be that there is a php.ini file in the directory where the script is running, but phpinfo verifies the script is using the correct directory.

    I compared to another phpinfo on a server that is working fine and both showed:

    error_reporting 22519

    So, both are using the same setup.

    Anything anyone can think of that would cause this?
     
  2. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    258
    Likes Received:
    17
    Trophy Points:
    168
    Location:
    Florida
    I found an answer myself, it appears that a few programs had an error message override hard coded into them. I added the extra bit and all is well.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice