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)
Share or Bookmark
Share or Bookmark this page using the following services. You will need to have an account with the selected service in order to post links or bookmark this page.
Subscribe or Follow
Subscribe via RSS or email, or follow me on Facebook or Twitter below. The RSS icon takes you through to Feedburner where you can select the service or application to use.
