summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-25 10:58:06 +0000
committerZeev Suraski <zeev@php.net>2004-02-25 10:58:06 +0000
commit3f514ccb7965af7053d0d4ee52fd1c557b3b0625 (patch)
tree2472a3c83fd6ae791fc7fef2992ac58bea491423 /php.ini-dist
parenteb6fd52e21919c3a78fe71c6a719af67b5a9ab1c (diff)
downloadphp-git-3f514ccb7965af7053d0d4ee52fd1c557b3b0625.tar.gz
- Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone).
- Perform implementation checks even with simple inheritance (off when compatibility mode is enabled). - Restore default arguments in interfaces and handle it correctly. - Move registration of internal classes later in the startup sequence in order to have INI options available.
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist95
1 files changed, 49 insertions, 46 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 30e29fc685..450013ac6f 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -67,7 +67,10 @@
; Enable the PHP scripting language engine under Apache.
engine = On
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
+zend.ze1_compatibility_mode = Off
+
+; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
@@ -99,18 +102,18 @@ output_buffering = Off
; Setting any output handler automatically turns on output buffering.
; Note: People who wrote portable scripts should not depend on this ini
; directive. Instead, explicitly set the output handler using ob_start().
-; Using this ini directive may cause problems unless you know what script
+; Using this ini directive may cause problems unless you know what script
; is doing.
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
-; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
+; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
;output_handler =
; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)
-; Note: Resulting chunk size may vary due to nature of compression. PHP
-; outputs chunks that are few hundreds bytes each as a result of
-; compression. If you prefer a larger chunk size for better
+; Note: Resulting chunk size may vary due to nature of compression. PHP
+; outputs chunks that are few hundreds bytes each as a result of
+; compression. If you prefer a larger chunk size for better
; performance, enable output_buffering in addition.
; Note: You need to use zlib.output_handler instead of the standard
; output_handler, or otherwise the output will be corrupted.
@@ -133,7 +136,7 @@ implicit_flush = Off
; which should be instanciated.
; A warning appears if the specified function is not defined, or if the
; function doesn't include/implement the missing class.
-; So only set this entry, if you really want to implement such a
+; So only set this entry, if you really want to implement such a
; callback-function.
unserialize_callback_func=
@@ -166,7 +169,7 @@ safe_mode_gid = Off
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
-safe_mode_include_dir =
+safe_mode_include_dir =
; When safe_mode is on, only executables located in the safe_mode_exec_dir
; will be allowed to be executed via the exec family of functions.
@@ -297,13 +300,13 @@ log_errors_max_len = 1024
; line until ignore_repeated_source is set true.
ignore_repeated_errors = Off
-; Ignore source of message when ignoring repeated messages. When this setting
+; Ignore source of message when ignoring repeated messages. When this setting
; is On you will not log errors with repeated messages from different files or
; sourcelines.
ignore_repeated_source = Off
; If this parameter is set to Off, then memory leaks will not be shown (on
-; stdout or in the log). This has only effect in a debug compile, and if
+; stdout or in the log). This has only effect in a debug compile, and if
; error reporting includes E_WARNING in the allowed list
report_memleaks = On
@@ -313,17 +316,17 @@ track_errors = Off
; Disable the inclusion of HTML tags in error messages.
; Note: Never use this feature for production boxes.
;html_errors = Off
-
-; 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
; to a page describing the error or function causing the error in detail.
-; You can download a copy of the PHP manual from http://www.php.net/docs.php
+; You can download a copy of the PHP manual from http://www.php.net/docs.php
; and change docref_root to the base URL of your local copy including the
-; leading '/'. You must also specify the file extension being used including
+; leading '/'. You must also specify the file extension being used including
; the dot.
; Note: Never use this feature for production boxes.
;docref_root = "/phpmanual/"
;docref_ext = .html
-
+
; String to output before an error message.
;error_prepend_string = "<font color=ff0000>"
@@ -344,11 +347,11 @@ track_errors = Off
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
; The separator used in PHP generated URLs to separate arguments.
-; Default is "&".
+; Default is "&".
;arg_separator.output = "&amp;"
; List of separator(s) used by PHP to parse input URLs into variables.
-; Default is "&".
+; Default is "&".
; NOTE: Every character in this directive is considered as separator!
;arg_separator.input = ";&"
@@ -389,7 +392,7 @@ post_max_size = 8M
magic_quotes_gpc = On
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
-magic_quotes_runtime = Off
+magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off
@@ -414,7 +417,7 @@ default_mimetype = "text/html"
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
-; UNIX: "/path1:/path2"
+; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
@@ -449,7 +452,7 @@ enable_dl = On
; every request.
; cgi.nph = 1
-; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
+; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
; will look for to know it is OK to continue execution. Setting this variable MAY
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
@@ -467,8 +470,8 @@ enable_dl = On
; is supported by Apache. When this option is set to 1 PHP will send
; RFC2616 compliant header.
; Default is zero.
-;cgi.rfc2616_headers = 0
-
+;cgi.rfc2616_headers = 0
+
;;;;;;;;;;;;;;;;
; File Uploads ;
@@ -526,7 +529,7 @@ default_socket_timeout = 60
;
; extension=msql.so
;
-; Note that it should be the name of the module only; no directory information
+; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
@@ -605,9 +608,9 @@ SMTP = localhost
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
-; to the sendmail binary. These parameters will always replace the value of
+; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
-;mail.force_extra_paramaters =
+;mail.force_extra_paramaters =
[SQL]
sql.safe_mode = Off
@@ -627,16 +630,16 @@ odbc.check_persistent = On
odbc.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
-odbc.max_links = -1
+odbc.max_links = -1
; Handling of LONG fields. Returns number of bytes to variables. 0 means
; passthru.
-odbc.defaultlrl = 4096
+odbc.defaultlrl = 4096
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
; of uodbc.defaultlrl and uodbc.defaultbinmode
-odbc.defaultbinmode = 1
+odbc.defaultbinmode = 1
[MySQL]
; Allow or prevent persistent links.
@@ -693,7 +696,7 @@ msql.max_links = -1
pgsql.allow_persistent = On
; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
-pgsql.auto_reset_persistent = Off
+pgsql.auto_reset_persistent = Off
; Maximum number of persistent links. -1 means no limit.
pgsql.max_persistent = -1
@@ -808,17 +811,17 @@ ifx.nullformat = 0
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path
-; where data files are stored. Note: Windows users have to change this
+; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
; session.save_path = "N;/path"
;
-; where N is an integer. Instead of storing all the session files in
-; /path, what this will do is use subdirectories N-levels deep, and
-; store the session data in those directories. This is useful if you
-; or your OS have problems with lots of files in one directory, and is
+; where N is an integer. Instead of storing all the session files in
+; /path, what this will do is use subdirectories N-levels deep, and
+; store the session data in those directories. This is useful if you
+; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
@@ -828,7 +831,7 @@ session.save_handler = files
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
-;
+;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
@@ -875,8 +878,8 @@ session.gc_maxlifetime = 1440
; NOTE: If you are using the subdirectory option for storing session files
; (see session.save_path above), then garbage collection does *not*
-; happen automatically. You will need to do your own garbage
-; collection through a shell script, cron entry, or some other method.
+; happen automatically. You will need to do your own garbage
+; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
; cd /path/to/sessions; find -cmin +24 | xargs rm
@@ -913,7 +916,7 @@ session.cache_limiter = nocache
session.cache_expire = 180
; trans sid support is disabled by default.
-; Use of trans sid may risk your users security.
+; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via. email/irc/etc.
@@ -1052,7 +1055,7 @@ sockets.use_system_read = On
[com]
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
-;com.typelib_file =
+;com.typelib_file =
; allow Distributed-COM calls
;com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
@@ -1078,7 +1081,7 @@ sockets.use_system_read = On
; registered as output buffer to function
;mbstring.http_output = SJIS
-; enable automatic encoding translation accoding to
+; enable automatic encoding translation accoding to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
@@ -1086,7 +1089,7 @@ sockets.use_system_read = On
;mbstring.encoding_translation = Off
; automatic encoding detection order.
-; auto means
+; auto means
;mbstring.detect_order = auto
; substitute_character used when character cannot be converted
@@ -1106,7 +1109,7 @@ sockets.use_system_read = On
[FrontBase]
;fbsql.allow_persistent = On
;fbsql.autocommit = On
-;fbsql.default_database =
+;fbsql.default_database =
;fbsql.default_database_password =
;fbsql.default_host =
;fbsql.default_password =
@@ -1119,15 +1122,15 @@ sockets.use_system_read = On
;fbsql.batchSize = 1000
[exif]
-; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
+; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
; With mbstring support this will automatically be converted into the encoding
-; given by corresponding encode setting. When empty mbstring.internal_encoding
-; is used. For the decode settings you can distinguish between motorola and
+; given by corresponding encode setting. When empty mbstring.internal_encoding
+; is used. For the decode settings you can distinguish between motorola and
; intel byte order. A decode setting cannot be empty.
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel = UCS-2LE
-;exif.encode_jis =
+;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel = JIS