Redirecting PHP Errors to Docker Console or Linux Console

Tiempo de lectura: < 1 minuto Today we’re going to learn how to create a handler to redirect PHP errors to the Linux or Docker console. The first thing we need to do is to create a handler, we can call it exception_handler.php. And let’s add the following: This function will give us all the necessary information to identify the error, … Read more