6 ; This is the default settings file for new PHP installations.
7 ; By default, PHP installs itself with a configuration suitable for
8 ; development purposes, and *NOT* for production purposes.
9 ; For several security-oriented considerations that should be taken
10 ; before going online with your site, please consult php.ini-recommended
11 ; and http://php.net/manual/en/security.php.
17 ; This file controls many aspects of PHP's behavior. In order for PHP to
18 ; read it, it must be named 'php.ini'. PHP looks for it in the current
19 ; working directory, in the path designated by the environment variable
20 ; PHPRC, and in the path that was defined in compile time (in that order).
21 ; Under Windows, the compile-time path is the Windows directory. The
22 ; path in which the php.ini file is looked for can be overridden using
23 ; the -c argument in command line mode.
25 ; The syntax of the file is extremely simple. Whitespace and Lines
26 ; beginning with a semicolon are silently ignored (as you probably guessed).
27 ; Section headers (e.g. [Foo]) are also silently ignored, even though
28 ; they might mean something in the future.
30 ; Directives are specified using the following syntax:
32 ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
34 ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
35 ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
36 ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
38 ; Expressions in the INI file are limited to bitwise operators and parentheses:
44 ; Boolean flags can be turned on using the values 1, On, True or Yes.
45 ; They can be turned off using the values 0, Off, False or No.
47 ; An empty string can be denoted by simply not writing anything after the equal
48 ; sign, or by using the None keyword:
50 ; foo = ; sets foo to an empty string
51 ; foo = none ; sets foo to an empty string
52 ; foo = "none" ; sets foo to the string 'none'
54 ; If you use constants in your value, and these constants belong to a
55 ; dynamically loaded extension (either a PHP extension or a Zend extension),
56 ; you may only use these constants *after* the line that loads the extension.
58 ; All the values in the php.ini-dist file correspond to the builtin
59 ; defaults (that is, if no php.ini is used, or if you delete these lines,
60 ; the builtin defaults will be identical).
67 ; Enable the PHP scripting language engine under Apache.
70 ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
71 ; NOTE: Using short tags should be avoided when developing applications or
72 ; libraries that are meant for redistribution, or deployment on PHP
73 ; servers which are not under your control, because short tags may not
74 ; be supported on the target server. For portable, redistributable code,
75 ; be sure not to use short tags.
78 ; Allow ASP-style <% %> tags.
81 ; The number of significant digits displayed in floating point numbers.
84 ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
87 ; Output buffering allows you to send header lines (including cookies) even
88 ; after you send body content, at the price of slowing PHP's output layer a
89 ; bit. You can enable output buffering during runtime by calling the output
90 ; buffering functions. You can also enable output buffering for all files by
91 ; setting this directive to On. If you wish to limit the size of the buffer
92 ; to a certain size - you can use a maximum number of bytes instead of 'On', as
93 ; a value for this directive (e.g., output_buffering=4096).
94 output_buffering = Off
96 ; You can redirect all of the output of your scripts to a function. For
97 ; example, if you set output_handler to "mb_output_handler", character
98 ; encoding will be transparently converted to the specified encoding.
99 ; Setting any output handler automatically turns on output buffering.
100 ; Note: People who wrote portable scripts should not depend on this ini
101 ; directive. Instead, explicitly set the output handler using ob_start().
102 ; Using this ini directive may cause problems unless you know what script
104 ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
105 ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
108 ; Transparent output compression using the zlib library
109 ; Valid values for this option are 'off', 'on', or a specific buffer size
110 ; to be used for compression (default is 4KB)
111 ; Note: Resulting chunk size may vary due to nature of compression. PHP
112 ; outputs chunks that are few hundreds bytes each as a result of
113 ; compression. If you prefer a larger chunk size for better
114 ; performance, enable output_buffering in addition.
115 ; Note: You need to use zlib.output_handler instead of the standard
116 ; output_handler, or otherwise the output will be corrupted.
117 zlib.output_compression = Off
119 ; You cannot specify additional output handlers if zlib.output_compression
120 ; is activated here. This setting does the same as output_handler but in
122 ;zlib.output_handler =
124 ; Implicit flush tells PHP to tell the output layer to flush itself
125 ; automatically after every output block. This is equivalent to calling the
126 ; PHP function flush() after each and every call to print() or echo() and each
127 ; and every HTML block. Turning this option on has serious performance
128 ; implications and is generally recommended for debugging purposes only.
131 ; The unserialize callback function will be called (with the undefined class'
132 ; name as parameter), if the unserializer finds an undefined class
133 ; which should be instanciated.
134 ; A warning appears if the specified function is not defined, or if the
135 ; function doesn't include/implement the missing class.
136 ; So only set this entry, if you really want to implement such a
138 unserialize_callback_func=
140 ; When floats & doubles are serialized store serialize_precision significant
141 ; digits after the floating point. The default value ensures that when floats
142 ; are decoded with unserialize, the data will remain the same.
143 serialize_precision = 100
145 ; Whether to enable the ability to force arguments to be passed by reference
146 ; at function call time. This method is deprecated and is likely to be
147 ; unsupported in future versions of PHP/Zend. The encouraged method of
148 ; specifying which arguments should be passed by reference is in the function
149 ; declaration. You're encouraged to try and turn this option Off and make
150 ; sure your scripts work properly with it in order to ensure they will work
151 ; with future versions of the language (you will receive a warning each time
152 ; you use this feature, and the argument will be passed by value instead of by
154 allow_call_time_pass_reference = On
160 ; By default, Safe Mode does a UID compare check when
161 ; opening files. If you want to relax this to a GID compare,
162 ; then turn on safe_mode_gid.
165 ; When safe_mode is on, UID/GID checks are bypassed when
166 ; including files from this directory and its subdirectories.
167 ; (directory must also be in include_path or full path must
168 ; be used when including)
169 safe_mode_include_dir =
171 ; When safe_mode is on, only executables located in the safe_mode_exec_dir
172 ; will be allowed to be executed via the exec family of functions.
175 ; Setting certain environment variables may be a potential security breach.
176 ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
177 ; the user may only alter environment variables whose names begin with the
178 ; prefixes supplied here. By default, users will only be able to set
179 ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
181 ; Note: If this directive is empty, PHP will let the user modify ANY
182 ; environment variable!
183 safe_mode_allowed_env_vars = PHP_
185 ; This directive contains a comma-delimited list of environment variables that
186 ; the end user won't be able to change using putenv(). These variables will be
187 ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
188 safe_mode_protected_env_vars = LD_LIBRARY_PATH
190 ; open_basedir, if set, limits all file operations to the defined directory
191 ; and below. This directive makes most sense if used in a per-directory
192 ; or per-virtualhost web server configuration file. This directive is
193 ; *NOT* affected by whether Safe Mode is turned On or Off.
196 ; This directive allows you to disable certain functions for security reasons.
197 ; It receives a comma-delimited list of function names. This directive is
198 ; *NOT* affected by whether Safe Mode is turned On or Off.
201 ; This directive allows you to disable certain classes for security reasons.
202 ; It receives a comma-delimited list of class names. This directive is
203 ; *NOT* affected by whether Safe Mode is turned On or Off.
206 ; Colors for Syntax Highlighting mode. Anything that's acceptable in
207 ; <font color="??????"> would work.
208 ;highlight.string = #DD0000
209 ;highlight.comment = #FF9900
210 ;highlight.keyword = #007700
211 ;highlight.bg = #FFFFFF
212 ;highlight.default = #0000BB
213 ;highlight.html = #000000
219 ; Decides whether PHP may expose the fact that it is installed on the server
220 ; (e.g. by adding its signature to the Web server header). It is no security
221 ; threat in any way, but it makes it possible to determine whether you use PHP
222 ; on your server or not.
230 max_execution_time = 30 ; Maximum execution time of each script, in seconds
231 max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
232 memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
234 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
235 ; Error handling and logging ;
236 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
238 ; error_reporting is a bit-field. Or each number up to get desired error
240 ; E_ALL - All errors and warnings
241 ; E_ERROR - fatal run-time errors
242 ; E_WARNING - run-time warnings (non-fatal errors)
243 ; E_PARSE - compile-time parse errors
244 ; E_NOTICE - run-time notices (these are warnings which often result
245 ; from a bug in your code, but it's possible that it was
246 ; intentional (e.g., using an uninitialized variable and
247 ; relying on the fact it's automatically initialized to an
249 ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
250 ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
252 ; E_COMPILE_ERROR - fatal compile-time errors
253 ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
254 ; E_USER_ERROR - user-generated error message
255 ; E_USER_WARNING - user-generated warning message
256 ; E_USER_NOTICE - user-generated notice message
260 ; - Show all errors, except for notices
262 ;error_reporting = E_ALL & ~E_NOTICE
266 ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
268 ; - Show all errors except for notices
270 error_reporting = E_ALL & ~E_NOTICE
272 ; Print out errors (as a part of the output). For production web sites,
273 ; you're strongly encouraged to turn this feature off, and use error logging
274 ; instead (see below). Keeping display_errors enabled on a production web site
275 ; may reveal security information to end users, such as file paths on your Web
276 ; server, your database schema or other information.
279 ; Even when display_errors is on, errors that occur during PHP's startup
280 ; sequence are not displayed. It's strongly recommended to keep
281 ; display_startup_errors off, except for when debugging.
282 display_startup_errors = Off
284 ; Log errors into a log file (server-specific log, stderr, or error_log (below))
285 ; As stated above, you're strongly advised to use error logging in place of
286 ; error displaying on production web sites.
289 ; Set maximum length of log_errors. In error_log information about the source is
290 ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
291 log_errors_max_len = 1024
293 ; Do not log repeated messages. Repeated errors must occur in same file on same
294 ; line until ignore_repeated_source is set true.
295 ignore_repeated_errors = Off
297 ; Ignore source of message when ignoring repeated messages. When this setting
298 ; is On you will not log errors with repeated messages from different files or
300 ignore_repeated_source = Off
302 ; If this parameter is set to Off, then memory leaks will not be shown (on
303 ; stdout or in the log). This has only effect in a debug compile, and if
304 ; error reporting includes E_WARNING in the allowed list
307 ; Store the last error/warning message in $php_errormsg (boolean).
310 ; Disable the inclusion of HTML tags in error messages.
313 ; If html_errors is set On PHP produces clickable error messages that direct
314 ; to a page describing the error or function causing the error in detail.
315 ; You can download a copy of the PHP manual from http://www.php.net/docs.php
316 ; and change docref_root to the base URL of your local copy including the
317 ; leading '/'. You must also specify the file extension being used including
319 ;docref_root = "/phpmanual/"
322 ; String to output before an error message.
323 ;error_prepend_string = "<font color=ff0000>"
325 ; String to output after an error message.
326 ;error_append_string = "</font>"
328 ; Log errors to specified file.
329 ;error_log = filename
331 ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
339 ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
341 ; The separator used in PHP generated URLs to separate arguments.
343 ;arg_separator.output = "&"
345 ; List of separator(s) used by PHP to parse input URLs into variables.
347 ; NOTE: Every character in this directive is considered as separator!
348 ;arg_separator.input = ";&"
350 ; This directive describes the order in which PHP registers GET, POST, Cookie,
351 ; Environment and Built-in variables (G, P, C, E & S respectively, often
352 ; referred to as EGPCS or GPC). Registration is done from left to right, newer
353 ; values override older values.
354 variables_order = "EGPCS"
356 ; Whether or not to register the EGPCS variables as global variables. You may
357 ; want to turn this off if you don't want to clutter your scripts' global scope
358 ; with user data. This makes most sense when coupled with track_vars - in which
359 ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
362 ; You should do your best to write your scripts so that they do not require
363 ; register_globals to be on; Using form variables as globals can easily lead
364 ; to possible security problems, if the code is not very well thought of.
365 register_globals = Off
367 ; This directive tells PHP whether to declare the argv&argc variables (that
368 ; would contain the GET information). If you don't use these variables, you
369 ; should turn it off for increased performance.
370 register_argc_argv = On
372 ; Maximum size of POST data that PHP will accept.
375 ; This directive is deprecated. Use variables_order instead.
381 ; Magic quotes for incoming GET/POST/Cookie data.
382 magic_quotes_gpc = On
384 ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
385 magic_quotes_runtime = Off
387 ; Use Sybase-style magic quotes (escape ' with '' instead of \').
388 magic_quotes_sybase = Off
390 ; Automatically add files before or after any PHP document.
394 ; As of 4.0b4, PHP always outputs a character encoding by default in
395 ; the Content-type: header. To disable sending of the charset, simply
396 ; set it to be empty.
398 ; PHP's built-in default is text/html
399 default_mimetype = "text/html"
400 ;default_charset = "iso-8859-1"
402 ; Always populate the $HTTP_RAW_POST_DATA variable.
403 ;always_populate_raw_post_data = On
406 ;;;;;;;;;;;;;;;;;;;;;;;;;
407 ; Paths and Directories ;
408 ;;;;;;;;;;;;;;;;;;;;;;;;;
410 ; UNIX: "/path1:/path2"
411 ;include_path = ".:/usr/share/php"
413 ; Windows: "\path1;\path2"
414 ;include_path = ".;c:\php\includes"
416 ; The root of the PHP pages, used only if nonempty.
417 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
418 ; if you are running php as a CGI under any web server (other than IIS)
419 ; see documentation for security issues. The alternate is to use the
420 ; cgi.force_redirect configuration below
423 ; The directory under which PHP opens the script using /~username used only
427 ; Directory in which the loadable extensions (modules) reside.
428 ; extension_dir = "./"
430 ; Whether or not to enable the dl() function. The dl() function does NOT work
431 ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
435 ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
436 ; most web servers. Left undefined, PHP turns this on by default. You can
437 ; turn it off here AT YOUR OWN RISK
438 ; **You CAN safely turn this off for IIS, in fact, you MUST.**
439 ; cgi.force_redirect = 1
441 ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
445 ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
446 ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
447 ; will look for to know it is OK to continue execution. Setting this variable MAY
448 ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
449 ; cgi.redirect_status_env = ;
451 ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
452 ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
453 ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
454 ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
455 ; of zero causes PHP to behave as before. Default is zero. You should fix your scripts
456 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
459 ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
460 ; security tokens of the calling client. This allows IIS to define the
461 ; security context that the request runs under. mod_fastcgi under Apache
462 ; does not currently support this feature (03/17/2002)
463 ; Set to 1 if running under IIS. Default is zero.
464 ; fastcgi.impersonate = 1;
466 ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
467 ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
468 ; is supported by Apache. When this option is set to 1 PHP will send
469 ; RFC2616 compliant header.
471 ;cgi.rfc2616_headers = 0
478 ; Whether to allow HTTP file uploads.
481 ; Temporary directory for HTTP uploaded files (will use system default if not
485 ; Maximum allowed size for uploaded files.
486 upload_max_filesize = 2M
493 ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
496 ; Define the anonymous ftp password (your email address)
499 ; Define the User-Agent string
502 ; Default timeout for socket based streams (seconds)
503 default_socket_timeout = 60
505 ; If your scripts have to deal with files from Macintosh systems,
506 ; or you are running on a Mac and need to deal with files from
507 ; unix or win32 systems, setting this flag will cause PHP to
508 ; automatically detect the EOL character in those files so that
509 ; fgets() and file() will work regardless of the source of the file.
510 ; auto_detect_line_endings = Off
513 ;;;;;;;;;;;;;;;;;;;;;;
514 ; Dynamic Extensions ;
515 ;;;;;;;;;;;;;;;;;;;;;;
517 ; If you wish to have an extension loaded automatically, use the following
520 ; extension=modulename.extension
522 ; For example, on Windows:
530 ; Note that it should be the name of the module only; no directory information
531 ; needs to go here. Specify the location of the extension with the
532 ; extension_dir directive above.
545 ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
546 ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
547 ; runtime, you can define these variables by calling define_syslog_variables().
548 define_syslog_variables = Off
556 ;sendmail_from = me@example.com
558 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
562 ;java.class.path = .\php_java.jar
564 ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
565 ;java.library.path = .\
571 ;odbc.default_db = Not yet implemented
572 ;odbc.default_user = Not yet implemented
573 ;odbc.default_pw = Not yet implemented
575 ; Allow or prevent persistent links.
576 odbc.allow_persistent = On
578 ; Check that a connection is still valid before reuse.
579 odbc.check_persistent = On
581 ; Maximum number of persistent links. -1 means no limit.
582 odbc.max_persistent = -1
584 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
587 ; Handling of LONG fields. Returns number of bytes to variables. 0 means
589 odbc.defaultlrl = 4096
591 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
592 ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
593 ; of uodbc.defaultlrl and uodbc.defaultbinmode
594 odbc.defaultbinmode = 1
597 ; Allow or prevent persistent links.
598 mysql.allow_persistent = On
600 ; Maximum number of persistent links. -1 means no limit.
601 mysql.max_persistent = -1
603 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
606 ; Default port number for mysql_connect(). If unset, mysql_connect() will use
607 ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
608 ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
612 ; Default socket name for local MySQL connects. If empty, uses the built-in
614 mysql.default_socket =
616 ; Default host for mysql_connect() (doesn't apply in safe mode).
619 ; Default user for mysql_connect() (doesn't apply in safe mode).
622 ; Default password for mysql_connect() (doesn't apply in safe mode).
623 ; Note that this is generally a *bad* idea to store passwords in this file.
624 ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
625 ; and reveal this password! And of course, any users with read access to this
626 ; file will be able to reveal the password as well.
627 mysql.default_password =
629 ; Maximum time (in seconds) for connect timeout. -1 means no limit
630 mysql.connect_timeout = 60
632 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
633 ; SQL-Errors will be displayed.
634 mysql.trace_mode = Off
637 ; Allow or prevent persistent links.
638 msql.allow_persistent = On
640 ; Maximum number of persistent links. -1 means no limit.
641 msql.max_persistent = -1
643 ; Maximum number of links (persistent+non persistent). -1 means no limit.
647 ; Allow or prevent persistent links.
648 pgsql.allow_persistent = On
650 ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
651 pgsql.auto_reset_persistent = Off
653 ; Maximum number of persistent links. -1 means no limit.
654 pgsql.max_persistent = -1
656 ; Maximum number of links (persistent+non persistent). -1 means no limit.
659 ; Ignore PostgreSQL backends Notice message or not.
660 pgsql.ignore_notice = 0
662 ; Log PostgreSQL backends Noitce message or not.
663 ; Unless pgsql.ignore_notice=0, module cannot log notice message.
667 ; Allow or prevent persistent links.
668 sybase.allow_persistent = On
670 ; Maximum number of persistent links. -1 means no limit.
671 sybase.max_persistent = -1
673 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
674 sybase.max_links = -1
676 ;sybase.interface_file = "/usr/sybase/interfaces"
678 ; Minimum error severity to display.
679 sybase.min_error_severity = 10
681 ; Minimum message severity to display.
682 sybase.min_message_severity = 10
684 ; Compatability mode with old versions of PHP 3.0.
685 ; If on, this will cause PHP to automatically assign types to results according
686 ; to their Sybase type, instead of treating them all as strings. This
687 ; compatibility mode will probably not stay around forever, so try applying
688 ; whatever necessary changes to your code, and turn it off.
689 sybase.compatability_mode = Off
692 ; Allow or prevent persistent links.
693 sybct.allow_persistent = On
695 ; Maximum number of persistent links. -1 means no limit.
696 sybct.max_persistent = -1
698 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
701 ; Minimum server message severity to display.
702 sybct.min_server_severity = 10
704 ; Minimum client message severity to display.
705 sybct.min_client_severity = 10
708 ; returned column names can be converted for compatibility reasons
709 ; possible values for dbx.colnames_case are
710 ; "unchanged" (default, if not set)
713 ; the recommended default is either upper- or lowercase, but
714 ; unchanged is currently set for backwards compatibility
715 dbx.colnames_case = "unchanged"
718 ; Number of decimal digits for all bcmath functions.
722 ;browscap = extra/browscap.ini
725 ; Default host for ifx_connect() (doesn't apply in safe mode).
728 ; Default user for ifx_connect() (doesn't apply in safe mode).
731 ; Default password for ifx_connect() (doesn't apply in safe mode).
732 ifx.default_password =
734 ; Allow or prevent persistent links.
735 ifx.allow_persistent = On
737 ; Maximum number of persistent links. -1 means no limit.
738 ifx.max_persistent = -1
740 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
743 ; If on, select statements return the contents of a text blob instead of its id.
744 ifx.textasvarchar = 0
746 ; If on, select statements return the contents of a byte blob instead of its id.
747 ifx.byteasvarchar = 0
749 ; Trailing blanks are stripped from fixed-length char columns. May help the
750 ; life of Informix SE users.
751 ifx.charasvarchar = 0
753 ; If on, the contents of text and byte blobs are dumped to a file instead of
754 ; keeping them in memory.
757 ; NULL's are returned as empty strings, unless this is set to 1. In that case,
758 ; NULL's are returned as string 'NULL'.
762 ; Handler used to store/retrieve data.
763 session.save_handler = files
765 ; Argument passed to save_handler. In the case of files, this is the path
766 ; where data files are stored. Note: Windows users have to change this
767 ; variable in order to use PHP's session functions.
768 ; As of PHP 4.0.1, you can define the path as:
769 ; session.save_path = "N;/path"
770 ; where N is an integer. Instead of storing all the session files in
771 ; /path, what this will do is use subdirectories N-levels deep, and
772 ; store the session data in those directories. This is useful if you
773 ; or your OS have problems with lots of files in one directory, and is
774 ; a more efficient layout for servers that handle lots of sessions.
775 ; NOTE 1: PHP will not create this directory structure automatically.
776 ; You can use the script in the ext/session dir for that purpose.
777 ; NOTE 2: See the section on garbage collection below if you choose to
778 ; use subdirectories for session storage
779 ;session.save_path = /var/lib/php4
781 ; Whether to use cookies.
782 session.use_cookies = 1
784 ; This option enables administrators to make their users invulnerable to
785 ; attacks which involve passing session ids in URLs; defaults to 0.
786 ; session.use_only_cookies = 1
788 ; Name of the session (used as cookie name).
789 session.name = PHPSESSID
791 ; Initialize session on request startup.
792 session.auto_start = 0
794 ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
795 session.cookie_lifetime = 0
797 ; The path for which the cookie is valid.
798 session.cookie_path = /
800 ; The domain for which the cookie is valid.
801 session.cookie_domain =
803 ; Handler used to serialize data. php is the standard serializer of PHP.
804 session.serialize_handler = php
806 ; Define the probability that the 'garbage collection' process is started
807 ; on every session initialization.
808 ; The probability is calculated by using gc_probability/gc_divisor,
809 ; e.g. 1/100 means there is a 1% chance that the GC process starts
812 ; This is disabled in the Debian packages, due to the strict permissions
813 ; on /var/lib/php4. Instead of setting this here, see the cronjob at
814 ; /etc/cron.d/php4, which uses the session.gc_maxlifetime setting below
815 ;session.gc_probability = 0
816 session.gc_divisor = 100
818 ; After this number of seconds, stored data will be seen as 'garbage' and
819 ; cleaned up by the garbage collection process.
820 session.gc_maxlifetime = 1440
822 ; NOTE: If you are using the subdirectory option for storing session files
823 ; (see session.save_path above), then garbage collection does *not*
824 ; happen automatically. You will need to do your own garbage
825 ; collection through a shell script, cron entry, or some other method.
826 ; For example, the following script would is the equivalent of
827 ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
828 ; cd /path/to/sessions; find -cmin +24 | xargs rm
830 ; PHP 4.2 and less have an undocumented feature/bug that allows you to
831 ; to initialize a session variable in the global scope, albeit register_globals
832 ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
833 ; You can disable the feature and the warning separately. At this time,
834 ; the warning is only displayed, if bug_compat_42 is enabled.
836 session.bug_compat_42 = 1
837 session.bug_compat_warn = 1
839 ; Check HTTP Referer to invalidate externally stored URLs containing ids.
840 ; HTTP_REFERER has to contain this substring for the session to be
841 ; considered as valid.
842 session.referer_check =
844 ; How many bytes to read from the file.
845 session.entropy_length = 0
847 ; Specified here to create the session id.
848 session.entropy_file =
850 ;session.entropy_length = 16
852 ;session.entropy_file = /dev/urandom
854 ; Set to {nocache,private,public,} to determine HTTP caching aspects
855 ; or leave this empty to avoid sending anti-caching headers.
856 session.cache_limiter = nocache
858 ; Document expires after n minutes.
859 session.cache_expire = 180
861 ; trans sid support is disabled by default.
862 ; Use of trans sid may risk your users security.
863 ; Use this option with caution.
864 ; - User may send URL contains active session ID
865 ; to other person via. email/irc/etc.
866 ; - URL that contains active session ID may be stored
867 ; in publically accessible computer.
868 ; - User may access your site with the same session ID
869 ; always using URL stored in browser's history or bookmarks.
870 session.use_trans_sid = 0
872 ; The URL rewriter will look for URLs in a defined set of HTML tags.
873 ; form/fieldset are special; if you include them here, the rewriter will
874 ; add a hidden <input> field with the info which is otherwise appended
875 ; to URLs. If you want XHTML conformity, remove the form entry.
876 ; Note that all valid entries require a "=", even if no value follows.
877 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
880 ; Allow or prevent persistent links.
881 mssql.allow_persistent = On
883 ; Maximum number of persistent links. -1 means no limit.
884 mssql.max_persistent = -1
886 ; Maximum number of links (persistent+non persistent). -1 means no limit.
889 ; Minimum error severity to display.
890 mssql.min_error_severity = 10
892 ; Minimum message severity to display.
893 mssql.min_message_severity = 10
895 ; Compatability mode with old versions of PHP 3.0.
896 mssql.compatability_mode = Off
899 ;mssql.connect_timeout = 5
904 ; Valid range 0 - 2147483647. Default = 4096.
905 ;mssql.textlimit = 4096
907 ; Valid range 0 - 2147483647. Default = 4096.
908 ;mssql.textsize = 4096
910 ; Limits the number of records in each batch. 0 = all records in one batch.
913 ; Specify how datetime and datetim4 columns are returned
914 ; On => Returns data converted to SQL server settings
915 ; Off => Returns values as YYYY-MM-DD hh:mm:ss
916 ;mssql.datetimeconvert = On
918 ; Use NT authentication when connecting to the server
919 mssql.secure_connection = Off
921 ; Specify max number of processes. Default = 25
922 ;mssql.max_procs = 25
925 ; Assert(expr); active by default.
928 ; Issue a PHP warning for each failed assertion.
931 ; Don't bail out by default.
934 ; User-function to be called if an assertion fails.
937 ; Eval the expression with current error_reporting(). Set to true if you want
938 ; error_reporting(0) around the eval().
939 ;assert.quiet_eval = 0
942 ; Allow or prevent persistent links.
943 ingres.allow_persistent = On
945 ; Maximum number of persistent links. -1 means no limit.
946 ingres.max_persistent = -1
948 ; Maximum number of links, including persistents. -1 means no limit.
949 ingres.max_links = -1
951 ; Default database (format: [node_id::]dbname[/srv_class]).
952 ingres.default_database =
955 ingres.default_user =
958 ingres.default_password =
960 [Verisign Payflow Pro]
961 ; Default Payflow Pro server.
962 pfpro.defaulthost = "test-payflow.verisign.com"
964 ; Default port to connect to.
965 pfpro.defaultport = 443
967 ; Default timeout in seconds.
968 pfpro.defaulttimeout = 30
970 ; Default proxy IP address (if required).
971 ;pfpro.proxyaddress =
973 ; Default proxy port.
976 ; Default proxy logon.
979 ; Default proxy password.
980 ;pfpro.proxypassword =
983 ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
985 ; allow Distributed-COM calls
986 ;com.allow_dcom = true
987 ; autoregister constants of a components typlib on com_load()
988 ;com.autoregister_typelib = true
989 ; register constants casesensitive
990 ;com.autoregister_casesensitive = false
991 ; show warnings on duplicate constat registrations
992 ;com.autoregister_verbose = true
995 ;printer.default_printer = ""
998 ; language for internal character representation.
999 ;mbstring.language = Japanese
1001 ; internal/script encoding.
1002 ; Some encoding cannot work as internal encoding.
1003 ; (e.g. SJIS, BIG5, ISO-2022-*)
1004 ;mbstring.internal_encoding = EUC-JP
1006 ; http input encoding.
1007 ;mbstring.http_input = auto
1009 ; http output encoding. mb_output_handler must be
1010 ; registered as output buffer to function
1011 ;mbstring.http_output = SJIS
1013 ; enable automatic encoding translation accoding to
1014 ; mbstring.internal_encoding setting. Input chars are
1015 ; converted to internal encoding by setting this to On.
1016 ; Note: Do _not_ use automatic encoding translation for
1017 ; portable libs/applications.
1018 ;mbstring.encoding_translation = Off
1020 ; automatic encoding detection order.
1022 ;mbstring.detect_order = auto
1024 ; substitute_character used when character cannot be converted
1026 ;mbstring.substitute_character = none;
1028 ; overload(replace) single byte functions by mbstring functions.
1029 ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1030 ; etc. Possible values are 0,1,2,4 or combination of them.
1031 ; For example, 7 for overload everything.
1033 ; 1: Overload mail() function
1034 ; 2: Overload str*() functions
1035 ; 4: Overload ereg*() functions
1036 ;mbstring.func_overload = 0
1039 ;fbsql.allow_persistent = On
1040 ;fbsql.autocommit = On
1041 ;fbsql.default_database =
1042 ;fbsql.default_database_password =
1043 ;fbsql.default_host =
1044 ;fbsql.default_password =
1045 ;fbsql.default_user = "_SYSTEM"
1046 ;fbsql.generate_warnings = Off
1047 ;fbsql.max_connections = 128
1048 ;fbsql.max_links = 128
1049 ;fbsql.max_persistent = -1
1050 ;fbsql.max_results = 128
1051 ;fbsql.batchSize = 1000
1054 ; Modify the setting below to match the directory location of the cracklib
1055 ; dictionary files. Include the base filename, but not the file extension.
1056 ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
1059 ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1060 ; With mbstring support this will automatically be converted into the encoding
1061 ; given by corresponding encode setting. When empty mbstring.internal_encoding
1062 ; is used. For the decode settings you can distinguish between motorola and
1063 ; intel byte order. A decode setting cannot be empty.
1064 ;exif.encode_unicode = ISO-8859-15
1065 ;exif.decode_unicode_motorola = UCS-2BE
1066 ;exif.decode_unicode_intel = UCS-2LE
1068 ;exif.decode_jis_motorola = JIS
1069 ;exif.decode_jis_intel = JIS