I am creating a PHP application using mod_php in apache. However, during development, I will have syntax errors in the code (of course).
When I load the error page, I get 500 pages, if I want to view the actual error message, I have to go into / var / log and cat in the actual error log. It is very unpleasant to do in development all the time.
I know that errors can appear on a web page, but this is not always convenient when working with JSON, etc., and this will ruin the page.
I know that with most python frames, error messages simply print to stdout when the server application starts, however, in this case, since I just bind PHP to the apache service background process, I donβt see how this would be possible.
Is there a way to view real-time error logs in a window with apache?
source share