Ticket #111: php.ini

File php.ini, 38.5 KB (added by kamikaze, 7 years ago)

php.ini

Line 
1[PHP]
2
3;;;;;;;;;;;
4; WARNING ;
5;;;;;;;;;;;
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.
12
13
14;;;;;;;;;;;;;;;;;;;
15; About this file ;
16;;;;;;;;;;;;;;;;;;;
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.
24;
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.
29;
30; Directives are specified using the following syntax:
31; directive = value
32; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
33;
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").
37;
38; Expressions in the INI file are limited to bitwise operators and parentheses:
39; |        bitwise OR
40; &        bitwise AND
41; ~        bitwise NOT
42; !        boolean NOT
43;
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.
46;
47; An empty string can be denoted by simply not writing anything after the equal
48; sign, or by using the None keyword:
49;
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'
53;
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.
57;
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).
61
62
63;;;;;;;;;;;;;;;;;;;;
64; Language Options ;
65;;;;;;;;;;;;;;;;;;;;
66
67; Enable the PHP scripting language engine under Apache.
68engine = On
69
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.
76short_open_tag = On
77
78; Allow ASP-style <% %> tags.
79asp_tags = Off
80
81; The number of significant digits displayed in floating point numbers.
82precision    =  12
83
84; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
85y2k_compliance = On
86
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).
94output_buffering = Off
95
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
103;       is doing.
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".
106;output_handler =
107
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.
117zlib.output_compression = Off
118
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
121; a different order.
122;zlib.output_handler =
123
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.
129implicit_flush = Off
130
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 instantiated.
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
137; callback-function.
138unserialize_callback_func=
139
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.
143serialize_precision = 100
144
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
153; reference).
154allow_call_time_pass_reference = Off
155
156; Safe Mode
157;
158safe_mode = Off
159
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.
163safe_mode_gid = Off
164
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)
169safe_mode_include_dir =                             
170
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.
173safe_mode_exec_dir =
174
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).
180;
181; Note:  If this directive is empty, PHP will let the user modify ANY
182; environment variable!
183safe_mode_allowed_env_vars = PHP_
184
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.
188safe_mode_protected_env_vars = LD_LIBRARY_PATH
189
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.
194;open_basedir =
195
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.
199disable_functions =
200
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.
204disable_classes =
205
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
214
215
216;
217; Misc
218;
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.
223expose_php = On
224
225
226;;;;;;;;;;;;;;;;;;;
227; Resource Limits ;
228;;;;;;;;;;;;;;;;;;;
229
230max_execution_time = 30     ; Maximum execution time of each script, in seconds
231max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
232memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
233
234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
235; Error handling and logging ;
236;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
237
238; error_reporting is a bit-field.  Or each number up to get desired error
239; reporting level
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
248;                     empty string)
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
251;                     initial startup
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
257;
258; Examples:
259;
260;   - Show all errors, except for notices
261;
262;error_reporting = E_ALL & ~E_NOTICE
263;
264;   - Show only errors
265;
266;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
267;
268;   - Show all errors except for notices
269;
270error_reporting  =  E_ALL & ~E_NOTICE
271
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.
277display_errors = On
278
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.
282display_startup_errors = On
283
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.
287log_errors = On
288
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.
291log_errors_max_len = 1024
292
293; Do not log repeated messages. Repeated errors must occur in same file on same
294; line until ignore_repeated_source is set true.
295ignore_repeated_errors = Off
296
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
299; sourcelines.
300ignore_repeated_source = Off
301
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
305report_memleaks = On
306
307; Store the last error/warning message in $php_errormsg (boolean).
308track_errors = Off
309
310; Disable the inclusion of HTML tags in error messages.
311html_errors = Off
312 
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
318; the dot.
319;docref_root = "/phpmanual/"
320;docref_ext = .html
321 
322; String to output before an error message.
323;error_prepend_string = "<font color=ff0000>"
324
325; String to output after an error message.
326;error_append_string = "</font>"
327
328; Log errors to specified file.
329;error_log = /var/log/php4.err
330
331; Log errors to syslog (Event Log on NT, not valid in Windows 95).
332error_log = syslog
333
334
335;;;;;;;;;;;;;;;;;
336; Data Handling ;
337;;;;;;;;;;;;;;;;;
338;
339; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
340
341; The separator used in PHP generated URLs to separate arguments.
342; Default is "&".
343;arg_separator.output = "&amp;"
344
345; List of separator(s) used by PHP to parse input URLs into variables.
346; Default is "&".
347; NOTE: Every character in this directive is considered as separator!
348;arg_separator.input = ";&"
349
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.
354variables_order = "EGPCS"
355
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[],
360; variables.
361;
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.
365register_globals = Off
366
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.
370register_argc_argv = On
371
372; Maximum size of POST data that PHP will accept.
373post_max_size = 8M
374
375; This directive is deprecated.  Use variables_order instead.
376gpc_order = "GPC"
377
378; Magic quotes
379;
380
381; Magic quotes for incoming GET/POST/Cookie data.
382magic_quotes_gpc = Off
383
384; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
385magic_quotes_runtime = Off   
386
387; Use Sybase-style magic quotes (escape ' with '' instead of \').
388magic_quotes_sybase = Off
389
390; Automatically add files before or after any PHP document.
391auto_prepend_file =
392auto_append_file =
393
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.
397;
398; PHP's built-in default is text/html
399default_mimetype = "text/html"
400;default_charset = "iso-8859-1"
401
402; Always populate the $HTTP_RAW_POST_DATA variable.
403;always_populate_raw_post_data = On
404
405
406;;;;;;;;;;;;;;;;;;;;;;;;;
407; Paths and Directories ;
408;;;;;;;;;;;;;;;;;;;;;;;;;
409
410; UNIX: "/path1:/path2" 
411include_path = ".:/usr/share/php4:/usr/share/php"
412;
413; Windows: "\path1;\path2"
414;include_path = ".;c:\php\includes"
415
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
421doc_root =
422
423; The directory under which PHP opens the script using /~username used only
424; if nonempty.
425user_dir =
426
427; Directory in which the loadable extensions (modules) reside.
428;extension_dir = /usr/lib64/php4/lib/php/extensions/no-debug-non-zts-20020429
429extension_dir = /usr/lib64/php4/lib/php/extensions/debug-non-zts-20020429
430
431; Whether or not to enable the dl() function.  The dl() function does NOT work
432; properly in multithreaded servers, such as IIS or Zeus, and is automatically
433; disabled on them.
434enable_dl = On
435
436; cgi.force_redirect is necessary to provide security running PHP as a CGI under
437; most web servers.  Left undefined, PHP turns this on by default.  You can
438; turn it off here AT YOUR OWN RISK
439; **You CAN safely turn this off for IIS, in fact, you MUST.**
440; cgi.force_redirect = 1
441
442; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
443; every request.
444; cgi.nph = 1
445
446; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
447; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
448; will look for to know it is OK to continue execution.  Setting this variable MAY
449; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
450; cgi.redirect_status_env = ;
451
452; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
453; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
454; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
455; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
456; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
457; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
458; cgi.fix_pathinfo=0
459
460; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
461; security tokens of the calling client.  This allows IIS to define the
462; security context that the request runs under.  mod_fastcgi under Apache
463; does not currently support this feature (03/17/2002)
464; Set to 1 if running under IIS.  Default is zero.
465; fastcgi.impersonate = 1;
466
467; Disable logging through FastCGI connection
468; fastcgi.log = 0
469
470; cgi.rfc2616_headers configuration option tells PHP what type of headers to
471; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
472; is supported by Apache. When this option is set to 1 PHP will send
473; RFC2616 compliant header.
474; Default is zero.
475;cgi.rfc2616_headers = 0
476 
477
478;;;;;;;;;;;;;;;;
479; File Uploads ;
480;;;;;;;;;;;;;;;;
481
482; Whether to allow HTTP file uploads.
483file_uploads = On
484
485; Temporary directory for HTTP uploaded files (will use system default if not
486; specified).
487;upload_tmp_dir =
488
489; Maximum allowed size for uploaded files.
490upload_max_filesize = 2M
491
492
493;;;;;;;;;;;;;;;;;;
494; Fopen wrappers ;
495;;;;;;;;;;;;;;;;;;
496
497; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
498allow_url_fopen = On
499
500; Define the anonymous ftp password (your email address)
501;from="john@doe.com"
502
503; Define the User-Agent string
504; user_agent="PHP"
505
506; Default timeout for socket based streams (seconds)
507default_socket_timeout = 60
508
509; If your scripts have to deal with files from Macintosh systems,
510; or you are running on a Mac and need to deal with files from
511; unix or win32 systems, setting this flag will cause PHP to
512; automatically detect the EOL character in those files so that
513; fgets() and file() will work regardless of the source of the file.
514; auto_detect_line_endings = Off
515
516
517;;;;;;;;;;;;;;;;;;;;;;
518; Dynamic Extensions ;
519;;;;;;;;;;;;;;;;;;;;;;
520;
521; If you wish to have an extension loaded automatically, use the following
522; syntax:
523;
524;   extension=modulename.extension
525;
526; For example, on Windows:
527;
528;   extension=msql.dll
529;
530; ... or under UNIX:
531;
532;   extension=msql.so
533;
534; Note that it should be the name of the module only; no directory information
535; needs to go here.  Specify the location of the extension with the
536; extension_dir directive above.
537
538
539;Windows Extensions
540;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
541;
542;extension=php_mbstring.dll
543;extension=php_bz2.dll
544;extension=php_cpdf.dll
545;extension=php_crack.dll
546;extension=php_curl.dll
547;extension=php_db.dll
548;extension=php_dba.dll
549;extension=php_dbase.dll
550;extension=php_dbx.dll
551;extension=php_domxml.dll
552;extension=php_exif.dll
553;extension=php_fdf.dll
554;extension=php_filepro.dll
555;extension=php_gd2.dll
556;extension=php_gettext.dll
557;extension=php_hyperwave.dll
558;extension=php_iconv.dll
559;extension=php_ifx.dll
560;extension=php_iisfunc.dll
561;extension=php_imap.dll
562;extension=php_interbase.dll
563;extension=php_java.dll
564;extension=php_ldap.dll
565;extension=php_mcrypt.dll
566;extension=php_mhash.dll
567;extension=php_mime_magic.dll
568;extension=php_ming.dll
569;extension=php_mssql.dll
570;extension=php_msql.dll
571;extension=php_oci8.dll
572;extension=php_openssl.dll
573;extension=php_oracle.dll
574;extension=php_pdf.dll
575;extension=php_pgsql.dll
576;extension=php_printer.dll
577;extension=php_shmop.dll
578;extension=php_snmp.dll
579;extension=php_sockets.dll
580;extension=php_sybase_ct.dll
581;extension=php_w32api.dll
582;extension=php_xmlrpc.dll
583;extension=php_xslt.dll
584;extension=php_yaz.dll
585;extension=php_zip.dll
586
587
588;;;;;;;;;;;;;;;;;;;
589; Module Settings ;
590;;;;;;;;;;;;;;;;;;;
591
592[Syslog]
593; Whether or not to define the various syslog variables (e.g. $LOG_PID,
594; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
595; runtime, you can define these variables by calling define_syslog_variables().
596define_syslog_variables  = Off
597
598[mail function]
599; For Win32 only.
600SMTP = localhost
601smtp_port = 25
602
603; For Win32 only.
604;sendmail_from = me@example.com
605
606; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
607;sendmail_path =
608
609[Java]
610;java.class.path = .\php_java.jar
611;java.home = c:\jdk
612;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
613;java.library.path = .\
614
615[SQL]
616sql.safe_mode = Off
617
618[ODBC]
619;odbc.default_db    =  Not yet implemented
620;odbc.default_user  =  Not yet implemented
621;odbc.default_pw    =  Not yet implemented
622
623; Allow or prevent persistent links.
624odbc.allow_persistent = On
625
626; Check that a connection is still valid before reuse.
627odbc.check_persistent = On
628
629; Maximum number of persistent links.  -1 means no limit.
630odbc.max_persistent = -1
631
632; Maximum number of links (persistent + non-persistent).  -1 means no limit.
633odbc.max_links = -1 
634
635; Handling of LONG fields.  Returns number of bytes to variables.  0 means
636; passthru.
637odbc.defaultlrl = 4096 
638
639; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
640; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
641; of uodbc.defaultlrl and uodbc.defaultbinmode
642odbc.defaultbinmode = 
643
644[MySQL]
645; Allow or prevent persistent links.
646mysql.allow_persistent = On
647
648; Maximum number of persistent links.  -1 means no limit.
649mysql.max_persistent = -1
650
651; Maximum number of links (persistent + non-persistent).  -1 means no limit.
652mysql.max_links = -1
653
654; Default port number for mysql_connect().  If unset, mysql_connect() will use
655; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
656; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
657; at MYSQL_PORT.
658mysql.default_port =
659
660; Default socket name for local MySQL connects.  If empty, uses the built-in
661; MySQL defaults.
662mysql.default_socket =
663
664; Default host for mysql_connect() (doesn't apply in safe mode).
665mysql.default_host =
666
667; Default user for mysql_connect() (doesn't apply in safe mode).
668mysql.default_user =
669
670; Default password for mysql_connect() (doesn't apply in safe mode).
671; Note that this is generally a *bad* idea to store passwords in this file.
672; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
673; and reveal this password!  And of course, any users with read access to this
674; file will be able to reveal the password as well.
675mysql.default_password =
676
677; Maximum time (in seconds) for connect timeout. -1 means no limit
678mysql.connect_timeout = 60
679
680; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
681; SQL-Errors will be displayed.
682mysql.trace_mode = Off
683
684[mSQL]
685; Allow or prevent persistent links.
686msql.allow_persistent = On
687
688; Maximum number of persistent links.  -1 means no limit.
689msql.max_persistent = -1
690
691; Maximum number of links (persistent+non persistent).  -1 means no limit.
692msql.max_links = -1
693
694[PostgresSQL]
695; Allow or prevent persistent links.
696pgsql.allow_persistent = On
697
698; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
699pgsql.auto_reset_persistent = Off
700
701; Maximum number of persistent links.  -1 means no limit.
702pgsql.max_persistent = -1
703
704; Maximum number of links (persistent+non persistent).  -1 means no limit.
705pgsql.max_links = -1
706
707; Ignore PostgreSQL backends Notice message or not.
708pgsql.ignore_notice = 0
709
710; Log PostgreSQL backends Noitce message or not.
711; Unless pgsql.ignore_notice=0, module cannot log notice message.
712pgsql.log_notice = 0
713
714[Sybase]
715; Allow or prevent persistent links.
716sybase.allow_persistent = On
717
718; Maximum number of persistent links.  -1 means no limit.
719sybase.max_persistent = -1
720
721; Maximum number of links (persistent + non-persistent).  -1 means no limit.
722sybase.max_links = -1
723
724;sybase.interface_file = "/usr/sybase/interfaces"
725
726; Minimum error severity to display.
727sybase.min_error_severity = 10
728
729; Minimum message severity to display.
730sybase.min_message_severity = 10
731
732; Compatability mode with old versions of PHP 3.0.
733; If on, this will cause PHP to automatically assign types to results according
734; to their Sybase type, instead of treating them all as strings.  This
735; compatibility mode will probably not stay around forever, so try applying
736; whatever necessary changes to your code, and turn it off.
737sybase.compatability_mode = Off
738
739[Sybase-CT]
740; Allow or prevent persistent links.
741sybct.allow_persistent = On
742
743; Maximum number of persistent links.  -1 means no limit.
744sybct.max_persistent = -1
745
746; Maximum number of links (persistent + non-persistent).  -1 means no limit.
747sybct.max_links = -1
748
749; Minimum server message severity to display.
750sybct.min_server_severity = 10
751
752; Minimum client message severity to display.
753sybct.min_client_severity = 10
754
755[dbx]
756; returned column names can be converted for compatibility reasons
757; possible values for dbx.colnames_case are
758; "unchanged" (default, if not set)
759; "lowercase"
760; "uppercase"
761; the recommended default is either upper- or lowercase, but
762; unchanged is currently set for backwards compatibility
763dbx.colnames_case = "unchanged"
764
765[bcmath]
766; Number of decimal digits for all bcmath functions.
767bcmath.scale = 0
768
769[browscap]
770;browscap = extra/browscap.ini
771
772[Informix]
773; Default host for ifx_connect() (doesn't apply in safe mode).
774ifx.default_host =
775
776; Default user for ifx_connect() (doesn't apply in safe mode).
777ifx.default_user =
778
779; Default password for ifx_connect() (doesn't apply in safe mode).
780ifx.default_password =
781
782; Allow or prevent persistent links.
783ifx.allow_persistent = On
784
785; Maximum number of persistent links.  -1 means no limit.
786ifx.max_persistent = -1
787
788; Maximum number of links (persistent + non-persistent).  -1 means no limit.
789ifx.max_links = -1
790
791; If on, select statements return the contents of a text blob instead of its id.
792ifx.textasvarchar = 0
793
794; If on, select statements return the contents of a byte blob instead of its id.
795ifx.byteasvarchar = 0
796
797; Trailing blanks are stripped from fixed-length char columns.  May help the
798; life of Informix SE users.
799ifx.charasvarchar = 0
800
801; If on, the contents of text and byte blobs are dumped to a file instead of
802; keeping them in memory.
803ifx.blobinfile = 0
804
805; NULL's are returned as empty strings, unless this is set to 1.  In that case,
806; NULL's are returned as string 'NULL'.
807ifx.nullformat = 0
808
809[Session]
810; Handler used to store/retrieve data.
811session.save_handler = files
812
813; Argument passed to save_handler.  In the case of files, this is the path
814; where data files are stored. Note: Windows users have to change this
815; variable in order to use PHP's session functions.
816; As of PHP 4.0.1, you can define the path as:
817;     session.save_path = "N;/path"
818; where N is an integer.  Instead of storing all the session files in
819; /path, what this will do is use subdirectories N-levels deep, and
820; store the session data in those directories.  This is useful if you
821; or your OS have problems with lots of files in one directory, and is
822; a more efficient layout for servers that handle lots of sessions.
823; NOTE 1: PHP will not create this directory structure automatically.
824;         You can use the script in the ext/session dir for that purpose.
825; NOTE 2: See the section on garbage collection below if you choose to
826;         use subdirectories for session storage
827;session.save_path = /tmp
828
829; Whether to use cookies.
830session.use_cookies = 1
831
832; This option enables administrators to make their users invulnerable to
833; attacks which involve passing session ids in URLs; defaults to 0.
834; session.use_only_cookies = 1
835
836; Name of the session (used as cookie name).
837session.name = PHPSESSID
838
839; Initialize session on request startup.
840session.auto_start = 0
841
842; Lifetime in seconds of cookie or, if 0, until browser is restarted.
843session.cookie_lifetime = 0
844
845; The path for which the cookie is valid.
846session.cookie_path = /
847
848; The domain for which the cookie is valid.
849session.cookie_domain =
850
851; Handler used to serialize data.  php is the standard serializer of PHP.
852session.serialize_handler = php
853
854; Define the probability that the 'garbage collection' process is started
855; on every session initialization.
856; The probability is calculated by using gc_probability/gc_divisor,
857; e.g. 1/100 means there is a 1% chance that the GC process starts
858; on each request.
859
860session.gc_probability = 1
861session.gc_divisor     = 100
862
863; After this number of seconds, stored data will be seen as 'garbage' and
864; cleaned up by the garbage collection process.
865session.gc_maxlifetime = 1440
866
867; NOTE: If you are using the subdirectory option for storing session files
868;       (see session.save_path above), then garbage collection does *not*
869;       happen automatically.  You will need to do your own garbage
870;       collection through a shell script, cron entry, or some other method.
871;       For example, the following script would is the equivalent of
872;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
873;          cd /path/to/sessions; find -cmin +24 | xargs rm
874
875; PHP 4.2 and less have an undocumented feature/bug that allows you to
876; to initialize a session variable in the global scope, albeit register_globals
877; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
878; You can disable the feature and the warning separately. At this time,
879; the warning is only displayed, if bug_compat_42 is enabled.
880
881session.bug_compat_42 = 0
882session.bug_compat_warn = 1
883
884; Check HTTP Referer to invalidate externally stored URLs containing ids.
885; HTTP_REFERER has to contain this substring for the session to be
886; considered as valid.
887session.referer_check =
888
889; How many bytes to read from the file.
890session.entropy_length = 0
891
892; Specified here to create the session id.
893session.entropy_file =
894
895;session.entropy_length = 16
896
897;session.entropy_file = /dev/urandom
898
899; Set to {nocache,private,public,} to determine HTTP caching aspects
900; or leave this empty to avoid sending anti-caching headers.
901session.cache_limiter = nocache
902
903; Document expires after n minutes.
904session.cache_expire = 180
905
906; trans sid support is disabled by default.
907; Use of trans sid may risk your users security.
908; Use this option with caution.
909; - User may send URL contains active session ID
910;   to other person via. email/irc/etc.
911; - URL that contains active session ID may be stored
912;   in publically accessible computer.
913; - User may access your site with the same session ID
914;   always using URL stored in browser's history or bookmarks.
915session.use_trans_sid = 0
916
917; The URL rewriter will look for URLs in a defined set of HTML tags.
918; form/fieldset are special; if you include them here, the rewriter will
919; add a hidden <input> field with the info which is otherwise appended
920; to URLs.  If you want XHTML conformity, remove the form entry.
921; Note that all valid entries require a "=", even if no value follows.
922url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
923
924[MSSQL]
925; Allow or prevent persistent links.
926mssql.allow_persistent = On
927
928; Maximum number of persistent links.  -1 means no limit.
929mssql.max_persistent = -1
930
931; Maximum number of links (persistent+non persistent).  -1 means no limit.
932mssql.max_links = -1
933
934; Minimum error severity to display.
935mssql.min_error_severity = 10
936
937; Minimum message severity to display.
938mssql.min_message_severity = 10
939
940; Compatability mode with old versions of PHP 3.0.
941mssql.compatability_mode = Off
942
943; Connect timeout
944;mssql.connect_timeout = 5
945
946; Query timeout
947;mssql.timeout = 60
948
949; Valid range 0 - 2147483647.  Default = 4096.
950;mssql.textlimit = 4096
951
952; Valid range 0 - 2147483647.  Default = 4096.
953;mssql.textsize = 4096
954
955; Limits the number of records in each batch.  0 = all records in one batch.
956;mssql.batchsize = 0
957
958; Specify how datetime and datetim4 columns are returned
959; On => Returns data converted to SQL server settings
960; Off => Returns values as YYYY-MM-DD hh:mm:ss
961;mssql.datetimeconvert = On
962
963; Use NT authentication when connecting to the server
964mssql.secure_connection = Off
965
966; Specify max number of processes. -1 = library default
967; msdlib defaults to 25
968; FreeTDS defaults to 4096
969;mssql.max_procs = -1
970
971[Assertion]
972; Assert(expr); active by default.
973;assert.active = On
974
975; Issue a PHP warning for each failed assertion.
976;assert.warning = On
977
978; Don't bail out by default.
979;assert.bail = Off
980
981; User-function to be called if an assertion fails.
982;assert.callback = 0
983
984; Eval the expression with current error_reporting().  Set to true if you want
985; error_reporting(0) around the eval().
986;assert.quiet_eval = 0
987
988[Ingres II]
989; Allow or prevent persistent links.
990ingres.allow_persistent = On
991
992; Maximum number of persistent links.  -1 means no limit.
993ingres.max_persistent = -1
994
995; Maximum number of links, including persistents.  -1 means no limit.
996ingres.max_links = -1
997
998; Default database (format: [node_id::]dbname[/srv_class]).
999ingres.default_database =
1000
1001; Default user.
1002ingres.default_user =
1003
1004; Default password.
1005ingres.default_password =
1006
1007[Verisign Payflow Pro]
1008; Default Payflow Pro server.
1009pfpro.defaulthost = "test-payflow.verisign.com"
1010
1011; Default port to connect to.
1012pfpro.defaultport = 443
1013
1014; Default timeout in seconds.
1015pfpro.defaulttimeout = 30
1016
1017; Default proxy IP address (if required).
1018;pfpro.proxyaddress =
1019
1020; Default proxy port.
1021;pfpro.proxyport =
1022
1023; Default proxy logon.
1024;pfpro.proxylogon =
1025
1026; Default proxy password.
1027;pfpro.proxypassword =
1028
1029[com]
1030; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1031;com.typelib_file =
1032; allow Distributed-COM calls
1033;com.allow_dcom = true
1034; autoregister constants of a components typlib on com_load()
1035;com.autoregister_typelib = true
1036; register constants casesensitive
1037;com.autoregister_casesensitive = false
1038; show warnings on duplicate constat registrations
1039;com.autoregister_verbose = true
1040
1041[Printer]
1042;printer.default_printer = ""
1043
1044[mbstring]
1045; language for internal character representation.
1046;mbstring.language = Japanese
1047
1048; internal/script encoding.
1049; Some encoding cannot work as internal encoding.
1050; (e.g. SJIS, BIG5, ISO-2022-*)
1051;mbstring.internal_encoding = EUC-JP
1052
1053; http input encoding.
1054;mbstring.http_input = auto
1055
1056; http output encoding. mb_output_handler must be
1057; registered as output buffer to function
1058;mbstring.http_output = SJIS
1059
1060; enable automatic encoding translation according to
1061; mbstring.internal_encoding setting. Input chars are
1062; converted to internal encoding by setting this to On.
1063; Note: Do _not_ use automatic encoding translation for
1064;       portable libs/applications.
1065;mbstring.encoding_translation = Off
1066
1067; automatic encoding detection order.
1068; auto means
1069;mbstring.detect_order = auto
1070
1071; substitute_character used when character cannot be converted
1072; one from another
1073;mbstring.substitute_character = none;
1074
1075; overload(replace) single byte functions by mbstring functions.
1076; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1077; etc. Possible values are 0,1,2,4 or combination of them.
1078; For example, 7 for overload everything.
1079; 0: No overload
1080; 1: Overload mail() function
1081; 2: Overload str*() functions
1082; 4: Overload ereg*() functions
1083;mbstring.func_overload = 0
1084
1085[FrontBase]
1086;fbsql.allow_persistent = On
1087;fbsql.autocommit = On
1088;fbsql.default_database =
1089;fbsql.default_database_password =
1090;fbsql.default_host =
1091;fbsql.default_password =
1092;fbsql.default_user = "_SYSTEM"
1093;fbsql.generate_warnings = Off
1094;fbsql.max_connections = 128
1095;fbsql.max_links = 128
1096;fbsql.max_persistent = -1
1097;fbsql.max_results = 128
1098;fbsql.batchSize = 1000
1099
1100[Crack]
1101; Modify the setting below to match the directory location of the cracklib
1102; dictionary files.  Include the base filename, but not the file extension.
1103; crack.default_dictionary = "c:\php\lib\cracklib_dict"
1104
1105[exif]
1106; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1107; With mbstring support this will automatically be converted into the encoding
1108; given by corresponding encode setting. When empty mbstring.internal_encoding
1109; is used. For the decode settings you can distinguish between motorola and
1110; intel byte order. A decode setting cannot be empty.
1111;exif.encode_unicode = ISO-8859-15
1112;exif.decode_unicode_motorola = UCS-2BE
1113;exif.decode_unicode_intel    = UCS-2LE
1114;exif.encode_jis =
1115;exif.decode_jis_motorola = JIS
1116;exif.decode_jis_intel    = JIS
1117
1118; Local Variables:
1119; tab-width: 4
1120; End:
1121
1122; MySQL extension default connection charset settings
1123;mysql.connect_charset = utf8
1124;zend_extension=/usr/lib64/php4/lib/php/extensions/no-debug-non-zts-20020429/xcache.so
1125zend_extension_debug=/usr/lib64/php4/lib/php/extensions/debug-non-zts-20020429/xcache.so
1126auto_globals_jit="0"
1127xcache.cacher="1"
1128xcache.size="10M"
1129xcache.count="2"
1130xcache.slots="8k"
1131xcache.var_size="0"
1132xcache.var_count="1"
1133xcache.readonly_protection="0"
1134xcache.mmap_path="/dev/zero"
1135xcache.stat="1"
1136xcache.optimizer="0"
1137xcache.coverager="0"
1138xcache.coveragedump_directory=""