Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

php.ini

php.ini is the name of the main configuration file of PHP. It acts as the default configuration.

php.ini contains directives. For example, memory_limit or default_socket_timeout.

They may be later redefined using other mechanisms, such as command line options -d, .htaccess or in-code function call ini_set(), although it may vary depending on the directive.

Documentation