Does anyone know what needs to be done for the terminal to display exceptions thrown by the PHP code? At the moment when I trigger for instance php index.php
I don't get anything even though the code within the index.php
file fires the exception.
I have all error logging set to true in my php.ini (running with Mamp).
You need to have these lines uncommented in your default php.ini
:
error_reporting = E_ALL
display_errors = On