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.

disable error reporting in cpanel

Discussion in 'General Discussion' started by lse, May 18, 2016.

  1. lse

    lse Active Member

    Joined:
    May 5, 2016
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Polis, Cyprus
    cPanel Access Level:
    Root Administrator
    disable error reporting can be done from cpanel as well as define and activate 404 page???

    how?
    cent os 6.7 vps cpanel
    • WHM 56.0 (build 16)
     
    #1 lse, May 18, 2016
    Last edited by a moderator: May 18, 2016
  2. sarath8372

    sarath8372 Active Member

    Joined:
    Jan 6, 2015
    Messages:
    35
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Kochi, India
    cPanel Access Level:
    Root Administrator
    Hello,

    You can disable PHP error reporting simply by putting a php.ini file under document root of the site with following line :

    display_errors = Off

    You can create a custom 404 error page from cPanel using Error Pages (cPanel >> Advanced >> Error Pages). Please refer : Error Pages - Documentation - cPanel Documentation
     
  3. lse

    lse Active Member

    Joined:
    May 5, 2016
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Polis, Cyprus
    cPanel Access Level:
    Root Administrator
    also how disable logs & cache,... ? in Web-Site wide mode?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide some specific examples of what in-particular you want to disable?

    Thank you.
     
Loading...

Share This Page