How to show zf2 errors?
问题 I've reinstall my system and now when something wrong in zf2 i cant see the error on the page only in nginx error log, the display_errors On and display_startup_errors On, in php.ini, maybe something with my php-fpm settings? And in the simple php file not in zf2 i have see the errors! 回答1: You need enable the following options in your config 'view_manager' => array( 'display_not_found_reason' => true, 'display_exceptions' => true, ) Remember turn off this in a production environment 回答2: ini