marko marko - 1 year ago 196
Apache Configuration Question

How to display errors in PHP 7 on Ubuntu 16.04?

I've set in my php.ini file the values:

display_errors On
display_startup_errors On

And in my laravel application:

'debug' => env('APP_DEBUG', true),

But when i purpose write some gibberish in my controller method the page gets blank instead of displaying an error. What else is suppressing this to show an error message?

Answer Source

Was xdebug.force_display_errors=Off in php.ini. It overrides the other settings obviously.