How do I turn off Stack Trace dumps in production?

For programming and general questions on Zend Framework
Post Reply
knig6502
Posts: 1
Joined: Tue May 08, 2018 4:10 am

How do I turn off Stack Trace dumps in production?

Post by knig6502 » Tue May 08, 2018 4:34 am

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) {
["controller"]=>
string(6) "blabla"
["action"]=>
string(5) "index"
["module"]=>
string(7) "default"
["q"]=>

Please advise. Am I missing something?

Thanks,

Knight.

Post Reply