php.ini

After you have compiled or installed PHP, you can still change its behavior with a file called php.ini. On Unix systems, the default location for this file is /usr/local/lib; on a Windows system, the default location is the Windows directory. You should find a sample php.ini file in your distribution directory, which contains factory settings. Factory settings are used if no php.ini file is used. Directives in the php.ini file come in two forms: values and flags. Value directives take the form of a directive name and a value separated by an equals sign. Possible values vary from directive to directive. Flag directives take the form of directive name and a positive or negative term separated by an equals sign. Positive terms can be

Get Sams Teach Yourself PHP in 24 Hours, Third Edition 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.