So I’ve finally managed to configure virtual hosts on my local machine, and could thus use custom domain names for my slim apps. Of course, I’m currently just learning.
However, I’ve run into a bit of an issue. It seems error stack traces don’t really show… I’ve enabled error logging:
$configuation = [
‘settings’ => [‘displayErrorDetails’ => true,],
$config = new \Slim\Container($configuation);
$app = new \Slim\App($config);
However, this does not seem to show syntax errors. I use Ubuntu 16.04 LTS. My question is if it possible to allow Slim to show a stacktrace on syntactical (and other) errors, while run as a virtual host on the Apache2 web server.
I couldn’t find any leads at all when it came to enabling error logging on the apache server for this framework. In fact, compared to most other popular frameworks, relevant results for Slim 3 for any general query seemed lower, and part of it is only relevant for Slim 2…