Page 1 of 1

How do I turn off Stack Trace dumps in production?

Posted: Tue May 08, 2018 4:34 am
by knig6502
I thought these two lines in the config .ini were for turning that on and off. I am still using Zend Framework 1 for now but am in the process of upgrading to Zend Framework 3.

phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0

But even with them set to 0 they still show the stack trace and too much info for Production.

An error occurred
Application error
Exception information:
Message: Resource 'default:blabla' not found
Stack trace:
Request Parameters:
array(4) {
string(6) "blabla"
string(5) "index"
string(7) "default"

Please advise. Am I missing something?