PHP error setting

I’ve got two applications:

  1. Live application
  2. Staging application

I want to disable error reporting for application 1 and enable it for application #2.

What I did:

  • Enabled error reporting on server level
  • Disabled error reporting through application settings for applications #1
  • Enabled error reporting through application settings for application #2

Now, enabling error reporting on server level ignores application settings for application #1. Is that correct?

Can you please give a little more information about your application. Are you using any framework? Or are you using Vanilla PHP?

You process is right and it should not enable the error reporting in application # 1.

It’s a custom application, no framework.

1 Like