Skip to main content

Disable PHP error log only on specific account

Comments

3 comments

  • cPanelMichael
    Hello, Yes, you can browse to "cPanel >> MultiPHP INI Editor" and use "Editor Mode" to change the PHP configuration for that domain name: MultiPHP INI Editor for cPanel - Version 68 Documentation - cPanel Documentation The line you'd want to add is:
    error_reporting = Off
    Thank you.
    0
  • kszadkowski
    But this is a configuration for a specific version of PHP. And I wonder if I can do it only for one account? Do I have to assign any other version of PHP only to this account and then change it?
    0
  • cPanelMichael
    Hello, You should be able to make that change on a per-domain basis unless you are using a PHP handler that does not support the change through the INI Editor (e.g. PHP-FPM). Is it not working as expected when you make the change using the method described in my last response? Thank you.
    0

Please sign in to leave a comment.