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.
|
---|
68 | engine = 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.
|
---|
76 | short_open_tag = On
|
---|
77 |
|
---|
78 | ; Allow ASP-style <% %> tags.
|
---|
79 | asp_tags = Off
|
---|
80 |
|
---|
81 | ; The number of significant digits displayed in floating point numbers.
|
---|
82 | precision = 12
|
---|
83 |
|
---|
84 | ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
|
---|
85 | y2k_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).
|
---|
94 | output_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.
|
---|
117 | zlib.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.
|
---|
129 | implicit_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 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
|
---|
137 | ; callback-function.
|
---|
138 | unserialize_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.
|
---|
143 | serialize_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).
|
---|
154 | allow_call_time_pass_reference = On
|
---|
155 |
|
---|
156 | ; Safe Mode
|
---|
157 | ;
|
---|
158 | safe_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.
|
---|
163 | safe_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)
|
---|
169 | safe_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.
|
---|
173 | safe_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!
|
---|
183 | safe_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.
|
---|
188 | safe_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 = /var/www:/php_sessions:/home/expressolivre
|
---|
195 | open_basedir =
|
---|
196 |
|
---|
197 | ; This directive allows you to disable certain functions for security reasons.
|
---|
198 | ; It receives a comma-delimited list of function names. This directive is
|
---|
199 | ; *NOT* affected by whether Safe Mode is turned On or Off.
|
---|
200 | disable_functions =
|
---|
201 |
|
---|
202 | ; This directive allows you to disable certain classes for security reasons.
|
---|
203 | ; It receives a comma-delimited list of class names. This directive is
|
---|
204 | ; *NOT* affected by whether Safe Mode is turned On or Off.
|
---|
205 | disable_classes =
|
---|
206 |
|
---|
207 | ; Colors for Syntax Highlighting mode. Anything that's acceptable in
|
---|
208 | ; <font color="??????"> would work.
|
---|
209 | ;highlight.string = #DD0000
|
---|
210 | ;highlight.comment = #FF9900
|
---|
211 | ;highlight.keyword = #007700
|
---|
212 | ;highlight.bg = #FFFFFF
|
---|
213 | ;highlight.default = #0000BB
|
---|
214 | ;highlight.html = #000000
|
---|
215 |
|
---|
216 |
|
---|
217 | ;
|
---|
218 | ; Misc
|
---|
219 | ;
|
---|
220 | ; Decides whether PHP may expose the fact that it is installed on the server
|
---|
221 | ; (e.g. by adding its signature to the Web server header). It is no security
|
---|
222 | ; threat in any way, but it makes it possible to determine whether you use PHP
|
---|
223 | ; on your server or not.
|
---|
224 | expose_php = Off
|
---|
225 |
|
---|
226 |
|
---|
227 | ;;;;;;;;;;;;;;;;;;;
|
---|
228 | ; Resource Limits ;
|
---|
229 | ;;;;;;;;;;;;;;;;;;;
|
---|
230 |
|
---|
231 | max_execution_time = 120 ; Maximum execution time of each script, in seconds
|
---|
232 | max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
|
---|
233 | memory_limit = 96M ; Maximum amount of memory a script may consume (8MB)
|
---|
234 |
|
---|
235 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
---|
236 | ; Error handling and logging ;
|
---|
237 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
---|
238 |
|
---|
239 | ; error_reporting is a bit-field. Or each number up to get desired error
|
---|
240 | ; reporting level
|
---|
241 | ; E_ALL - All errors and warnings
|
---|
242 | ; E_ERROR - fatal run-time errors
|
---|
243 | ; E_WARNING - run-time warnings (non-fatal errors)
|
---|
244 | ; E_PARSE - compile-time parse errors
|
---|
245 | ; E_NOTICE - run-time notices (these are warnings which often result
|
---|
246 | ; from a bug in your code, but it's possible that it was
|
---|
247 | ; intentional (e.g., using an uninitialized variable and
|
---|
248 | ; relying on the fact it's automatically initialized to an
|
---|
249 | ; empty string)
|
---|
250 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
|
---|
251 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
|
---|
252 | ; initial startup
|
---|
253 | ; E_COMPILE_ERROR - fatal compile-time errors
|
---|
254 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
|
---|
255 | ; E_USER_ERROR - user-generated error message
|
---|
256 | ; E_USER_WARNING - user-generated warning message
|
---|
257 | ; E_USER_NOTICE - user-generated notice message
|
---|
258 | ;
|
---|
259 | ; Examples:
|
---|
260 | ;
|
---|
261 | ; - Show all errors, except for notices
|
---|
262 | ;
|
---|
263 | ;error_reporting = E_ALL & ~E_NOTICE
|
---|
264 | ;
|
---|
265 | ; - Show only errors
|
---|
266 | ;
|
---|
267 | ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
|
---|
268 | ;
|
---|
269 | ; - Show all errors except for notices
|
---|
270 | ;
|
---|
271 | error_reporting = E_ALL & ~E_NOTICE
|
---|
272 |
|
---|
273 | ; Print out errors (as a part of the output). For production web sites,
|
---|
274 | ; you're strongly encouraged to turn this feature off, and use error logging
|
---|
275 | ; instead (see below). Keeping display_errors enabled on a production web site
|
---|
276 | ; may reveal security information to end users, such as file paths on your Web
|
---|
277 | ; server, your database schema or other information.
|
---|
278 | display_errors = Off
|
---|
279 |
|
---|
280 | ; Even when display_errors is on, errors that occur during PHP's startup
|
---|
281 | ; sequence are not displayed. It's strongly recommended to keep
|
---|
282 | ; display_startup_errors off, except for when debugging.
|
---|
283 | display_startup_errors = Off
|
---|
284 |
|
---|
285 | ; Log errors into a log file (server-specific log, stderr, or error_log (below))
|
---|
286 | ; As stated above, you're strongly advised to use error logging in place of
|
---|
287 | ; error displaying on production web sites.
|
---|
288 | log_errors = On
|
---|
289 |
|
---|
290 | ; Set maximum length of log_errors. In error_log information about the source is
|
---|
291 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
|
---|
292 | log_errors_max_len = 1024
|
---|
293 |
|
---|
294 | ; Do not log repeated messages. Repeated errors must occur in same file on same
|
---|
295 | ; line until ignore_repeated_source is set true.
|
---|
296 | ignore_repeated_errors = On
|
---|
297 |
|
---|
298 | ; Ignore source of message when ignoring repeated messages. When this setting
|
---|
299 | ; is On you will not log errors with repeated messages from different files or
|
---|
300 | ; sourcelines.
|
---|
301 | ignore_repeated_source = Off
|
---|
302 |
|
---|
303 | ; If this parameter is set to Off, then memory leaks will not be shown (on
|
---|
304 | ; stdout or in the log). This has only effect in a debug compile, and if
|
---|
305 | ; error reporting includes E_WARNING in the allowed list
|
---|
306 | report_memleaks = On
|
---|
307 |
|
---|
308 | ; Store the last error/warning message in $php_errormsg (boolean).
|
---|
309 | track_errors = Off
|
---|
310 |
|
---|
311 | ; Disable the inclusion of HTML tags in error messages.
|
---|
312 | ;html_errors = Off
|
---|
313 |
|
---|
314 | ; If html_errors is set On PHP produces clickable error messages that direct
|
---|
315 | ; to a page describing the error or function causing the error in detail.
|
---|
316 | ; You can download a copy of the PHP manual from http://www.php.net/docs.php
|
---|
317 | ; and change docref_root to the base URL of your local copy including the
|
---|
318 | ; leading '/'. You must also specify the file extension being used including
|
---|
319 | ; the dot.
|
---|
320 | ;docref_root = "/phpmanual/"
|
---|
321 | ;docref_ext = .html
|
---|
322 |
|
---|
323 | ; String to output before an error message.
|
---|
324 | ;error_prepend_string = "<font color=ff0000>"
|
---|
325 |
|
---|
326 | ; String to output after an error message.
|
---|
327 | ;error_append_string = "</font>"
|
---|
328 |
|
---|
329 | ; Log errors to specified file.
|
---|
330 | error_log = /var/log/php_error.log
|
---|
331 |
|
---|
332 | ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
|
---|
333 | error_log = syslog
|
---|
334 |
|
---|
335 |
|
---|
336 | ;;;;;;;;;;;;;;;;;
|
---|
337 | ; Data Handling ;
|
---|
338 | ;;;;;;;;;;;;;;;;;
|
---|
339 | ;
|
---|
340 | ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
|
---|
341 |
|
---|
342 | ; The separator used in PHP generated URLs to separate arguments.
|
---|
343 | ; Default is "&".
|
---|
344 | ;arg_separator.output = "&"
|
---|
345 |
|
---|
346 | ; List of separator(s) used by PHP to parse input URLs into variables.
|
---|
347 | ; Default is "&".
|
---|
348 | ; NOTE: Every character in this directive is considered as separator!
|
---|
349 | ;arg_separator.input = ";&"
|
---|
350 |
|
---|
351 | ; This directive describes the order in which PHP registers GET, POST, Cookie,
|
---|
352 | ; Environment and Built-in variables (G, P, C, E & S respectively, often
|
---|
353 | ; referred to as EGPCS or GPC). Registration is done from left to right, newer
|
---|
354 | ; values override older values.
|
---|
355 | variables_order = "EGPCS"
|
---|
356 |
|
---|
357 | ; Whether or not to register the EGPCS variables as global variables. You may
|
---|
358 | ; want to turn this off if you don't want to clutter your scripts' global scope
|
---|
359 | ; with user data. This makes most sense when coupled with track_vars - in which
|
---|
360 | ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
|
---|
361 | ; variables.
|
---|
362 | ;
|
---|
363 | ; You should do your best to write your scripts so that they do not require
|
---|
364 | ; register_globals to be on; Using form variables as globals can easily lead
|
---|
365 | ; to possible security problems, if the code is not very well thought of.
|
---|
366 | register_globals = Off
|
---|
367 |
|
---|
368 | ; This directive tells PHP whether to declare the argv&argc variables (that
|
---|
369 | ; would contain the GET information). If you don't use these variables, you
|
---|
370 | ; should turn it off for increased performance.
|
---|
371 | register_argc_argv = On
|
---|
372 |
|
---|
373 | ; Maximum size of POST data that PHP will accept.
|
---|
374 | post_max_size = 21M
|
---|
375 |
|
---|
376 | ; This directive is deprecated. Use variables_order instead.
|
---|
377 | gpc_order = "GPC"
|
---|
378 |
|
---|
379 | ; Magic quotes
|
---|
380 | ;
|
---|
381 |
|
---|
382 | ; Magic quotes for incoming GET/POST/Cookie data.
|
---|
383 | magic_quotes_gpc = Off
|
---|
384 |
|
---|
385 | ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
|
---|
386 | magic_quotes_runtime = Off
|
---|
387 |
|
---|
388 | ; Use Sybase-style magic quotes (escape ' with '' instead of \').
|
---|
389 | magic_quotes_sybase = Off
|
---|
390 |
|
---|
391 | ; Automatically add files before or after any PHP document.
|
---|
392 | auto_prepend_file =
|
---|
393 | auto_append_file =
|
---|
394 |
|
---|
395 | ; As of 4.0b4, PHP always outputs a character encoding by default in
|
---|
396 | ; the Content-type: header. To disable sending of the charset, simply
|
---|
397 | ; set it to be empty.
|
---|
398 | ;
|
---|
399 | ; PHP's built-in default is text/html
|
---|
400 | default_mimetype = "text/html"
|
---|
401 | default_charset = "iso-8859-1"
|
---|
402 |
|
---|
403 | ; Always populate the $HTTP_RAW_POST_DATA variable.
|
---|
404 | ;always_populate_raw_post_data = On
|
---|
405 |
|
---|
406 |
|
---|
407 | ;;;;;;;;;;;;;;;;;;;;;;;;;
|
---|
408 | ; Paths and Directories ;
|
---|
409 | ;;;;;;;;;;;;;;;;;;;;;;;;;
|
---|
410 |
|
---|
411 | ; UNIX: "/path1:/path2"
|
---|
412 | ;include_path = ".:/usr/share/php"
|
---|
413 | ;
|
---|
414 | ; Windows: "\path1;\path2"
|
---|
415 | ;include_path = ".;c:\php\includes"
|
---|
416 |
|
---|
417 | ; The root of the PHP pages, used only if nonempty.
|
---|
418 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
---|
419 | ; if you are running php as a CGI under any web server (other than IIS)
|
---|
420 | ; see documentation for security issues. The alternate is to use the
|
---|
421 | ; cgi.force_redirect configuration below
|
---|
422 | doc_root =
|
---|
423 |
|
---|
424 | ; The directory under which PHP opens the script using /~username used only
|
---|
425 | ; if nonempty.
|
---|
426 | user_dir =
|
---|
427 |
|
---|
428 | ; Directory in which the loadable extensions (modules) reside.
|
---|
429 | ; extension_dir = "./"
|
---|
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.
|
---|
434 | enable_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 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
---|
468 | ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
|
---|
469 | ; is supported by Apache. When this option is set to 1 PHP will send
|
---|
470 | ; RFC2616 compliant header.
|
---|
471 | ; Default is zero.
|
---|
472 | ;cgi.rfc2616_headers = 0
|
---|
473 |
|
---|
474 |
|
---|
475 | ;;;;;;;;;;;;;;;;
|
---|
476 | ; File Uploads ;
|
---|
477 | ;;;;;;;;;;;;;;;;
|
---|
478 |
|
---|
479 | ; Whether to allow HTTP file uploads.
|
---|
480 | file_uploads = On
|
---|
481 |
|
---|
482 | ; Temporary directory for HTTP uploaded files (will use system default if not
|
---|
483 | ; specified).
|
---|
484 | ;upload_tmp_dir =
|
---|
485 |
|
---|
486 | ; Maximum allowed size for uploaded files.
|
---|
487 | upload_max_filesize = 20M
|
---|
488 |
|
---|
489 |
|
---|
490 | ;;;;;;;;;;;;;;;;;;
|
---|
491 | ; Fopen wrappers ;
|
---|
492 | ;;;;;;;;;;;;;;;;;;
|
---|
493 |
|
---|
494 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
---|
495 | allow_url_fopen = On
|
---|
496 |
|
---|
497 | ; Define the anonymous ftp password (your email address)
|
---|
498 | ;from="john@doe.com"
|
---|
499 |
|
---|
500 | ; Define the User-Agent string
|
---|
501 | ; user_agent="PHP"
|
---|
502 |
|
---|
503 | ; Default timeout for socket based streams (seconds)
|
---|
504 | default_socket_timeout = 60
|
---|
505 |
|
---|
506 | ; If your scripts have to deal with files from Macintosh systems,
|
---|
507 | ; or you are running on a Mac and need to deal with files from
|
---|
508 | ; unix or win32 systems, setting this flag will cause PHP to
|
---|
509 | ; automatically detect the EOL character in those files so that
|
---|
510 | ; fgets() and file() will work regardless of the source of the file.
|
---|
511 | ; auto_detect_line_endings = Off
|
---|
512 |
|
---|
513 |
|
---|
514 | ;;;;;;;;;;;;;;;;;;;;;;
|
---|
515 | ; Dynamic Extensions ;
|
---|
516 | ;;;;;;;;;;;;;;;;;;;;;;
|
---|
517 | ;
|
---|
518 | ; If you wish to have an extension loaded automatically, use the following
|
---|
519 | ; syntax:
|
---|
520 | ;
|
---|
521 | ; extension=modulename.extension
|
---|
522 | ;
|
---|
523 | ; For example, on Windows:
|
---|
524 | ;
|
---|
525 | ; extension=msql.dll
|
---|
526 | ;
|
---|
527 | ; ... or under UNIX:
|
---|
528 | ;
|
---|
529 | ; extension=msql.so
|
---|
530 | ;
|
---|
531 | ; Note that it should be the name of the module only; no directory information
|
---|
532 | ; needs to go here. Specify the location of the extension with the
|
---|
533 | ; extension_dir directive above.
|
---|
534 |
|
---|
535 | ; Example lines:
|
---|
536 |
|
---|
537 | ;extension=mysql.so
|
---|
538 | ;extension=gd.so
|
---|
539 |
|
---|
540 |
|
---|
541 | ;;;;;;;;;;;;;;;;;;;
|
---|
542 | ; Module Settings ;
|
---|
543 | ;;;;;;;;;;;;;;;;;;;
|
---|
544 |
|
---|
545 | [Syslog]
|
---|
546 | ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
|
---|
547 | ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
|
---|
548 | ; runtime, you can define these variables by calling define_syslog_variables().
|
---|
549 | define_syslog_variables = Off
|
---|
550 |
|
---|
551 | [mail function]
|
---|
552 | ; For Win32 only.
|
---|
553 | SMTP = localhost
|
---|
554 | smtp_port = 25
|
---|
555 |
|
---|
556 | ; For Win32 only.
|
---|
557 | ;sendmail_from = me@example.com
|
---|
558 |
|
---|
559 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
|
---|
560 | ;sendmail_path =
|
---|
561 |
|
---|
562 | [Java]
|
---|
563 | ;java.class.path = .\php_java.jar
|
---|
564 | ;java.home = c:\jdk
|
---|
565 | ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
|
---|
566 | ;java.library.path = .\
|
---|
567 |
|
---|
568 | [SQL]
|
---|
569 | sql.safe_mode = Off
|
---|
570 |
|
---|
571 | [ODBC]
|
---|
572 | ;odbc.default_db = Not yet implemented
|
---|
573 | ;odbc.default_user = Not yet implemented
|
---|
574 | ;odbc.default_pw = Not yet implemented
|
---|
575 |
|
---|
576 | ; Allow or prevent persistent links.
|
---|
577 | odbc.allow_persistent = On
|
---|
578 |
|
---|
579 | ; Check that a connection is still valid before reuse.
|
---|
580 | odbc.check_persistent = On
|
---|
581 |
|
---|
582 | ; Maximum number of persistent links. -1 means no limit.
|
---|
583 | odbc.max_persistent = -1
|
---|
584 |
|
---|
585 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
---|
586 | odbc.max_links = -1
|
---|
587 |
|
---|
588 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means
|
---|
589 | ; passthru.
|
---|
590 | odbc.defaultlrl = 4096
|
---|
591 |
|
---|
592 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
|
---|
593 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
|
---|
594 | ; of uodbc.defaultlrl and uodbc.defaultbinmode
|
---|
595 | odbc.defaultbinmode = 1
|
---|
596 |
|
---|
597 | [MySQL]
|
---|
598 | ; Allow or prevent persistent links.
|
---|
599 | mysql.allow_persistent = On
|
---|
600 |
|
---|
601 | ; Maximum number of persistent links. -1 means no limit.
|
---|
602 | mysql.max_persistent = -1
|
---|
603 |
|
---|
604 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
---|
605 | mysql.max_links = -1
|
---|
606 |
|
---|
607 | ; Default port number for mysql_connect(). If unset, mysql_connect() will use
|
---|
608 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
---|
609 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
---|
610 | ; at MYSQL_PORT.
|
---|
611 | mysql.default_port =
|
---|
612 |
|
---|
613 | ; Default socket name for local MySQL connects. If empty, uses the built-in
|
---|
614 | ; MySQL defaults.
|
---|
615 | mysql.default_socket =
|
---|
616 |
|
---|
617 | ; Default host for mysql_connect() (doesn't apply in safe mode).
|
---|
618 | mysql.default_host =
|
---|
619 |
|
---|
620 | ; Default user for mysql_connect() (doesn't apply in safe mode).
|
---|
621 | mysql.default_user =
|
---|
622 |
|
---|
623 | ; Default password for mysql_connect() (doesn't apply in safe mode).
|
---|
624 | ; Note that this is generally a *bad* idea to store passwords in this file.
|
---|
625 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
|
---|
626 | ; and reveal this password! And of course, any users with read access to this
|
---|
627 | ; file will be able to reveal the password as well.
|
---|
628 | mysql.default_password =
|
---|
629 |
|
---|
630 | ; Maximum time (in seconds) for connect timeout. -1 means no limit
|
---|
631 | mysql.connect_timeout = 60
|
---|
632 |
|
---|
633 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
|
---|
634 | ; SQL-Errors will be displayed.
|
---|
635 | mysql.trace_mode = Off
|
---|
636 |
|
---|
637 | [mSQL]
|
---|
638 | ; Allow or prevent persistent links.
|
---|
639 | msql.allow_persistent = On
|
---|
640 |
|
---|
641 | ; Maximum number of persistent links. -1 means no limit.
|
---|
642 | msql.max_persistent = -1
|
---|
643 |
|
---|
644 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
|
---|
645 | msql.max_links = -1
|
---|
646 |
|
---|
647 | [PostgresSQL]
|
---|
648 | ; Allow or prevent persistent links.
|
---|
649 | pgsql.allow_persistent = On
|
---|
650 |
|
---|
651 | ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
|
---|
652 | pgsql.auto_reset_persistent = Off
|
---|
653 |
|
---|
654 | ; Maximum number of persistent links. -1 means no limit.
|
---|
655 | pgsql.max_persistent = 200
|
---|
656 |
|
---|
657 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
|
---|
658 | pgsql.max_links = 200
|
---|
659 |
|
---|
660 | ; Ignore PostgreSQL backends Notice message or not.
|
---|
661 | pgsql.ignore_notice = 0
|
---|
662 |
|
---|
663 | ; Log PostgreSQL backends Noitce message or not.
|
---|
664 | ; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
---|
665 | pgsql.log_notice = 0
|
---|
666 |
|
---|
667 | [Sybase]
|
---|
668 | ; Allow or prevent persistent links.
|
---|
669 | sybase.allow_persistent = On
|
---|
670 |
|
---|
671 | ; Maximum number of persistent links. -1 means no limit.
|
---|
672 | sybase.max_persistent = -1
|
---|
673 |
|
---|
674 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
---|
675 | sybase.max_links = -1
|
---|
676 |
|
---|
677 | ;sybase.interface_file = "/usr/sybase/interfaces"
|
---|
678 |
|
---|
679 | ; Minimum error severity to display.
|
---|
680 | sybase.min_error_severity = 10
|
---|
681 |
|
---|
682 | ; Minimum message severity to display.
|
---|
683 | sybase.min_message_severity = 10
|
---|
684 |
|
---|
685 | ; Compatability mode with old versions of PHP 3.0.
|
---|
686 | ; If on, this will cause PHP to automatically assign types to results according
|
---|
687 | ; to their Sybase type, instead of treating them all as strings. This
|
---|
688 | ; compatibility mode will probably not stay around forever, so try applying
|
---|
689 | ; whatever necessary changes to your code, and turn it off.
|
---|
690 | sybase.compatability_mode = Off
|
---|
691 |
|
---|
692 | [Sybase-CT]
|
---|
693 | ; Allow or prevent persistent links.
|
---|
694 | sybct.allow_persistent = On
|
---|
695 |
|
---|
696 | ; Maximum number of persistent links. -1 means no limit.
|
---|
697 | sybct.max_persistent = -1
|
---|
698 |
|
---|
699 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
---|
700 | sybct.max_links = -1
|
---|
701 |
|
---|
702 | ; Minimum server message severity to display.
|
---|
703 | sybct.min_server_severity = 10
|
---|
704 |
|
---|
705 | ; Minimum client message severity to display.
|
---|
706 | sybct.min_client_severity = 10
|
---|
707 |
|
---|
708 | [dbx]
|
---|
709 | ; returned column names can be converted for compatibility reasons
|
---|
710 | ; possible values for dbx.colnames_case are
|
---|
711 | ; "unchanged" (default, if not set)
|
---|
712 | ; "lowercase"
|
---|
713 | ; "uppercase"
|
---|
714 | ; the recommended default is either upper- or lowercase, but
|
---|
715 | ; unchanged is currently set for backwards compatibility
|
---|
716 | dbx.colnames_case = "unchanged"
|
---|
717 |
|
---|
718 | [bcmath]
|
---|
719 | ; Number of decimal digits for all bcmath functions.
|
---|
720 | bcmath.scale = 0
|
---|
721 |
|
---|
722 | [browscap]
|
---|
723 | ;browscap = extra/browscap.ini
|
---|
724 |
|
---|
725 | [Informix]
|
---|
726 | ; Default host for ifx_connect() (doesn't apply in safe mode).
|
---|
727 | ifx.default_host =
|
---|
728 |
|
---|
729 | ; Default user for ifx_connect() (doesn't apply in safe mode).
|
---|
730 | ifx.default_user =
|
---|
731 |
|
---|
732 | ; Default password for ifx_connect() (doesn't apply in safe mode).
|
---|
733 | ifx.default_password =
|
---|
734 |
|
---|
735 | ; Allow or prevent persistent links.
|
---|
736 | ifx.allow_persistent = On
|
---|
737 |
|
---|
738 | ; Maximum number of persistent links. -1 means no limit.
|
---|
739 | ifx.max_persistent = -1
|
---|
740 |
|
---|
741 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
---|
742 | ifx.max_links = -1
|
---|
743 |
|
---|
744 | ; If on, select statements return the contents of a text blob instead of its id.
|
---|
745 | ifx.textasvarchar = 0
|
---|
746 |
|
---|
747 | ; If on, select statements return the contents of a byte blob instead of its id.
|
---|
748 | ifx.byteasvarchar = 0
|
---|
749 |
|
---|
750 | ; Trailing blanks are stripped from fixed-length char columns. May help the
|
---|
751 | ; life of Informix SE users.
|
---|
752 | ifx.charasvarchar = 0
|
---|
753 |
|
---|
754 | ; If on, the contents of text and byte blobs are dumped to a file instead of
|
---|
755 | ; keeping them in memory.
|
---|
756 | ifx.blobinfile = 0
|
---|
757 |
|
---|
758 | ; NULL's are returned as empty strings, unless this is set to 1. In that case,
|
---|
759 | ; NULL's are returned as string 'NULL'.
|
---|
760 | ifx.nullformat = 0
|
---|
761 |
|
---|
762 | [Session]
|
---|
763 | ; Handler used to store/retrieve data.
|
---|
764 | session.save_handler = files
|
---|
765 |
|
---|
766 | ; Argument passed to save_handler. In the case of files, this is the path
|
---|
767 | ; where data files are stored. Note: Windows users have to change this
|
---|
768 | ; variable in order to use PHP's session functions.
|
---|
769 | ; As of PHP 4.0.1, you can define the path as:
|
---|
770 | ; session.save_path = "N;/path"
|
---|
771 | ; where N is an integer. Instead of storing all the session files in
|
---|
772 | ; /path, what this will do is use subdirectories N-levels deep, and
|
---|
773 | ; store the session data in those directories. This is useful if you
|
---|
774 | ; or your OS have problems with lots of files in one directory, and is
|
---|
775 | ; a more efficient layout for servers that handle lots of sessions.
|
---|
776 | ; NOTE 1: PHP will not create this directory structure automatically.
|
---|
777 | ; You can use the script in the ext/session dir for that purpose.
|
---|
778 | ; NOTE 2: See the section on garbage collection below if you choose to
|
---|
779 | ; use subdirectories for session storage
|
---|
780 | session.save_path = /php_sessions/
|
---|
781 |
|
---|
782 | ; Whether to use cookies.
|
---|
783 | session.use_cookies = 1
|
---|
784 |
|
---|
785 | ; This option enables administrators to make their users invulnerable to
|
---|
786 | ; attacks which involve passing session ids in URLs; defaults to 0.
|
---|
787 | ; session.use_only_cookies = 1
|
---|
788 |
|
---|
789 | ; Name of the session (used as cookie name).
|
---|
790 | session.name = PHPSESSID
|
---|
791 |
|
---|
792 | ; Initialize session on request startup.
|
---|
793 | session.auto_start = 1
|
---|
794 |
|
---|
795 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
|
---|
796 | session.cookie_lifetime = 0
|
---|
797 |
|
---|
798 | ; The path for which the cookie is valid.
|
---|
799 | session.cookie_path = /
|
---|
800 |
|
---|
801 | ; The domain for which the cookie is valid.
|
---|
802 | session.cookie_domain =
|
---|
803 |
|
---|
804 | ; Handler used to serialize data. php is the standard serializer of PHP.
|
---|
805 | session.serialize_handler = php
|
---|
806 |
|
---|
807 | ; Define the probability that the 'garbage collection' process is started
|
---|
808 | ; on every session initialization.
|
---|
809 | ; The probability is calculated by using gc_probability/gc_divisor,
|
---|
810 | ; e.g. 1/100 means there is a 1% chance that the GC process starts
|
---|
811 | ; on each request.
|
---|
812 |
|
---|
813 | ; This is disabled in the Debian packages, due to the strict permissions
|
---|
814 | ; on /var/lib/php4. Instead of setting this here, see the cronjob at
|
---|
815 | ; /etc/cron.d/php4, which uses the session.gc_maxlifetime setting below
|
---|
816 | session.gc_probability = 1
|
---|
817 | session.gc_divisor = 100
|
---|
818 |
|
---|
819 | ; After this number of seconds, stored data will be seen as 'garbage' and
|
---|
820 | ; cleaned up by the garbage collection process.
|
---|
821 | session.gc_maxlifetime = 1440
|
---|
822 |
|
---|
823 | ; NOTE: If you are using the subdirectory option for storing session files
|
---|
824 | ; (see session.save_path above), then garbage collection does *not*
|
---|
825 | ; happen automatically. You will need to do your own garbage
|
---|
826 | ; collection through a shell script, cron entry, or some other method.
|
---|
827 | ; For example, the following script would is the equivalent of
|
---|
828 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
|
---|
829 | ; cd /path/to/sessions; find -cmin +24 | xargs rm
|
---|
830 |
|
---|
831 | ; PHP 4.2 and less have an undocumented feature/bug that allows you to
|
---|
832 | ; to initialize a session variable in the global scope, albeit register_globals
|
---|
833 | ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
|
---|
834 | ; You can disable the feature and the warning separately. At this time,
|
---|
835 | ; the warning is only displayed, if bug_compat_42 is enabled.
|
---|
836 |
|
---|
837 | session.bug_compat_42 = 1
|
---|
838 | session.bug_compat_warn = 1
|
---|
839 |
|
---|
840 | ; Check HTTP Referer to invalidate externally stored URLs containing ids.
|
---|
841 | ; HTTP_REFERER has to contain this substring for the session to be
|
---|
842 | ; considered as valid.
|
---|
843 | session.referer_check =
|
---|
844 |
|
---|
845 | ; How many bytes to read from the file.
|
---|
846 | session.entropy_length = 0
|
---|
847 |
|
---|
848 | ; Specified here to create the session id.
|
---|
849 | session.entropy_file =
|
---|
850 |
|
---|
851 | ;session.entropy_length = 16
|
---|
852 |
|
---|
853 | ;session.entropy_file = /dev/urandom
|
---|
854 |
|
---|
855 | ; Set to {nocache,private,public,} to determine HTTP caching aspects
|
---|
856 | ; or leave this empty to avoid sending anti-caching headers.
|
---|
857 | session.cache_limiter = nocache
|
---|
858 |
|
---|
859 | ; Document expires after n minutes.
|
---|
860 | session.cache_expire = 180
|
---|
861 |
|
---|
862 | ; trans sid support is disabled by default.
|
---|
863 | ; Use of trans sid may risk your users security.
|
---|
864 | ; Use this option with caution.
|
---|
865 | ; - User may send URL contains active session ID
|
---|
866 | ; to other person via. email/irc/etc.
|
---|
867 | ; - URL that contains active session ID may be stored
|
---|
868 | ; in publically accessible computer.
|
---|
869 | ; - User may access your site with the same session ID
|
---|
870 | ; always using URL stored in browser's history or bookmarks.
|
---|
871 | session.use_trans_sid = 0
|
---|
872 |
|
---|
873 | ; The URL rewriter will look for URLs in a defined set of HTML tags.
|
---|
874 | ; form/fieldset are special; if you include them here, the rewriter will
|
---|
875 | ; add a hidden <input> field with the info which is otherwise appended
|
---|
876 | ; to URLs. If you want XHTML conformity, remove the form entry.
|
---|
877 | ; Note that all valid entries require a "=", even if no value follows.
|
---|
878 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
|
---|
879 |
|
---|
880 | [MSSQL]
|
---|
881 | ; Allow or prevent persistent links.
|
---|
882 | mssql.allow_persistent = On
|
---|
883 |
|
---|
884 | ; Maximum number of persistent links. -1 means no limit.
|
---|
885 | mssql.max_persistent = -1
|
---|
886 |
|
---|
887 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
|
---|
888 | mssql.max_links = -1
|
---|
889 |
|
---|
890 | ; Minimum error severity to display.
|
---|
891 | mssql.min_error_severity = 10
|
---|
892 |
|
---|
893 | ; Minimum message severity to display.
|
---|
894 | mssql.min_message_severity = 10
|
---|
895 |
|
---|
896 | ; Compatability mode with old versions of PHP 3.0.
|
---|
897 | mssql.compatability_mode = Off
|
---|
898 |
|
---|
899 | ; Connect timeout
|
---|
900 | ;mssql.connect_timeout = 5
|
---|
901 |
|
---|
902 | ; Query timeout
|
---|
903 | ;mssql.timeout = 60
|
---|
904 |
|
---|
905 | ; Valid range 0 - 2147483647. Default = 4096.
|
---|
906 | ;mssql.textlimit = 4096
|
---|
907 |
|
---|
908 | ; Valid range 0 - 2147483647. Default = 4096.
|
---|
909 | ;mssql.textsize = 4096
|
---|
910 |
|
---|
911 | ; Limits the number of records in each batch. 0 = all records in one batch.
|
---|
912 | ;mssql.batchsize = 0
|
---|
913 |
|
---|
914 | ; Specify how datetime and datetim4 columns are returned
|
---|
915 | ; On => Returns data converted to SQL server settings
|
---|
916 | ; Off => Returns values as YYYY-MM-DD hh:mm:ss
|
---|
917 | ;mssql.datetimeconvert = On
|
---|
918 |
|
---|
919 | ; Use NT authentication when connecting to the server
|
---|
920 | mssql.secure_connection = Off
|
---|
921 |
|
---|
922 | ; Specify max number of processes. Default = 25
|
---|
923 | ;mssql.max_procs = 25
|
---|
924 |
|
---|
925 | [Assertion]
|
---|
926 | ; Assert(expr); active by default.
|
---|
927 | ;assert.active = On
|
---|
928 |
|
---|
929 | ; Issue a PHP warning for each failed assertion.
|
---|
930 | ;assert.warning = On
|
---|
931 |
|
---|
932 | ; Don't bail out by default.
|
---|
933 | ;assert.bail = Off
|
---|
934 |
|
---|
935 | ; User-function to be called if an assertion fails.
|
---|
936 | ;assert.callback = 0
|
---|
937 |
|
---|
938 | ; Eval the expression with current error_reporting(). Set to true if you want
|
---|
939 | ; error_reporting(0) around the eval().
|
---|
940 | ;assert.quiet_eval = 0
|
---|
941 |
|
---|
942 | [Ingres II]
|
---|
943 | ; Allow or prevent persistent links.
|
---|
944 | ingres.allow_persistent = On
|
---|
945 |
|
---|
946 | ; Maximum number of persistent links. -1 means no limit.
|
---|
947 | ingres.max_persistent = -1
|
---|
948 |
|
---|
949 | ; Maximum number of links, including persistents. -1 means no limit.
|
---|
950 | ingres.max_links = -1
|
---|
951 |
|
---|
952 | ; Default database (format: [node_id::]dbname[/srv_class]).
|
---|
953 | ingres.default_database =
|
---|
954 |
|
---|
955 | ; Default user.
|
---|
956 | ingres.default_user =
|
---|
957 |
|
---|
958 | ; Default password.
|
---|
959 | ingres.default_password =
|
---|
960 |
|
---|
961 | [Verisign Payflow Pro]
|
---|
962 | ; Default Payflow Pro server.
|
---|
963 | pfpro.defaulthost = "test-payflow.verisign.com"
|
---|
964 |
|
---|
965 | ; Default port to connect to.
|
---|
966 | pfpro.defaultport = 443
|
---|
967 |
|
---|
968 | ; Default timeout in seconds.
|
---|
969 | pfpro.defaulttimeout = 30
|
---|
970 |
|
---|
971 | ; Default proxy IP address (if required).
|
---|
972 | ;pfpro.proxyaddress =
|
---|
973 |
|
---|
974 | ; Default proxy port.
|
---|
975 | ;pfpro.proxyport =
|
---|
976 |
|
---|
977 | ; Default proxy logon.
|
---|
978 | ;pfpro.proxylogon =
|
---|
979 |
|
---|
980 | ; Default proxy password.
|
---|
981 | ;pfpro.proxypassword =
|
---|
982 |
|
---|
983 | [com]
|
---|
984 | ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
|
---|
985 | ;com.typelib_file =
|
---|
986 | ; allow Distributed-COM calls
|
---|
987 | ;com.allow_dcom = true
|
---|
988 | ; autoregister constants of a components typlib on com_load()
|
---|
989 | ;com.autoregister_typelib = true
|
---|
990 | ; register constants casesensitive
|
---|
991 | ;com.autoregister_casesensitive = false
|
---|
992 | ; show warnings on duplicate constat registrations
|
---|
993 | ;com.autoregister_verbose = true
|
---|
994 |
|
---|
995 | [Printer]
|
---|
996 | ;printer.default_printer = ""
|
---|
997 |
|
---|
998 | [mbstring]
|
---|
999 | ; language for internal character representation.
|
---|
1000 | ;mbstring.language = Japanese
|
---|
1001 |
|
---|
1002 | ; internal/script encoding.
|
---|
1003 | ; Some encoding cannot work as internal encoding.
|
---|
1004 | ; (e.g. SJIS, BIG5, ISO-2022-*)
|
---|
1005 | ;mbstring.internal_encoding = EUC-JP
|
---|
1006 |
|
---|
1007 | ; http input encoding.
|
---|
1008 | ;mbstring.http_input = auto
|
---|
1009 |
|
---|
1010 | ; http output encoding. mb_output_handler must be
|
---|
1011 | ; registered as output buffer to function
|
---|
1012 | ;mbstring.http_output = SJIS
|
---|
1013 |
|
---|
1014 | ; enable automatic encoding translation accoding to
|
---|
1015 | ; mbstring.internal_encoding setting. Input chars are
|
---|
1016 | ; converted to internal encoding by setting this to On.
|
---|
1017 | ; Note: Do _not_ use automatic encoding translation for
|
---|
1018 | ; portable libs/applications.
|
---|
1019 | ;mbstring.encoding_translation = Off
|
---|
1020 |
|
---|
1021 | ; automatic encoding detection order.
|
---|
1022 | ; auto means
|
---|
1023 | ;mbstring.detect_order = auto
|
---|
1024 |
|
---|
1025 | ; substitute_character used when character cannot be converted
|
---|
1026 | ; one from another
|
---|
1027 | ;mbstring.substitute_character = none;
|
---|
1028 |
|
---|
1029 | ; overload(replace) single byte functions by mbstring functions.
|
---|
1030 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
|
---|
1031 | ; etc. Possible values are 0,1,2,4 or combination of them.
|
---|
1032 | ; For example, 7 for overload everything.
|
---|
1033 | ; 0: No overload
|
---|
1034 | ; 1: Overload mail() function
|
---|
1035 | ; 2: Overload str*() functions
|
---|
1036 | ; 4: Overload ereg*() functions
|
---|
1037 | mbstring.func_overload = 7
|
---|
1038 |
|
---|
1039 | [FrontBase]
|
---|
1040 | ;fbsql.allow_persistent = On
|
---|
1041 | ;fbsql.autocommit = On
|
---|
1042 | ;fbsql.default_database =
|
---|
1043 | ;fbsql.default_database_password =
|
---|
1044 | ;fbsql.default_host =
|
---|
1045 | ;fbsql.default_password =
|
---|
1046 | ;fbsql.default_user = "_SYSTEM"
|
---|
1047 | ;fbsql.generate_warnings = Off
|
---|
1048 | ;fbsql.max_connections = 128
|
---|
1049 | ;fbsql.max_links = 128
|
---|
1050 | ;fbsql.max_persistent = -1
|
---|
1051 | ;fbsql.max_results = 128
|
---|
1052 | ;fbsql.batchSize = 1000
|
---|
1053 |
|
---|
1054 | [Crack]
|
---|
1055 | ; Modify the setting below to match the directory location of the cracklib
|
---|
1056 | ; dictionary files. Include the base filename, but not the file extension.
|
---|
1057 | ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
|
---|
1058 |
|
---|
1059 | [exif]
|
---|
1060 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
|
---|
1061 | ; With mbstring support this will automatically be converted into the encoding
|
---|
1062 | ; given by corresponding encode setting. When empty mbstring.internal_encoding
|
---|
1063 | ; is used. For the decode settings you can distinguish between motorola and
|
---|
1064 | ; intel byte order. A decode setting cannot be empty.
|
---|
1065 | ;exif.encode_unicode = ISO-8859-15
|
---|
1066 | ;exif.decode_unicode_motorola = UCS-2BE
|
---|
1067 | ;exif.decode_unicode_intel = UCS-2LE
|
---|
1068 | ;exif.encode_jis =
|
---|
1069 | ;exif.decode_jis_motorola = JIS
|
---|
1070 | ;exif.decode_jis_intel = JIS
|
---|
1071 |
|
---|
1072 | ; Local Variables:
|
---|
1073 | ; tab-width: 4
|
---|
1074 | ; End:
|
---|
1075 | extension=ldap.so
|
---|
1076 | extension=pgsql.so
|
---|
1077 | extension=imap.so
|
---|
1078 | extension=gd.so
|
---|