PHP list of php.ini directives
Posted December 30th, 2008 in PHP
PHP allows you to set a variety of configuration settings in either the web server's configuration (e.g. Apache's httpd.conf or .htaccess) and using the ini_set function. The PHP manual contains a complete list of php.ini directives and this short post is simply my place of bookmarking the list, as I often need to refer to it.
The page in the manual lists all the configuration options, the default value, where it can be changed, and which version of PHP it is applicable from. The name of the option is also linked to the approprate section on a second page with more details describing it and its use.
For example, the allow_url_fopen setting allows file opening functions to open remote files via ftp or http when enabled. The default setting from the manual page is "1" (meaning it is enabled), and it can be changed anywhere for PHP versions <= 4.3.4 but only in the system configuration (httpd.conf or php.ini) for later versions.
The manual page is here: http://www.php.net/manual/en/ini.list.php
Related posts:
- Log PHP errors with log_errors and error_log (Thursday, May 14th 2009)
- Automatically append or prepend files in a PHP script (Monday, May 11th 2009)
- Set PHP configuration options with an Apache .htaccess file (Thursday, April 16th 2009)
Subscribe / Follow / Email / Bookmark / Share
Use the buttons below to subscribe to my RSS feed to be notified next time something is posted, share this post with others, or subscribe by email to have my posts sent in a daily email, follow me on Twitter or follow me on Facebook.
At least one new post is usually made every day. See my posting schedule for more details.
