I have installed Apache2 on my Debian server with PHP and MariaDB. I use PDO to connect to my MariaDB database. But whenever I get an exception but don't try-catch it, I get an 500 server error.Is there any way to show the uncaught error like in Windows with XAMPP rather than showing a 500 server error?
Apache2 uncaught Exception 500 error
php;apache httpd