Error management is defined by directives in the php.ini file. These directives are read and set when the environment starts. When you want to make changes to the current default environment behaviors, you must start and stop the PHP engine. When running PHP with Apache or Microsoft IIS, this means you must restart the HTTP server to make the changes.
You will examine how to configure error management in the php.ini file, and then how to use the information provided by the raised errors. Both sections should help you understand more about the environment and provide ideas to enable you to use error management to help you write good error and exception handling code.
Configuring Error Management
The settings for error management ...