Error Management

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 ...

Get Oracle Database 10g Express Edition PHP Web Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.