rfc:newinis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:newinis [2009/02/17 07:03] – Updated production ini with recommended changes. ericstewartrfc:newinis [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Request for Comments: New INI's for PHP ====== ====== Request for Comments: New INI's for PHP ======
-  * Version: 1.0 +  * Version: 1.2 
-  * Date: 2009-02-09+  * Date: 2009-02-22
   * Author: Eric Lee Stewart <ericleestewart.at.gmail.com>   * Author: Eric Lee Stewart <ericleestewart.at.gmail.com>
-  * Status: Under Discussion+  * Status: Implemented in PHP 5.3
   * First Published at: http://wiki.php.net/rfc/newinis   * First Published at: http://wiki.php.net/rfc/newinis
 +
 ===== Introduction ===== ===== Introduction =====
  
Line 28: Line 29:
  
 ; PHP attempts to find and load this configuration from a number of locations. ; PHP attempts to find and load this configuration from a number of locations.
-; The following is a summary of it'search order:+; The following is a summary of its search order:
 ; 1. SAPI module specific location. ; 1. SAPI module specific location.
 ; 2. The PHPRC environment variable. (As of PHP 5.2.0) ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
Line 35: Line 36:
 ; 5. The web server's directory (for SAPI modules), or directory of PHP ; 5. The web server's directory (for SAPI modules), or directory of PHP
 ; (otherwise in Windows) ; (otherwise in Windows)
-; 6. Windows directory (C:\windows or C:\winnt), or --with-config-file-path +; 6. The directory from the --with-config-file-path compile time option, or the 
-compile time option.+; Windows directory (C:\windows or C:\winnt)
 ; See the PHP docs for more specific information. ; See the PHP docs for more specific information.
 ; http://www.php.net/manual/en/configuration.file.php ; http://www.php.net/manual/en/configuration.file.php
Line 83: Line 84:
  
 ; php.ini-production contains settings which hold security, performance and ; php.ini-production contains settings which hold security, performance and
-; best practices at it'core. But please be aware, these settings may break+; best practices at its core. But please be aware, these settings may break
 ; compatibility with older or less security conscience applications. We ; compatibility with older or less security conscience applications. We
 ; recommending using the production ini in production and testing environments. ; recommending using the production ini in production and testing environments.
  
-; php.ini-development is very similar to it'production variant, except it's+; php.ini-development is very similar to its production variant, except it's
 ; much more verbose when it comes to errors. We recommending using the ; much more verbose when it comes to errors. We recommending using the
 ; development version only in development environments as errors shown to ; development version only in development environments as errors shown to
Line 103: Line 104:
 ;   Default Value: On ;   Default Value: On
 ;   Development Value: Off ;   Development Value: Off
-;   Production Value: On+;   Production Value: Off
  
 ; display_errors ; display_errors
Line 118: Line 119:
 ;   Default Value: E_ALL & ~E_NOTICE ;   Default Value: E_ALL & ~E_NOTICE
 ;   Development Value: E_ALL | E_STRICT ;   Development Value: E_ALL | E_STRICT
-;   Production Value: E_ALL ~E_DEPRECATED+;   Production Value: E_ALL ~E_DEPRECATED
  
 ; html_errors ; html_errors
Line 250: Line 251:
 ; data to the client. If your application's output exceeds this setting, PHP ; data to the client. If your application's output exceeds this setting, PHP
 ; will send that data in chunks of roughly the size you specify. ; will send that data in chunks of roughly the size you specify.
-; Turning on this setting and managing it'maximum buffer size can yield some+; Turning on this setting and managing its maximum buffer size can yield some
 ; interesting side-effects depending on your application and web server. ; interesting side-effects depending on your application and web server.
 ; You may be able to send headers and cookies after you've already sent output ; You may be able to send headers and cookies after you've already sent output
Line 262: Line 263:
 ;   On = Enabled and buffer is unlimited. (Use with caution) ;   On = Enabled and buffer is unlimited. (Use with caution)
 ;   Off = Disabled ;   Off = Disabled
-;   Integer = Enables the buffer and sets it'maximum size in bytes.+;   Integer = Enables the buffer and sets its maximum size in bytes.
 ; Default Value: Off ; Default Value: Off
 ; Development Value: 4096 ; Development Value: 4096
Line 336: Line 337:
 ; Default Value: On (Suppress warnings) ; Default Value: On (Suppress warnings)
 ; Development Value: Off (Issue warnings) ; Development Value: Off (Issue warnings)
-; Production Value: On (Suppress warnings)+; Production Value: Off (Issue warnings)
 ; http://www.php.net/manual/en/ini.core.php#ini.allow-call-time-pass-reference ; http://www.php.net/manual/en/ini.core.php#ini.allow-call-time-pass-reference
-allow_call_time_pass_reference = On+allow_call_time_pass_reference = Off
  
 ; Safe Mode ; Safe Mode
Line 514: Line 515:
 ; Default Value: E_ALL & ~E_NOTICE ; Default Value: E_ALL & ~E_NOTICE
 ; Development Value: E_ALL | E_STRICT ; Development Value: E_ALL | E_STRICT
-; Production Value: E_ALL ~E_DEPRECATED+; Production Value: E_ALL ~E_DEPRECATED
 ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
-error_reporting = E_ALL ~E_DEPRECATED+error_reporting = E_ALL ~E_DEPRECATED
  
 ; This directive controls whether or not and where PHP will output errors, ; This directive controls whether or not and where PHP will output errors,
Line 587: Line 588:
 ; Development Value: On ; Development Value: On
 ; Production Value: Off ; Production Value: Off
-http://www.php.net/manual/en/errorfunc.configuration.php#ini.track-errors+http://www.php.net/manual/en/errorfunc.configuration.php#ini.track-errors
 track_errors = Off track_errors = Off
  
Line 811: Line 812:
 ; Directory in which the loadable extensions (modules) reside. ; Directory in which the loadable extensions (modules) reside.
 ; http://www.php.net/manual/en/ini.core.php#ini.extension-dir ; http://www.php.net/manual/en/ini.core.php#ini.extension-dir
-extension_dir = "./"+extension_dir = "./"
  
 ; Whether or not to enable the dl() function.  The dl() function does NOT work ; Whether or not to enable the dl() function.  The dl() function does NOT work
Line 817: Line 818:
 ; disabled on them. ; disabled on them.
 ; http://www.php.net/manual/en/info.configuration.php#ini.enable-dl ; http://www.php.net/manual/en/info.configuration.php#ini.enable-dl
-enable_dl = On+enable_dl = Off
  
 ; cgi.force_redirect is necessary to provide security running PHP as a CGI under ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
Line 840: Line 841:
 ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
 ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
-; this to 1 will cause PHP CGI to fix it'paths to conform to the spec.  A setting+; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
Line 933: Line 934:
 ;   extension=msql.so ;   extension=msql.so
 ; ;
-Note that it should be the name of the module onlyno directory information +... or with a path: 
-needs to go here Specify the location of the extension with the +
-extension_dir directive above.+  extension=/path/to/extension/msql.so 
 +
 +; If you only provide the name of the extension, PHP will look for it in it's 
 +default extension directory.
 ; ;
 ; Windows Extensions ; Windows Extensions
Line 1191: Line 1195:
  
 ; Maximum number of links.  -1 means no limit. ; Maximum number of links.  -1 means no limit.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.max-links+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.max-links
 mysqli.max_links = -1 mysqli.max_links = -1
  
Line 1198: Line 1202:
 ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
 ; at MYSQL_PORT. ; at MYSQL_PORT.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-port+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-port
 mysqli.default_port = 3306 mysqli.default_port = 3306
  
 ; Default socket name for local MySQL connects.  If empty, uses the built-in ; Default socket name for local MySQL connects.  If empty, uses the built-in
 ; MySQL defaults. ; MySQL defaults.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-socket+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-socket
 mysqli.default_socket = mysqli.default_socket =
  
 ; Default host for mysql_connect() (doesn't apply in safe mode). ; Default host for mysql_connect() (doesn't apply in safe mode).
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-host+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-host
 mysqli.default_host = mysqli.default_host =
  
 ; Default user for mysql_connect() (doesn't apply in safe mode). ; Default user for mysql_connect() (doesn't apply in safe mode).
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-user+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-user
 mysqli.default_user = mysqli.default_user =
  
Line 1219: Line 1223:
 ; and reveal this password!  And of course, any users with read access to this ; and reveal this password!  And of course, any users with read access to this
 ; file will be able to reveal the password as well. ; file will be able to reveal the password as well.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-pw+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-pw
 mysqli.default_pw = mysqli.default_pw =
  
Line 1229: Line 1233:
 ; Connection: Enables privileged connections using external ; Connection: Enables privileged connections using external
 ; credentials (OCI_SYSOPER, OCI_SYSDBA) ; credentials (OCI_SYSOPER, OCI_SYSDBA)
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.privileged-connect+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.privileged-connect
 ;oci8.privileged_connect = Off ;oci8.privileged_connect = Off
  
 ; Connection: The maximum number of persistent OCI8 connections per ; Connection: The maximum number of persistent OCI8 connections per
 ; process. Using -1 means no limit. ; process. Using -1 means no limit.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.max-persistent+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.max-persistent
 ;oci8.max_persistent = -1 ;oci8.max_persistent = -1
  
Line 1240: Line 1244:
 ; maintain an idle persistent connection. Using -1 means idle ; maintain an idle persistent connection. Using -1 means idle
 ; persistent connections will be maintained forever. ; persistent connections will be maintained forever.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.persistent-timeout+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.persistent-timeout
 ;oci8.persistent_timeout = -1 ;oci8.persistent_timeout = -1
  
Line 1247: Line 1251:
 ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
 ; pings completely. ; pings completely.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.ping-interval+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.ping-interval
 ;oci8.ping_interval = 60 ;oci8.ping_interval = 60
  
Line 1265: Line 1269:
 ; Tuning: This option enables statement caching, and specifies how ; Tuning: This option enables statement caching, and specifies how
 ; many statements to cache. Using 0 disables statement caching. ; many statements to cache. Using 0 disables statement caching.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.statement-cache-size+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.statement-cache-size
 ;oci8.statement_cache_size = 20 ;oci8.statement_cache_size = 20
  
 ; Tuning: Enables statement prefetching and sets the default number of ; Tuning: Enables statement prefetching and sets the default number of
 ; rows that will be fetched automatically after statement execution. ; rows that will be fetched automatically after statement execution.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.default-prefetch+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.default-prefetch
 ;oci8.default_prefetch = 100 ;oci8.default_prefetch = 100
  
 ; Compatibility. Using On means oci_close() will not close ; Compatibility. Using On means oci_close() will not close
 ; oci_connect() and oci_new_connect() connections. ; oci_connect() and oci_new_connect() connections.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.old-oci-close-semantics+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.old-oci-close-semantics
 ;oci8.old_oci_close_semantics = Off ;oci8.old_oci_close_semantics = Off
  
 [PostgresSQL] [PostgresSQL]
 ; Allow or prevent persistent links. ; Allow or prevent persistent links.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.allow-persistent+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.allow-persistent
 pgsql.allow_persistent = On pgsql.allow_persistent = On
  
 ; Detect broken persistent links always with pg_pconnect(). ; Detect broken persistent links always with pg_pconnect().
 ; Auto reset feature requires a little overheads. ; Auto reset feature requires a little overheads.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.auto-reset-persistent+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.auto-reset-persistent
 pgsql.auto_reset_persistent = Off pgsql.auto_reset_persistent = Off
  
 ; Maximum number of persistent links.  -1 means no limit. ; Maximum number of persistent links.  -1 means no limit.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-persistent+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-persistent
 pgsql.max_persistent = -1 pgsql.max_persistent = -1
  
 ; Maximum number of links (persistent+non persistent).  -1 means no limit. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-links+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-links
 pgsql.max_links = -1 pgsql.max_links = -1
  
 ; Ignore PostgreSQL backends Notice message or not. ; Ignore PostgreSQL backends Notice message or not.
 ; Notice message logging require a little overheads. ; Notice message logging require a little overheads.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.ignore-notice+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.ignore-notice
 pgsql.ignore_notice = 0 pgsql.ignore_notice = 0
  
 ; Log PostgreSQL backends Noitce message or not. ; Log PostgreSQL backends Noitce message or not.
 ; Unless pgsql.ignore_notice=0, module cannot log notice message. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.log-notice+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.log-notice
 pgsql.log_notice = 0 pgsql.log_notice = 0
  
 [Sybase-CT] [Sybase-CT]
 ; Allow or prevent persistent links. ; Allow or prevent persistent links.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.allow-persistent+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.allow-persistent
 sybct.allow_persistent = On sybct.allow_persistent = On
  
 ; Maximum number of persistent links.  -1 means no limit. ; Maximum number of persistent links.  -1 means no limit.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.max-persistent+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.max-persistent
 sybct.max_persistent = -1 sybct.max_persistent = -1
  
 ; Maximum number of links (persistent + non-persistent).  -1 means no limit. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.max-links+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.max-links
 sybct.max_links = -1 sybct.max_links = -1
  
 ; Minimum server message severity to display. ; Minimum server message severity to display.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.min-server-severity+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.min-server-severity
 sybct.min_server_severity = 10 sybct.min_server_severity = 10
  
 ; Minimum client message severity to display. ; Minimum client message severity to display.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.min-client-severity+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.min-client-severity
 sybct.min_client_severity = 10 sybct.min_client_severity = 10
  
 ; Set per-context timeout ; Set per-context timeout
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.timeout+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.timeout
 ;sybct.timeout= ;sybct.timeout=
  
Line 1335: Line 1339:
 [bcmath] [bcmath]
 ; Number of decimal digits for all bcmath functions. ; Number of decimal digits for all bcmath functions.
-; http://us2.php.net/manual/en/bc.configuration.php#ini.bcmath.scale+; http://www.php.net/manual/en/bc.configuration.php#ini.bcmath.scale
 bcmath.scale = 0 bcmath.scale = 0
  
 [browscap] [browscap]
-; http://us2.php.net/manual/en/misc.configuration.php#ini.browscap+; http://www.php.net/manual/en/misc.configuration.php#ini.browscap
 ;browscap = extra/browscap.ini ;browscap = extra/browscap.ini
  
 [Session] [Session]
 ; Handler used to store/retrieve data. ; Handler used to store/retrieve data.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.save-handler+; http://www.php.net/manual/en/session.configuration.php#ini.session.save-handler
 session.save_handler = files session.save_handler = files
  
Line 1373: Line 1377:
 ; where MODE is the octal representation of the mode. Note that this ; where MODE is the octal representation of the mode. Note that this
 ; does not overwrite the process's umask. ; does not overwrite the process's umask.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.save-path+; http://www.php.net/manual/en/session.configuration.php#ini.session.save-path
 ;session.save_path = "/tmp" ;session.save_path = "/tmp"
  
 ; Whether to use cookies. ; Whether to use cookies.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.use-cookies+; http://www.php.net/manual/en/session.configuration.php#ini.session.use-cookies
 session.use_cookies = 1 session.use_cookies = 1
  
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-secure+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
 ;session.cookie_secure = ;session.cookie_secure =
  
Line 1391: Line 1395:
  
 ; Name of the session (used as cookie name). ; Name of the session (used as cookie name).
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.name+; http://www.php.net/manual/en/session.configuration.php#ini.session.name
 session.name = PHPSESSID session.name = PHPSESSID
  
 ; Initialize session on request startup. ; Initialize session on request startup.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.auto-start+; http://www.php.net/manual/en/session.configuration.php#ini.session.auto-start
 session.auto_start = 0 session.auto_start = 0
  
 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
 session.cookie_lifetime = 0 session.cookie_lifetime = 0
  
 ; The path for which the cookie is valid. ; The path for which the cookie is valid.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-path+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-path
 session.cookie_path = / session.cookie_path = /
  
 ; The domain for which the cookie is valid. ; The domain for which the cookie is valid.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-domain+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-domain
 session.cookie_domain = session.cookie_domain =
  
 ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-httponly+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-httponly
 session.cookie_httponly =  session.cookie_httponly = 
  
 ; Handler used to serialize data.  php is the standard serializer of PHP. ; Handler used to serialize data.  php is the standard serializer of PHP.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.serialize-handler+; http://www.php.net/manual/en/session.configuration.php#ini.session.serialize-handler
 session.serialize_handler = php session.serialize_handler = php
  
Line 1427: Line 1431:
 ; Development Value: 1 ; Development Value: 1
 ; Production Value: 1 ; Production Value: 1
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.gc-probability+; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability
 session.gc_probability = 1 session.gc_probability = 1
  
Line 1441: Line 1445:
 ; Development Value: 1000 ; Development Value: 1000
 ; Production Value: 1000 ; Production Value: 1000
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.gc-divisor+; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor
 session.gc_divisor = 1000 session.gc_divisor = 1000
  
 ; After this number of seconds, stored data will be seen as 'garbage' and ; After this number of seconds, stored data will be seen as 'garbage' and
 ; cleaned up by the garbage collection process. ; cleaned up by the garbage collection process.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime+; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
 session.gc_maxlifetime = 1440 session.gc_maxlifetime = 1440
  
Line 1470: Line 1474:
 ; Development Value: On ; Development Value: On
 ; Production Value: Off ; Production Value: Off
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.bug-compat-42+; http://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-42
 session.bug_compat_42 = Off session.bug_compat_42 = Off
  
Line 1479: Line 1483:
 ; Development Value: On ; Development Value: On
 ; Production Value: Off ; Production Value: Off
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.bug-compat-warn+; http://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-warn
 session.bug_compat_warn = Off session.bug_compat_warn = Off
  
Line 1485: Line 1489:
 ; HTTP_REFERER has to contain this substring for the session to be ; HTTP_REFERER has to contain this substring for the session to be
 ; considered as valid. ; considered as valid.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.referer-check+; http://www.php.net/manual/en/session.configuration.php#ini.session.referer-check
 session.referer_check = session.referer_check =
  
 ; How many bytes to read from the file. ; How many bytes to read from the file.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.entropy-length+; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-length
 session.entropy_length = 0 session.entropy_length = 0
  
 ; Specified here to create the session id. ; Specified here to create the session id.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.entropy-file+; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-file
 ;session.entropy_file = /dev/urandom ;session.entropy_file = /dev/urandom
 session.entropy_file = session.entropy_file =
  
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.entropy-length+; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-length
 ;session.entropy_length = 16 ;session.entropy_length = 16
  
 ; Set to {nocache,private,public,} to determine HTTP caching aspects ; Set to {nocache,private,public,} to determine HTTP caching aspects
 ; or leave this empty to avoid sending anti-caching headers. ; or leave this empty to avoid sending anti-caching headers.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cache-limiter+; http://www.php.net/manual/en/session.configuration.php#ini.session.cache-limiter
 session.cache_limiter = nocache session.cache_limiter = nocache
  
 ; Document expires after n minutes. ; Document expires after n minutes.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cache-expire+; http://www.php.net/manual/en/session.configuration.php#ini.session.cache-expire
 session.cache_expire = 180 session.cache_expire = 180
  
Line 1518: Line 1522:
 ; - User may access your site with the same session ID ; - User may access your site with the same session ID
 ;   always using URL stored in browser's history or bookmarks. ;   always using URL stored in browser's history or bookmarks.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid+; http://www.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid
 session.use_trans_sid = 0 session.use_trans_sid = 0
  
Line 1525: Line 1529:
 ;    (MD5 128 bits) ;    (MD5 128 bits)
 ;    (SHA-1 160 bits) ;    (SHA-1 160 bits)
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.hash-function+; http://www.php.net/manual/en/session.configuration.php#ini.session.hash-function
 session.hash_function = 0 session.hash_function = 0
  
Line 1537: Line 1541:
 ; Development Value: 5 ; Development Value: 5
 ; Production Value: 5 ; Production Value: 5
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character+; http://www.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character
 session.hash_bits_per_character = 5 session.hash_bits_per_character = 5
  
Line 1548: Line 1552:
 ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
 ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
-; http://us2.php.net/manual/en/session.configuration.php#ini.url-rewriter.tags+; http://www.php.net/manual/en/session.configuration.php#ini.url-rewriter.tags
 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  
Line 1605: Line 1609:
 [Assertion] [Assertion]
 ; Assert(expr); active by default. ; Assert(expr); active by default.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.active+; http://www.php.net/manual/en/info.configuration.php#ini.assert.active
 ;assert.active = On ;assert.active = On
  
 ; Issue a PHP warning for each failed assertion. ; Issue a PHP warning for each failed assertion.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.warning+; http://www.php.net/manual/en/info.configuration.php#ini.assert.warning
 ;assert.warning = On ;assert.warning = On
  
 ; Don't bail out by default. ; Don't bail out by default.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.bail+; http://www.php.net/manual/en/info.configuration.php#ini.assert.bail
 ;assert.bail = Off ;assert.bail = Off
  
 ; User-function to be called if an assertion fails. ; User-function to be called if an assertion fails.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.callback+; http://www.php.net/manual/en/info.configuration.php#ini.assert.callback
 ;assert.callback = 0 ;assert.callback = 0
  
 ; Eval the expression with current error_reporting().  Set to true if you want ; Eval the expression with current error_reporting().  Set to true if you want
 ; error_reporting(0) around the eval(). ; error_reporting(0) around the eval().
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.quiet-eval+; http://www.php.net/manual/en/info.configuration.php#ini.assert.quiet-eval
 ;assert.quiet_eval = 0 ;assert.quiet_eval = 0
  
 [COM] [COM]
 ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.typelib-file+; http://www.php.net/manual/en/com.configuration.php#ini.com.typelib-file
 ;com.typelib_file = ;com.typelib_file =
  
 ; allow Distributed-COM calls ; allow Distributed-COM calls
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.allow-dcom+; http://www.php.net/manual/en/com.configuration.php#ini.com.allow-dcom
 ;com.allow_dcom = true ;com.allow_dcom = true
  
 ; autoregister constants of a components typlib on com_load() ; autoregister constants of a components typlib on com_load()
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.autoregister-typelib+; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-typelib
 ;com.autoregister_typelib = true ;com.autoregister_typelib = true
  
 ; register constants casesensitive ; register constants casesensitive
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.autoregister-casesensitive+; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-casesensitive
 ;com.autoregister_casesensitive = false ;com.autoregister_casesensitive = false
  
 ; show warnings on duplicate constant registrations ; show warnings on duplicate constant registrations
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.autoregister-verbose+; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-verbose
 ;com.autoregister_verbose = true ;com.autoregister_verbose = true
  
 [mbstring] [mbstring]
 ; language for internal character representation. ; language for internal character representation.
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.language+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.language
 ;mbstring.language = Japanese ;mbstring.language = Japanese
  
Line 1654: Line 1658:
 ; Some encoding cannot work as internal encoding. ; Some encoding cannot work as internal encoding.
 ; (e.g. SJIS, BIG5, ISO-2022-*) ; (e.g. SJIS, BIG5, ISO-2022-*)
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
 ;mbstring.internal_encoding = EUC-JP ;mbstring.internal_encoding = EUC-JP
  
 ; http input encoding. ; http input encoding.
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input
 ;mbstring.http_input = auto ;mbstring.http_input = auto
  
 ; http output encoding. mb_output_handler must be ; http output encoding. mb_output_handler must be
 ; registered as output buffer to function ; registered as output buffer to function
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-output+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-output
 ;mbstring.http_output = SJIS ;mbstring.http_output = SJIS
  
Line 1671: Line 1675:
 ; Note: Do _not_ use automatic encoding translation for ; Note: Do _not_ use automatic encoding translation for
 ;       portable libs/applications. ;       portable libs/applications.
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.encoding-translation+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.encoding-translation
 ;mbstring.encoding_translation = Off ;mbstring.encoding_translation = Off
  
 ; automatic encoding detection order. ; automatic encoding detection order.
 ; auto means ; auto means
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.detect-order+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.detect-order
 ;mbstring.detect_order = auto ;mbstring.detect_order = auto
  
 ; substitute_character used when character cannot be converted ; substitute_character used when character cannot be converted
 ; one from another ; one from another
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.substitute-character+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.substitute-character
 ;mbstring.substitute_character = none; ;mbstring.substitute_character = none;
  
Line 1692: Line 1696:
 ; 2: Overload str*() functions ; 2: Overload str*() functions
 ; 4: Overload ereg*() functions ; 4: Overload ereg*() functions
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.func-overload+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.func-overload
 ;mbstring.func_overload = 0 ;mbstring.func_overload = 0
  
Line 1699: Line 1703:
  
 [gd] [gd]
-; Tell the jpeg decode to libjpeg warnings and try to create+; Tell the jpeg decode to ignore warnings and try to create
 ; a gd image. The warning will then be displayed as notices ; a gd image. The warning will then be displayed as notices
 ; disabled by default ; disabled by default
-; http://us2.php.net/manual/en/image.configuration.php#ini.image.jpeg-ignore-warning+; http://www.php.net/manual/en/image.configuration.php#ini.image.jpeg-ignore-warning
 ;gd.jpeg_ignore_warning = 0 ;gd.jpeg_ignore_warning = 0
  
Line 1711: Line 1715:
 ; is used. For the decode settings you can distinguish between motorola and ; is used. For the decode settings you can distinguish between motorola and
 ; intel byte order. A decode setting cannot be empty. ; intel byte order. A decode setting cannot be empty.
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.encode-unicode+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.encode-unicode
 ;exif.encode_unicode = ISO-8859-15 ;exif.encode_unicode = ISO-8859-15
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-motorola+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-motorola
 ;exif.decode_unicode_motorola = UCS-2BE ;exif.decode_unicode_motorola = UCS-2BE
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-intel+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-intel
 ;exif.decode_unicode_intel    = UCS-2LE ;exif.decode_unicode_intel    = UCS-2LE
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.encode-jis+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.encode-jis
 ;exif.encode_jis = ;exif.encode_jis =
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-motorola+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-motorola
 ;exif.decode_jis_motorola = JIS ;exif.decode_jis_motorola = JIS
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-intel+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-intel
 ;exif.decode_jis_intel    = JIS ;exif.decode_jis_intel    = JIS
  
 [Tidy] [Tidy]
 ; The path to a default tidy configuration file to use when using tidy ; The path to a default tidy configuration file to use when using tidy
-; http://us2.php.net/manual/en/tidy.configuration.php#ini.tidy.default-config+; http://www.php.net/manual/en/tidy.configuration.php#ini.tidy.default-config
 ;tidy.default_config = /usr/local/lib/php/default.tcfg ;tidy.default_config = /usr/local/lib/php/default.tcfg
  
Line 1737: Line 1741:
 ; WARNING: Do not use this option if you are generating non-html content ; WARNING: Do not use this option if you are generating non-html content
 ; such as dynamic images ; such as dynamic images
-; http://us2.php.net/manual/en/tidy.configuration.php#ini.tidy.clean-output+; http://www.php.net/manual/en/tidy.configuration.php#ini.tidy.clean-output
 tidy.clean_output = Off tidy.clean_output = Off
  
 [soap] [soap]
 ; Enables or disables WSDL caching feature. ; Enables or disables WSDL caching feature.
-; http://us2.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-enabled+; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-enabled
 soap.wsdl_cache_enabled=1 soap.wsdl_cache_enabled=1
  
 ; Sets the directory name where SOAP extension will put cache files. ; Sets the directory name where SOAP extension will put cache files.
-; http://us2.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir+; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir
 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_dir="/tmp"
  
 ; (time to live) Sets the number of second while cached file will be used  ; (time to live) Sets the number of second while cached file will be used 
 ; instead of original one. ; instead of original one.
-; http://us2.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-ttl+; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-ttl
 soap.wsdl_cache_ttl=86400 soap.wsdl_cache_ttl=86400
  
Line 1764: Line 1768:
  
 </code> </code>
- 
 ===== Development INI ===== ===== Development INI =====
  
Line 1779: Line 1782:
  
 ; PHP attempts to find and load this configuration from a number of locations. ; PHP attempts to find and load this configuration from a number of locations.
-; The following is a summary of it'search order:+; The following is a summary of its search order:
 ; 1. SAPI module specific location. ; 1. SAPI module specific location.
 ; 2. The PHPRC environment variable. (As of PHP 5.2.0) ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
Line 1786: Line 1789:
 ; 5. The web server's directory (for SAPI modules), or directory of PHP ; 5. The web server's directory (for SAPI modules), or directory of PHP
 ; (otherwise in Windows) ; (otherwise in Windows)
-; 6. Windows directory (C:\windows or C:\winnt), or --with-config-file-path +; 6. The directory from the --with-config-file-path compile time option, or the 
-compile time option.+; Windows directory (C:\windows or C:\winnt)
 ; See the PHP docs for more specific information. ; See the PHP docs for more specific information.
 ; http://www.php.net/manual/en/configuration.file.php ; http://www.php.net/manual/en/configuration.file.php
Line 1794: Line 1797:
 ; beginning with a semicolon are silently ignored (as you probably guessed). ; beginning with a semicolon are silently ignored (as you probably guessed).
 ; Section headers (e.g. [Foo]) are also silently ignored, even though ; Section headers (e.g. [Foo]) are also silently ignored, even though
-; they might mean something in the future.+; they might mean something in the future. The exceptions to this rule are 
 +; section headers starting with [HOST= or [PATH= 
 +; http://www.php.net/manual/en/ini.sections.php
  
 ; Directives are specified using the following syntax: ; Directives are specified using the following syntax:
Line 1827: Line 1832:
 ; About this file ; ; About this file ;
 ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
-; This file contains the recommended settings for a development deployment of +; PHP comes packaged with two INI filesOne that is recommended to be used 
-; PHP. It's similar to the production settings but it's much more verbose in +in production environments and one that is recommended to be used in 
-terms of error reporting and provides some extra settings to aid in debugging +development environments.
-your applications.+
  
-PHP is also packaged with an ini file which is tuned for performance+php.ini-production contains settings which hold securityperformance and 
-security and best practices. We recommend you use that file for production +; best practices at its core. But please be aware, these settings may break 
-; deployments. But please be aware, these settings may break compatibility with +compatibility with older or less security conscience applications. We 
-; older applications or less security conscience applications.+; recommending using the production ini in production and testing environments. 
 + 
 +; php.ini-development is very similar to its production variant, except it's 
 +; much more verbose when it comes to errors. We recommending using the 
 +; development version only in development environments as errors shown to 
 +; application users can inadvertently leak otherwise secure information.
  
 ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
 ; Quick Reference ; ; Quick Reference ;
 ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
-; The following is all the settings which are different in either the production +; The following are all the settings which are different in either the production 
-; or development versions of the ini versus PHP's default behavior. The values +; or development versions of the INIs with respect to PHP's default behavior. 
-for the settings below are the ones used in this file. Please see the actual +; Please see the actual settings later in the document for more details as to why 
-settings later in the document for more details.+; we recommend these changes in PHP's behavior.
  
-; allow_call_time_pass_reference On +; allow_call_time_pass_reference 
-; display_errors On +;   Default Value: On 
-; display_startup_errors On +;   Development Value: Off 
-; error_reporting E_ALL | E_STRICT +;   Production Value: Off 
-; html_errors On + 
-; log_errors On +; display_errors 
-; magic_quotes_gpc Off +;   Default Value: On 
-; max_input_time 60 +;   Development Value: On 
-; output_buffering Off +;   Production Value: Off 
-; register_argc_argv On + 
-; register_long_arrays Off +; display_startup_errors 
-; request_order None +;   Default Value: Off 
-; session.bug_compat_42 On +;   Development Value: On 
-; session.bug_compat_warn On +;   Production Value: Off 
-; session.gc_divisor 100 + 
-; session.hash_bits_per_character +; error_reporting 
-; short_open_tag Off +;   Default Value: E_ALL & ~E_NOTICE 
-; track_errors On +;   Development Value: E_ALL | E_STRICT 
-; url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" +;   Production Value: E_ALL & ~E_DEPRECATED 
-variables_order = "EGPCS"+ 
 +; html_errors 
 +;   Default Value: On 
 +;   Development Value: On 
 +;   Production value: Off 
 + 
 +; log_errors 
 +;   Default Value: Off 
 +;   Development Value: On 
 +;   Production Value: On 
 + 
 +; magic_quotes_gpc 
 +;   Default Value: On 
 +;   Development Value: Off 
 +;   Production Value: Off 
 + 
 +; max_input_time 
 +;   Default Value: -1 (Unlimited) 
 +;   Development Value: 60 (60 seconds) 
 +;   Production Value: 60 (60 seconds) 
 + 
 +; output_buffering 
 +;   Default Value: Off 
 +;   Development Value: 4096 
 +;   Production Value: 4096 
 + 
 +; register_argc_argv 
 +;   Default Value: On 
 +;   Development Value: Off 
 +;   Production Value: Off 
 + 
 +; register_long_arrays 
 +;   Default Value: On 
 +;   Development Value: Off 
 +;   Production Value: Off 
 + 
 +; request_order 
 +;   Default Value: None 
 +;   Development Value: "GP" 
 +;   Production Value: "GP" 
 + 
 +; session.bug_compat_42 
 +;   Default Value: On 
 +;   Development Value: On 
 +;   Production Value: Off 
 + 
 +; session.bug_compat_warn 
 +;   Default Value: On 
 +;   Development Value: On 
 +;   Production Value: Off 
 + 
 +; session.gc_divisor 
 +;   Default Value: 100 
 +;   Development Value: 1000 
 +;   Production Value: 1000 
 + 
 +; session.hash_bits_per_character 
 +;   Default Value: 4 
 +;   Development Value: 5 
 +;   Production Value: 5 
 + 
 +; short_open_tag 
 +;   Default Value: On 
 +;   Development Value: Off 
 +;   Production Value: Off 
 + 
 +; track_errors 
 +;   Default Value: Off 
 +;   Development Value: On 
 +;   Production Value: Off 
 + 
 +; url_rewriter.tags 
 +;   Default Value: "a=href,area=href,frame=src,form=,fieldset=" 
 +;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 
 +  Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 
 + 
 +; variables_order 
 +;   Default Value: "EGPCS
 +;   Development Value: "GPCS" 
 +;   Production Value: "GPCS"
  
 ;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;
Line 1916: Line 2004:
 ; data to the client. If your application's output exceeds this setting, PHP ; data to the client. If your application's output exceeds this setting, PHP
 ; will send that data in chunks of roughly the size you specify. ; will send that data in chunks of roughly the size you specify.
-; Turning on this setting and managing it'maximum buffer size can yield some+; Turning on this setting and managing its maximum buffer size can yield some
 ; interesting side-effects depending on your application and web server. ; interesting side-effects depending on your application and web server.
 ; You may be able to send headers and cookies after you've already sent output ; You may be able to send headers and cookies after you've already sent output
Line 1928: Line 2016:
 ;   On = Enabled and buffer is unlimited. (Use with caution) ;   On = Enabled and buffer is unlimited. (Use with caution)
 ;   Off = Disabled ;   Off = Disabled
-;   Integer = Enables the buffer and sets it'maximum size in bytes.+;   Integer = Enables the buffer and sets its maximum size in bytes.
 ; Default Value: Off ; Default Value: Off
-; Development Value: Off+; Development Value: 4096
 ; Production Value: 4096 ; Production Value: 4096
 ; http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering ; http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering
Line 1996: Line 2084:
 ; reference at function call time is a deprecated feature which will be removed ; reference at function call time is a deprecated feature which will be removed
 ; from PHP at some point in the near future. The acceptable method for passing a ; from PHP at some point in the near future. The acceptable method for passing a
-; value by reference to a function is by declaring the reference in the function+; value by reference to a function is by declaring the reference in the functions
 ; definition, not at call time. This directive does not disable this feature, it ; definition, not at call time. This directive does not disable this feature, it
-; only determines whether PHP will warn you about it or not. +; only determines whether PHP will warn you about it or not. These warnings 
-; Default Value: On  (Issue warnings) +; should enabled in development environments only
-; Development Value: On (Issue warnings) +; Default Value: On (Suppress warnings) 
-; Production Value: Off (Suppress warnings)+; Development Value: Off (Issue warnings) 
 +; Production Value: Off (Issue warnings)
 ; http://www.php.net/manual/en/ini.core.php#ini.allow-call-time-pass-reference ; http://www.php.net/manual/en/ini.core.php#ini.allow-call-time-pass-reference
 allow_call_time_pass_reference = Off allow_call_time_pass_reference = Off
Line 2179: Line 2268:
 ; Default Value: E_ALL & ~E_NOTICE ; Default Value: E_ALL & ~E_NOTICE
 ; Development Value: E_ALL | E_STRICT ; Development Value: E_ALL | E_STRICT
-; Production Value: E_ALL & ~E_NOTICE+; Production Value: E_ALL & ~E_DEPRECATED
 ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
-error_reporting = E_ALL & ~E_NOTICE+error_reporting = E_ALL | E_STRICT
  
 ; This directive controls whether or not and where PHP will output errors, ; This directive controls whether or not and where PHP will output errors,
-; notices and warnings to. Error output is very useful during development, but+; notices and warnings too. Error output is very useful during development, but
 ; it could be very dangerous in production environments. Depending on the code ; it could be very dangerous in production environments. Depending on the code
 ; which is triggering the error, sensitive information could potentially leak ; which is triggering the error, sensitive information could potentially leak
 ; out of your application such as database usernames and passwords or worse. ; out of your application such as database usernames and passwords or worse.
-; It's recommended that errors be logged on productions servers rather than+; It's recommended that errors be logged on production servers rather than
 ; having the errors sent to STDOUT. ; having the errors sent to STDOUT.
 ; Possible Values: ; Possible Values:
Line 2198: Line 2287:
 ; Production Value: Off ; Production Value: Off
 ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
-display_errors = Off+display_errors = On
  
 ; The display of errors which occur during PHP's startup sequence are handled ; The display of errors which occur during PHP's startup sequence are handled
Line 2209: Line 2298:
 ; Production Value: Off ; Production Value: Off
 ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-startup-errors ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-startup-errors
-display_startup_errors = Off+display_startup_errors = On
  
 ; Besides displaying errors, PHP can also log errors to locations such as a ; Besides displaying errors, PHP can also log errors to locations such as a
Line 2247: Line 2336:
  
 ; Store the last error/warning message in $php_errormsg (boolean). Setting this value ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
-; to on can assist in debugging and appropriate for development servers. It should+; to On can assist in debugging and is appropriate for development servers. It should
 ; however be disabled on production servers. ; however be disabled on production servers.
 ; Default Value: Off ; Default Value: Off
 ; Development Value: On ; Development Value: On
 ; Production Value: Off ; Production Value: Off
-http://www.php.net/manual/en/errorfunc.configuration.php#ini.track-errors +http://www.php.net/manual/en/errorfunc.configuration.php#ini.track-errors 
-track_errors = Off+track_errors = On
  
 ; Turn off normal error reporting and emit XML-RPC error XML ; Turn off normal error reporting and emit XML-RPC error XML
Line 2270: Line 2359:
 ; Production value: Off ; Production value: Off
 ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.html-errors ; http://www.php.net/manual/en/errorfunc.configuration.php#ini.html-errors
-html_errors = Off+html_errors = On
  
 ; If html_errors is set On PHP produces clickable error messages that direct ; If html_errors is set On PHP produces clickable error messages that direct
Line 2332: Line 2421:
 ; these arrays and because ENV is not as commonly used as the others, ENV is ; these arrays and because ENV is not as commonly used as the others, ENV is
 ; is not recommended on productions servers. You can still get access to ; is not recommended on productions servers. You can still get access to
-; the environment variables through getenv() should you need to. ENV data could +; the environment variables through getenv() should you need to.
-; be very helpful in tracking down bugs so it's not a bad idea to enable them +
-; on developmental servers.+
 ; Default Value: "EGPCS" ; Default Value: "EGPCS"
-; Development Value: "EGPCS+; Development Value: "GPCS
-; Production Value: "GPCS"+; Production Value: "GPCS";
 ; http://www.php.net/manual/en/ini.core.php#ini.variables-order ; http://www.php.net/manual/en/ini.core.php#ini.variables-order
 variables_order = "GPCS" variables_order = "GPCS"
Line 2347: Line 2434:
 ; Leaving this value empty will cause PHP to use the value set in the  ; Leaving this value empty will cause PHP to use the value set in the 
 ; variables_order directive. It does not mean it will leave the super globals ; variables_order directive. It does not mean it will leave the super globals
-; array REQUEST empty. For performance reasons, mostly to reduce redundant +; array REQUEST empty.
-; registrations, it's recommended that you set this value to "GP" on production +
-; servers. On developmental servers, it might be helpful to set this value to empty +
-; for debugging purposes.+
 ; Default Value: None ; Default Value: None
-; Development Value: None+; Development Value: "GP"
 ; Production Value: "GP" ; Production Value: "GP"
 ; http://www.php.net/manual/en/ini.core.php#ini.request-order ; http://www.php.net/manual/en/ini.core.php#ini.request-order
Line 2382: Line 2466:
 ; is invoked. $argc contains an integer representing the number of arguments ; is invoked. $argc contains an integer representing the number of arguments
 ; that were passed when the script was invoked. These arrays are extremely ; that were passed when the script was invoked. These arrays are extremely
-; useful when running scripts from the command line and can also be useful for +; useful when running scripts from the command line. When this directive is 
-; debugging purposes. When this directive is enabled, registering these variables +enabled, registering these variables consumes CPU cycles and memory each time 
-consumes CPU cycles and memory each time a script is executed. For performance +a script is executed. For performance reasons, this feature should be disabled 
-reasons, this feature should be disabled on production servers.+on production servers.
 ; Default Value: On ; Default Value: On
-; Development Value: On+; Development Value: Off
 ; Production Value: Off ; Production Value: Off
 ; http://www.php.net/manual/en/ini.core.php#ini.register-argc-argv ; http://www.php.net/manual/en/ini.core.php#ini.register-argc-argv
Line 2481: Line 2565:
 ; Directory in which the loadable extensions (modules) reside. ; Directory in which the loadable extensions (modules) reside.
 ; http://www.php.net/manual/en/ini.core.php#ini.extension-dir ; http://www.php.net/manual/en/ini.core.php#ini.extension-dir
-extension_dir = "./"+extension_dir = "./"
  
 ; Whether or not to enable the dl() function.  The dl() function does NOT work ; Whether or not to enable the dl() function.  The dl() function does NOT work
Line 2487: Line 2571:
 ; disabled on them. ; disabled on them.
 ; http://www.php.net/manual/en/info.configuration.php#ini.enable-dl ; http://www.php.net/manual/en/info.configuration.php#ini.enable-dl
-enable_dl = On+enable_dl = Off
  
 ; cgi.force_redirect is necessary to provide security running PHP as a CGI under ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
Line 2510: Line 2594:
 ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
 ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
-; this to 1 will cause PHP CGI to fix it'paths to conform to the spec.  A setting+; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
Line 2603: Line 2687:
 ;   extension=msql.so ;   extension=msql.so
 ; ;
-Note that it should be the name of the module onlyno directory information +... or with a path: 
-needs to go here Specify the location of the extension with the +
-extension_dir directive above.+  extension=/path/to/extension/msql.so 
 +
 +; If you only provide the name of the extension, PHP will look for it in it's 
 +default extension directory.
 ; ;
 ; Windows Extensions ; Windows Extensions
Line 2766: Line 2853:
  
 [SQL] [SQL]
-http://www.php.net/manual/en/ini.core.php#ini.sql.safe-mode+http://www.php.net/manual/en/ini.core.php#ini.sql.safe-mode
 sql.safe_mode = Off sql.safe_mode = Off
  
Line 2861: Line 2948:
  
 ; Maximum number of links.  -1 means no limit. ; Maximum number of links.  -1 means no limit.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.max-links+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.max-links
 mysqli.max_links = -1 mysqli.max_links = -1
  
Line 2868: Line 2955:
 ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
 ; at MYSQL_PORT. ; at MYSQL_PORT.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-port+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-port
 mysqli.default_port = 3306 mysqli.default_port = 3306
  
 ; Default socket name for local MySQL connects.  If empty, uses the built-in ; Default socket name for local MySQL connects.  If empty, uses the built-in
 ; MySQL defaults. ; MySQL defaults.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-socket+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-socket
 mysqli.default_socket = mysqli.default_socket =
  
 ; Default host for mysql_connect() (doesn't apply in safe mode). ; Default host for mysql_connect() (doesn't apply in safe mode).
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-host+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-host
 mysqli.default_host = mysqli.default_host =
  
 ; Default user for mysql_connect() (doesn't apply in safe mode). ; Default user for mysql_connect() (doesn't apply in safe mode).
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-user+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-user
 mysqli.default_user = mysqli.default_user =
  
Line 2889: Line 2976:
 ; and reveal this password!  And of course, any users with read access to this ; and reveal this password!  And of course, any users with read access to this
 ; file will be able to reveal the password as well. ; file will be able to reveal the password as well.
-; http://us2.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-pw+; http://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.default-pw
 mysqli.default_pw = mysqli.default_pw =
  
Line 2899: Line 2986:
 ; Connection: Enables privileged connections using external ; Connection: Enables privileged connections using external
 ; credentials (OCI_SYSOPER, OCI_SYSDBA) ; credentials (OCI_SYSOPER, OCI_SYSDBA)
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.privileged-connect+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.privileged-connect
 ;oci8.privileged_connect = Off ;oci8.privileged_connect = Off
  
 ; Connection: The maximum number of persistent OCI8 connections per ; Connection: The maximum number of persistent OCI8 connections per
 ; process. Using -1 means no limit. ; process. Using -1 means no limit.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.max-persistent+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.max-persistent
 ;oci8.max_persistent = -1 ;oci8.max_persistent = -1
  
Line 2910: Line 2997:
 ; maintain an idle persistent connection. Using -1 means idle ; maintain an idle persistent connection. Using -1 means idle
 ; persistent connections will be maintained forever. ; persistent connections will be maintained forever.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.persistent-timeout+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.persistent-timeout
 ;oci8.persistent_timeout = -1 ;oci8.persistent_timeout = -1
  
Line 2917: Line 3004:
 ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
 ; pings completely. ; pings completely.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.ping-interval+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.ping-interval
 ;oci8.ping_interval = 60 ;oci8.ping_interval = 60
  
Line 2928: Line 3015:
 ;oci8.connection_class = ;oci8.connection_class =
  
-; High Availability: Using lets PHP receive Fast Application+; High Availability: Using On lets PHP receive Fast Application
 ; Notification (FAN) events generated when a database node fails. The ; Notification (FAN) events generated when a database node fails. The
 ; database must also be configured to post FAN events. ; database must also be configured to post FAN events.
-;oci8.events = 0+;oci8.events = Off
  
 ; Tuning: This option enables statement caching, and specifies how ; Tuning: This option enables statement caching, and specifies how
 ; many statements to cache. Using 0 disables statement caching. ; many statements to cache. Using 0 disables statement caching.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.statement-cache-size+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.statement-cache-size
 ;oci8.statement_cache_size = 20 ;oci8.statement_cache_size = 20
  
 ; Tuning: Enables statement prefetching and sets the default number of ; Tuning: Enables statement prefetching and sets the default number of
 ; rows that will be fetched automatically after statement execution. ; rows that will be fetched automatically after statement execution.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.default-prefetch+; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.default-prefetch
 ;oci8.default_prefetch = 100 ;oci8.default_prefetch = 100
  
-; Compatibility. Using means oci_close() will not close+; Compatibility. Using On means oci_close() will not close
 ; oci_connect() and oci_new_connect() connections. ; oci_connect() and oci_new_connect() connections.
-; http://us2.php.net/manual/en/oci8.configuration.php#ini.oci8.old-oci-close-semantics +; http://www.php.net/manual/en/oci8.configuration.php#ini.oci8.old-oci-close-semantics 
-;oci8.old_oci_close_semantics = 0+;oci8.old_oci_close_semantics = Off
  
 [PostgresSQL] [PostgresSQL]
 ; Allow or prevent persistent links. ; Allow or prevent persistent links.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.allow-persistent+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.allow-persistent
 pgsql.allow_persistent = On pgsql.allow_persistent = On
  
 ; Detect broken persistent links always with pg_pconnect(). ; Detect broken persistent links always with pg_pconnect().
 ; Auto reset feature requires a little overheads. ; Auto reset feature requires a little overheads.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.auto-reset-persistent+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.auto-reset-persistent
 pgsql.auto_reset_persistent = Off pgsql.auto_reset_persistent = Off
  
 ; Maximum number of persistent links.  -1 means no limit. ; Maximum number of persistent links.  -1 means no limit.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-persistent+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-persistent
 pgsql.max_persistent = -1 pgsql.max_persistent = -1
  
 ; Maximum number of links (persistent+non persistent).  -1 means no limit. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-links+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.max-links
 pgsql.max_links = -1 pgsql.max_links = -1
  
 ; Ignore PostgreSQL backends Notice message or not. ; Ignore PostgreSQL backends Notice message or not.
 ; Notice message logging require a little overheads. ; Notice message logging require a little overheads.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.ignore-notice+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.ignore-notice
 pgsql.ignore_notice = 0 pgsql.ignore_notice = 0
  
 ; Log PostgreSQL backends Noitce message or not. ; Log PostgreSQL backends Noitce message or not.
 ; Unless pgsql.ignore_notice=0, module cannot log notice message. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
-; http://us2.php.net/manual/en/pgsql.configuration.php#ini.pgsql.log-notice+; http://www.php.net/manual/en/pgsql.configuration.php#ini.pgsql.log-notice
 pgsql.log_notice = 0 pgsql.log_notice = 0
  
 [Sybase-CT] [Sybase-CT]
 ; Allow or prevent persistent links. ; Allow or prevent persistent links.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.allow-persistent+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.allow-persistent
 sybct.allow_persistent = On sybct.allow_persistent = On
  
 ; Maximum number of persistent links.  -1 means no limit. ; Maximum number of persistent links.  -1 means no limit.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.max-persistent+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.max-persistent
 sybct.max_persistent = -1 sybct.max_persistent = -1
  
 ; Maximum number of links (persistent + non-persistent).  -1 means no limit. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.max-links+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.max-links
 sybct.max_links = -1 sybct.max_links = -1
  
 ; Minimum server message severity to display. ; Minimum server message severity to display.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.min-server-severity+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.min-server-severity
 sybct.min_server_severity = 10 sybct.min_server_severity = 10
  
 ; Minimum client message severity to display. ; Minimum client message severity to display.
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.min-client-severity+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.min-client-severity
 sybct.min_client_severity = 10 sybct.min_client_severity = 10
  
 ; Set per-context timeout ; Set per-context timeout
-; http://us2.php.net/manual/en/sybase.configuration.php#ini.sybct.timeout+; http://www.php.net/manual/en/sybase.configuration.php#ini.sybct.timeout
 ;sybct.timeout= ;sybct.timeout=
  
Line 3005: Line 3092:
 [bcmath] [bcmath]
 ; Number of decimal digits for all bcmath functions. ; Number of decimal digits for all bcmath functions.
-; http://us2.php.net/manual/en/bc.configuration.php#ini.bcmath.scale+; http://www.php.net/manual/en/bc.configuration.php#ini.bcmath.scale
 bcmath.scale = 0 bcmath.scale = 0
  
 [browscap] [browscap]
-; http://us2.php.net/manual/en/misc.configuration.php#ini.browscap+; http://www.php.net/manual/en/misc.configuration.php#ini.browscap
 ;browscap = extra/browscap.ini ;browscap = extra/browscap.ini
  
 [Session] [Session]
 ; Handler used to store/retrieve data. ; Handler used to store/retrieve data.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.save-handler+; http://www.php.net/manual/en/session.configuration.php#ini.session.save-handler
 session.save_handler = files session.save_handler = files
  
Line 3043: Line 3130:
 ; where MODE is the octal representation of the mode. Note that this ; where MODE is the octal representation of the mode. Note that this
 ; does not overwrite the process's umask. ; does not overwrite the process's umask.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.save-path+; http://www.php.net/manual/en/session.configuration.php#ini.session.save-path
 ;session.save_path = "/tmp" ;session.save_path = "/tmp"
  
 ; Whether to use cookies. ; Whether to use cookies.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.use-cookies+; http://www.php.net/manual/en/session.configuration.php#ini.session.use-cookies
 session.use_cookies = 1 session.use_cookies = 1
  
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-secure+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
 ;session.cookie_secure = ;session.cookie_secure =
  
Line 3061: Line 3148:
  
 ; Name of the session (used as cookie name). ; Name of the session (used as cookie name).
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.name+; http://www.php.net/manual/en/session.configuration.php#ini.session.name
 session.name = PHPSESSID session.name = PHPSESSID
  
 ; Initialize session on request startup. ; Initialize session on request startup.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.auto-start+; http://www.php.net/manual/en/session.configuration.php#ini.session.auto-start
 session.auto_start = 0 session.auto_start = 0
  
 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
 session.cookie_lifetime = 0 session.cookie_lifetime = 0
  
 ; The path for which the cookie is valid. ; The path for which the cookie is valid.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-path+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-path
 session.cookie_path = / session.cookie_path = /
  
 ; The domain for which the cookie is valid. ; The domain for which the cookie is valid.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-domain+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-domain
 session.cookie_domain = session.cookie_domain =
  
 ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cookie-httponly+; http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-httponly
 session.cookie_httponly =  session.cookie_httponly = 
  
 ; Handler used to serialize data.  php is the standard serializer of PHP. ; Handler used to serialize data.  php is the standard serializer of PHP.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.serialize-handler+; http://www.php.net/manual/en/session.configuration.php#ini.session.serialize-handler
 session.serialize_handler = php session.serialize_handler = php
  
Line 3097: Line 3184:
 ; Development Value: 1 ; Development Value: 1
 ; Production Value: 1 ; Production Value: 1
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.gc-probability+; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability
 session.gc_probability = 1 session.gc_probability = 1
  
Line 3109: Line 3196:
 ; this is a more efficient approach. ; this is a more efficient approach.
 ; Default Value: 100 ; Default Value: 100
-; Development Value: 100+; Development Value: 1000
 ; Production Value: 1000 ; Production Value: 1000
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.gc-divisor+; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor
 session.gc_divisor = 1000 session.gc_divisor = 1000
  
 ; After this number of seconds, stored data will be seen as 'garbage' and ; After this number of seconds, stored data will be seen as 'garbage' and
 ; cleaned up by the garbage collection process. ; cleaned up by the garbage collection process.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime+; http://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
 session.gc_maxlifetime = 1440 session.gc_maxlifetime = 1440
  
Line 3132: Line 3219:
 ; You can disable the feature and the warning separately. At this time, ; You can disable the feature and the warning separately. At this time,
 ; the warning is only displayed, if bug_compat_42 is enabled. This feature ; the warning is only displayed, if bug_compat_42 is enabled. This feature
-; introduces some serious security problems if not handled correctly. It'not+; introduces some serious security problems if not handled correctly. It's
 ; recommended that you do not use this feature on production servers. But you ; recommended that you do not use this feature on production servers. But you
 ; should enable this on development servers and enable the warning as well. If you ; should enable this on development servers and enable the warning as well. If you
 ; do not enable the feature on development servers, you won't be warned when it's ; do not enable the feature on development servers, you won't be warned when it's
-; used and debugging errors caused by this can be difficult.+; used and debugging errors caused by this can be difficult to track down.
 ; Default Value: On ; Default Value: On
 ; Development Value: On ; Development Value: On
 ; Production Value: Off ; Production Value: Off
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.bug-compat-42 +; http://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-42 
-session.bug_compat_42 = Off+session.bug_compat_42 = On
  
-; This setting controls whether or not you are warned by PHP when initialize a+; This setting controls whether or not you are warned by PHP when initializing a
 ; session value into the global space. session.bug_compat_42 must be enabled before ; session value into the global space. session.bug_compat_42 must be enabled before
 ; these warnings can be issued by PHP. See the directive above for more information. ; these warnings can be issued by PHP. See the directive above for more information.
Line 3149: Line 3236:
 ; Development Value: On ; Development Value: On
 ; Production Value: Off ; Production Value: Off
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.bug-compat-warn +; http://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-warn 
-session.bug_compat_warn = Off+session.bug_compat_warn = On
  
 ; Check HTTP Referer to invalidate externally stored URLs containing ids. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
 ; HTTP_REFERER has to contain this substring for the session to be ; HTTP_REFERER has to contain this substring for the session to be
 ; considered as valid. ; considered as valid.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.referer-check+; http://www.php.net/manual/en/session.configuration.php#ini.session.referer-check
 session.referer_check = session.referer_check =
  
 ; How many bytes to read from the file. ; How many bytes to read from the file.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.entropy-length+; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-length
 session.entropy_length = 0 session.entropy_length = 0
  
 ; Specified here to create the session id. ; Specified here to create the session id.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.entropy-file+; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-file
 ;session.entropy_file = /dev/urandom ;session.entropy_file = /dev/urandom
 session.entropy_file = session.entropy_file =
  
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.entropy-length+; http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-length
 ;session.entropy_length = 16 ;session.entropy_length = 16
  
 ; Set to {nocache,private,public,} to determine HTTP caching aspects ; Set to {nocache,private,public,} to determine HTTP caching aspects
 ; or leave this empty to avoid sending anti-caching headers. ; or leave this empty to avoid sending anti-caching headers.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cache-limiter+; http://www.php.net/manual/en/session.configuration.php#ini.session.cache-limiter
 session.cache_limiter = nocache session.cache_limiter = nocache
  
 ; Document expires after n minutes. ; Document expires after n minutes.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.cache-expire+; http://www.php.net/manual/en/session.configuration.php#ini.session.cache-expire
 session.cache_expire = 180 session.cache_expire = 180
  
Line 3188: Line 3275:
 ; - User may access your site with the same session ID ; - User may access your site with the same session ID
 ;   always using URL stored in browser's history or bookmarks. ;   always using URL stored in browser's history or bookmarks.
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid+; http://www.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid
 session.use_trans_sid = 0 session.use_trans_sid = 0
  
Line 3195: Line 3282:
 ;    (MD5 128 bits) ;    (MD5 128 bits)
 ;    (SHA-1 160 bits) ;    (SHA-1 160 bits)
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.hash-function+; http://www.php.net/manual/en/session.configuration.php#ini.session.hash-function
 session.hash_function = 0 session.hash_function = 0
  
Line 3207: Line 3294:
 ; Development Value: 5 ; Development Value: 5
 ; Production Value: 5 ; Production Value: 5
-; http://us2.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character+; http://www.php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character
 session.hash_bits_per_character = 5 session.hash_bits_per_character = 5
  
Line 3218: Line 3305:
 ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
 ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
-; http://us2.php.net/manual/en/session.configuration.php#ini.url-rewriter.tags+; http://www.php.net/manual/en/session.configuration.php#ini.url-rewriter.tags
 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  
Line 3275: Line 3362:
 [Assertion] [Assertion]
 ; Assert(expr); active by default. ; Assert(expr); active by default.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.active+; http://www.php.net/manual/en/info.configuration.php#ini.assert.active
 ;assert.active = On ;assert.active = On
  
 ; Issue a PHP warning for each failed assertion. ; Issue a PHP warning for each failed assertion.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.warning+; http://www.php.net/manual/en/info.configuration.php#ini.assert.warning
 ;assert.warning = On ;assert.warning = On
  
 ; Don't bail out by default. ; Don't bail out by default.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.bail+; http://www.php.net/manual/en/info.configuration.php#ini.assert.bail
 ;assert.bail = Off ;assert.bail = Off
  
 ; User-function to be called if an assertion fails. ; User-function to be called if an assertion fails.
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.callback+; http://www.php.net/manual/en/info.configuration.php#ini.assert.callback
 ;assert.callback = 0 ;assert.callback = 0
  
 ; Eval the expression with current error_reporting().  Set to true if you want ; Eval the expression with current error_reporting().  Set to true if you want
 ; error_reporting(0) around the eval(). ; error_reporting(0) around the eval().
-; http://us2.php.net/manual/en/info.configuration.php#ini.assert.quiet-eval+; http://www.php.net/manual/en/info.configuration.php#ini.assert.quiet-eval
 ;assert.quiet_eval = 0 ;assert.quiet_eval = 0
  
 [COM] [COM]
 ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.typelib-file+; http://www.php.net/manual/en/com.configuration.php#ini.com.typelib-file
 ;com.typelib_file = ;com.typelib_file =
  
 ; allow Distributed-COM calls ; allow Distributed-COM calls
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.allow-dcom+; http://www.php.net/manual/en/com.configuration.php#ini.com.allow-dcom
 ;com.allow_dcom = true ;com.allow_dcom = true
  
 ; autoregister constants of a components typlib on com_load() ; autoregister constants of a components typlib on com_load()
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.autoregister-typelib+; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-typelib
 ;com.autoregister_typelib = true ;com.autoregister_typelib = true
  
 ; register constants casesensitive ; register constants casesensitive
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.autoregister-casesensitive+; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-casesensitive
 ;com.autoregister_casesensitive = false ;com.autoregister_casesensitive = false
  
 ; show warnings on duplicate constant registrations ; show warnings on duplicate constant registrations
-; http://us2.php.net/manual/en/com.configuration.php#ini.com.autoregister-verbose+; http://www.php.net/manual/en/com.configuration.php#ini.com.autoregister-verbose
 ;com.autoregister_verbose = true ;com.autoregister_verbose = true
  
 [mbstring] [mbstring]
 ; language for internal character representation. ; language for internal character representation.
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.language+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.language
 ;mbstring.language = Japanese ;mbstring.language = Japanese
  
Line 3324: Line 3411:
 ; Some encoding cannot work as internal encoding. ; Some encoding cannot work as internal encoding.
 ; (e.g. SJIS, BIG5, ISO-2022-*) ; (e.g. SJIS, BIG5, ISO-2022-*)
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
 ;mbstring.internal_encoding = EUC-JP ;mbstring.internal_encoding = EUC-JP
  
 ; http input encoding. ; http input encoding.
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input
 ;mbstring.http_input = auto ;mbstring.http_input = auto
  
 ; http output encoding. mb_output_handler must be ; http output encoding. mb_output_handler must be
 ; registered as output buffer to function ; registered as output buffer to function
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-output+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-output
 ;mbstring.http_output = SJIS ;mbstring.http_output = SJIS
  
Line 3341: Line 3428:
 ; Note: Do _not_ use automatic encoding translation for ; Note: Do _not_ use automatic encoding translation for
 ;       portable libs/applications. ;       portable libs/applications.
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.encoding-translation+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.encoding-translation
 ;mbstring.encoding_translation = Off ;mbstring.encoding_translation = Off
  
 ; automatic encoding detection order. ; automatic encoding detection order.
 ; auto means ; auto means
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.detect-order+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.detect-order
 ;mbstring.detect_order = auto ;mbstring.detect_order = auto
  
 ; substitute_character used when character cannot be converted ; substitute_character used when character cannot be converted
 ; one from another ; one from another
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.substitute-character+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.substitute-character
 ;mbstring.substitute_character = none; ;mbstring.substitute_character = none;
  
Line 3362: Line 3449:
 ; 2: Overload str*() functions ; 2: Overload str*() functions
 ; 4: Overload ereg*() functions ; 4: Overload ereg*() functions
-; http://us2.php.net/manual/en/mbstring.configuration.php#ini.mbstring.func-overload+; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.func-overload
 ;mbstring.func_overload = 0 ;mbstring.func_overload = 0
  
Line 3369: Line 3456:
  
 [gd] [gd]
-; Tell the jpeg decode to libjpeg warnings and try to create+; Tell the jpeg decode to ignore warnings and try to create
 ; a gd image. The warning will then be displayed as notices ; a gd image. The warning will then be displayed as notices
 ; disabled by default ; disabled by default
-; http://us2.php.net/manual/en/image.configuration.php#ini.image.jpeg-ignore-warning+; http://www.php.net/manual/en/image.configuration.php#ini.image.jpeg-ignore-warning
 ;gd.jpeg_ignore_warning = 0 ;gd.jpeg_ignore_warning = 0
  
Line 3381: Line 3468:
 ; is used. For the decode settings you can distinguish between motorola and ; is used. For the decode settings you can distinguish between motorola and
 ; intel byte order. A decode setting cannot be empty. ; intel byte order. A decode setting cannot be empty.
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.encode-unicode+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.encode-unicode
 ;exif.encode_unicode = ISO-8859-15 ;exif.encode_unicode = ISO-8859-15
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-motorola+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-motorola
 ;exif.decode_unicode_motorola = UCS-2BE ;exif.decode_unicode_motorola = UCS-2BE
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-intel+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-unicode-intel
 ;exif.decode_unicode_intel    = UCS-2LE ;exif.decode_unicode_intel    = UCS-2LE
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.encode-jis+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.encode-jis
 ;exif.encode_jis = ;exif.encode_jis =
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-motorola+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-motorola
 ;exif.decode_jis_motorola = JIS ;exif.decode_jis_motorola = JIS
  
-; http://us2.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-intel+; http://www.php.net/manual/en/exif.configuration.php#ini.exif.decode-jis-intel
 ;exif.decode_jis_intel    = JIS ;exif.decode_jis_intel    = JIS
  
 [Tidy] [Tidy]
 ; The path to a default tidy configuration file to use when using tidy ; The path to a default tidy configuration file to use when using tidy
-; http://us2.php.net/manual/en/tidy.configuration.php#ini.tidy.default-config+; http://www.php.net/manual/en/tidy.configuration.php#ini.tidy.default-config
 ;tidy.default_config = /usr/local/lib/php/default.tcfg ;tidy.default_config = /usr/local/lib/php/default.tcfg
  
Line 3407: Line 3494:
 ; WARNING: Do not use this option if you are generating non-html content ; WARNING: Do not use this option if you are generating non-html content
 ; such as dynamic images ; such as dynamic images
-; http://us2.php.net/manual/en/tidy.configuration.php#ini.tidy.clean-output+; http://www.php.net/manual/en/tidy.configuration.php#ini.tidy.clean-output
 tidy.clean_output = Off tidy.clean_output = Off
  
 [soap] [soap]
 ; Enables or disables WSDL caching feature. ; Enables or disables WSDL caching feature.
-; http://us2.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-enabled+; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-enabled
 soap.wsdl_cache_enabled=1 soap.wsdl_cache_enabled=1
  
 ; Sets the directory name where SOAP extension will put cache files. ; Sets the directory name where SOAP extension will put cache files.
-; http://us2.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir+; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir
 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_dir="/tmp"
  
 ; (time to live) Sets the number of second while cached file will be used  ; (time to live) Sets the number of second while cached file will be used 
 ; instead of original one. ; instead of original one.
-; http://us2.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-ttl+; http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-ttl
 soap.wsdl_cache_ttl=86400 soap.wsdl_cache_ttl=86400
  
Line 3432: Line 3519:
 ; tab-width: 4 ; tab-width: 4
 ; End: ; End:
 +
 </code> </code>
  
Line 3437: Line 3525:
  
 version 1.0 Initial offering. version 1.0 Initial offering.
 +
 +version 1.1 First revision based on comments mainly from the internals list.
 +
 +version 1.2 A few minor changes based mainly on comments from the internals list.
rfc/newinis.1234854218.txt.gz · Last modified: 2017/09/22 13:28 (external edit)