Chapter 23. PHP Configuration
In this lesson you will learn how to configure global PHP settings at runtime, using the
php.ini file, and per-directory settings, using
PHP allows you to tune many aspects of its behavior by using a set of configuration directives. These directives can be global for your entire web server, or you can make local changes that apply only to certain scripts.
PHP's configuration file is named
php.ini. Its location is set at compile time; by default, it is located in
/usr/local/lib/php.ini on Linux/Unix servers and
C:\WINDOWS\php.ini on Windows systems.
php.ini file contains a list of configuration directives and their values, separated by equals signs. The default