I write the site code, check it in the embedded PHP server (php7-cli). Everything was fine, but I began to master MVC , but then it suddenly became clear that the embedded server does not support .htaccess . There is an exit by writing a router and specifying it in the server call parameter, but a problem appears, no errors are output to the terminal . It is almost necessary to write a message before every require_once that the file is connected. Then torture it all clean when publishing a site, tell me the normal solution please.
I need to catch all messages related to the absence:
- file
- class
- method
You need the type of your error handler (of type set_error_handler or set_exception_handler ) of a certain type, but unfortunately there is no time to deal with all this.
Added: issue with terminal "silence" is already resolved