PHP.ini Chinese Configuration Instructions

Source: Internet
Author: User
Tags ereg error handling eval odbc mssql session id socket zend

PHP.ini Chinese Configuration Instructions

;;;;;;;;;;;

; Warning

;;;;;;;;;;;

; This profile is the default setting for newly installed PHP.

; By default, PHP uses this configuration file to install

; This configuration is for development purposes and * is not * for the production environment

; Based on some security considerations, consider using php.ini-recommended before your site is online.

; and online documentation http://php.net/manual/en/security.php.

;;;;;;;;;;;;;;;;;;;

; About PHP.ini;

;;;;;;;;;;;;;;;;;;;

;  This file controls many aspects of PHP behavior. To enable PHP to read it

;  Must be named ' PHP.ini '. PHP in its current working directory, specified by PHPRC environment variable directory

; And the directory specified at compile time (in this order) to find this file

; In a Windows environment, the compile-time directory is a Windows directory.

; Directories that look for php.ini in command-line mode can be overwritten by the-C parameter.

;

; The syntax for this file is very simple.

; Blank lines and rows starting with semicolons are ignored (as you may have guessed).

; The beginning of a segment (for example, [Foo]) is also silently ignored

; They may have other effects even in the future.

;

; Use the following syntax to set instructions:

; directive = value

; directive = value

; The instruction name is * Case Sensitive *-Foo=bar and Foo=bar are different.

;

; Values can be string, numeric, PHP constants (such as E_all and M_PI),

; INI constant (on, off, True, False, Yes, No and None) or an expression

; (for example, E_all & ~e_notice), or a quoted string ("foo").

;

; Expressions in the INI file can only use logical operations and parentheses:

; | Logical OR

; & Logic and

; ~ Logical Non

; ! Take the counter

;

; Logical flags can be opened using 1,on,true or Yes.

; You can also use 0, off, False, or no to close.

;

; Not writing anything after the equals sign represents an empty string

; Or use the None keyword:

;

; Foo =; Set Foo to an empty string

; foo = none; Set Foo to an empty string

; Foo = "None"; Set Foo to string ' None '

;

; If you use constants in values, and this constant belongs to a dynamically loaded extension module

; (Whether it's a php extension or a zend extension),

; Then you can only use these constants after loading these extensions *.

;

;

;;;;;;;;;;;;;;;;;;;

; about this document;

;;;;;;;;;;;;;;;;;;;

; All values in the Php.ini-dist file are equivalent to the built-in default values

; (That is, if you don't use php.ini, or if you delete these lines,

; The same as the built-in default values).

;;;;;;;;;;;;;;;;;;;;

; Language Options;

;;;;;;;;;;;;;;;;;;;;

; Open the PHP scripting language engine under Apache

Engine = On

; Open Zend Engine compatibility mode (PHP 4.x)

Zend.ze1_compatibility_mode = Off

; Let's do it.  Label. Otherwise, only the <?php and <script> tags are considered PHP scripts.

; Note: Try to avoid using a thumbnail tag when developing a republishing program or library, or publish under a server that is not under your control.

; Because the abbreviated label may not be supported by the target server. For portability, redistribute code, please do not use abbreviated tags

Short_open_tag = On

; <%%> tags using ASP style.

Asp_tags = Off

; The number of significant digits (floating-point precision) for the numeric value in the floating-point numbers.

Precision = 12

; Force 2000 compliant (may cause incompatible browser issues)

Y2k_compliance = On

; Output buffering allows you to send headers (including cookies) after you send the body content

; The price is slightly slowing down the PHP output layer

; You can invoke the output buffering function at run time to turn on this feature

; You can also set this command to on to open output buffers for all files

; If you want to limit this buffer to a specific size-you can use the maximum number of bytes instead of ' on ' as an argument for this instruction (for example, output_buffering=4096).

Output_buffering = Off

; You can redirect all the content of your script output to the specified function.

; For example, if you set Output_handler to "Mb_output_handler",

; The character encoding is converted to the specified encoding.

; Setting any output handle handles automatically turns on the output buffer.

; Note: Do not rely on this INI configuration if you want to write a portable script

; Instead, explicitly use Ob_start () to set the output processing handle.

; Using this INI directive can cause problems unless you understand clearly what the script is doing.

; Note: You cannot use both "Mb_output_handler" and "Ob_iconv_handler" at the same time.

; And you can't use both "Ob_gzhandler" and "zlib.output_compression" at the same time.

; Note: If you use the zlib.output_handler instruction to turn on zlib output compression, the instruction must be empty.

; Output_handler =

; Using the Zlib library to compress output

; Valid values for this option are ' off ', ' on ', or the number of bytes (buffer size to compress, default is 4KB)

; Note: The chunk size of the result may vary depending on the size of the compressed object.

; The size of the PHP output block is generally compressed after hundreds of bytes per large hour.

; If you want to get better performance with a large heap size, additional open output_buffering options are required.

; Note: You must use Zlib.output_handler to replace the standard

; Output_handler, otherwise the output may be problematic.

Zlib.output_compression = Off

; zlib.output_compression_level =-1

; After activating zlib.output_compression here, you can no longer specify additional output processing.

; This setting is the same as Output_handler, but the processing order is different.

; Zlib.output_handler =

; Immediately refresh tells PHP to let the output layer automatically refresh immediately after each output block.

; This is the same as calling flush () after each call to the print () or echo () function and any kind of HTML block.

; Turning on this option can severely degrade performance and is generally recommended only for debugging purposes.

Implicit_flush = Off

; If the deserialization finds an undefined class that can be used as an example. A callback function that is not serialized is invoked (using an undefined class masterpiece as a parameter),

; A warning occurs if a particular function is not defined or if the function does not contain/implement the missing class.

; If only you really want to implement a similar callback function, set this entry.

Unserialize_callback_func=

; When floating-point numbers and double precision are serialized, the floating-point number is followed by serialize_precision to specify the number of significant digits of the storage precision.

; The default value is when the floating-point number is decoded by the reverse sequence, and the value remains the same.

serialize_precision = 100

; Do you want to open force pass arguments to function by reference

; This method is objected to and is likely to be no longer supported in future versions of Php/zend.

; The specified method of being orphaned is that the parameter should be passed in by reference when the function is declared.

; You are encouraged to try the above method and turn this option off to ensure that your script will still work in a new version of the future (each time you use this feature, you receive a warning

; And the parameter will pass a value rather than a reference.

Allow_call_time_pass_reference = On

;

; Safe Mode

;

Safe_mode = Off

; By default, Safe mode uses the UID to compare detection when opening a file.

; If you just want to use the GID to do a loose comparison,

; Open Safe_mode_gid.

Safe_mode_gid = Off

; When the Safe_mode is opened, the Uid/gid detection of the files and subfolders contained in this directory is bypassed.

; (The directory must exist in include_path or must use full path when included)

Safe_mode_include_dir =

; When Safe_mode is opened, only executable files defined in Safe_mode_exec_dir can be opened through the EXEC function group.

Safe_mode_exec_dir =

; Setting certain environment variables can be a potential security risk.

; This directive contains a comma-delimited list of leading lists.

; In safe mode, the user may only change the variable that conforms to the leading character given here.

; By default, users can only change variables that start with PHP_ (for example,. Php_foo=bar).

;

; Note: If this instruction is empty, PHP will allow the user to modify any environment variables!

Safe_mode_allowed_env_vars = Php_

; This directive contains a comma-delimited list of environment variables that users cannot use to modify the environment variables in the list by using the Putenv () function.

; These variables are protected from modification even if they are already in the list set by Safe_mode_allowed_env_vars.

Safe_mode_protected_env_vars = Ld_library_path

; If Open_basedir is set, the file action will be restricted to directories and subdirectories under this directive.

; This directive is most meaningful for each directory or for each virtual host configuration file. This instruction * will not be affected by Safe mode on or off.

; Open_basedir =

; This directive allows you to turn off the specified function for security reasons.

; It accepts a comma-delimited list of function names.

; This instruction * will not be affected by Safe mode on or off.

Disable_functions =

; This directive allows you to turn off the specified class for security reasons.

; It accepts a comma-delimited list of class names.

; This instruction * will not be affected by Safe mode on or off.

Disable_classes =

; Syntax highlighting mode of color. Any in <span style= "color:???????" Acceptable values in > are available.

; highlight.string = #DD0000

; highlight.comment = #FF9900

; Highlight.keyword = #007700

; highlight.bg = #FFFFFF

; Highlight.default = #0000BB

; highlight.html = #000000

; If it is turned on, the request is executed even if the user abandons it.

; Open this option when performing a request that may be interrupted by the user or the browser timeout.

; Ignore_user_abort = On

; Specifies a buffer for the actual path used by PHP. This value should be added to a system in which PHP opens many files to handle many file operations.

; realpath_cache_size=16k

; reserves the number of seconds to buffer the true path information for a given file or directory. You can consider increasing this value for systems that rarely modify files.

; realpath_cache_ttl=120

;

; Other

;

; Consider the fact that PHP may be exposed by the server on which it is installed (for example, by a Web server as header information).

; In any case this is not a security threat and it is still possible to expose your server to whether PHP is being used.

expose_php = On

;;;;;;;;;;;;;;;;;;;

; resource constraints;

;;;;;;;;;;;;;;;;;;;

; Maximum execution number of seconds per script

Max_execution_time = 30

; The maximum time each script uses to parse the requested data

Max_input_time = 60

; Nesting level of the maximum input variable

; max_input_nesting_level = 64

; The maximum amount of memory that can be used per script (128MB)

Memory_limit = 128M

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; error handling and recording;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; A bit when error reporting. Take or get the final reporting level for each value

; E_all-All errors and warnings (does not contain e_strict)

; E_error-Fatal Run-time Error

; E_recoverable_error-Almost fatal run-time error

; E_warning-Runtime Warning (non-fatal error)

; E_parse-Compile-time syntax error

; E_notice-Run-time Reminders (These warnings are often caused by bugs in your code, but it can also be intentional behavior (for example, using an uninitialized variable and relying on the fact that it will be automatically initialized to an empty string)

; E_strict-Runtime reminders, PHP will give you the most portable and best backward compatibility advice for your code when you open it.

; E_core_error-php Initialization startup fatal error

; E_core_warning-A warning (non-fatal error) that occurs when PHP initializes

; E_compile_error-Fatal compile-time error

; E_compile_warning-Compile-time warning (non-fatal)

; E_user_error-User Generated error message

; E_user_warning-User generated warning message

; E_user_notice-user-generated prompt information

;

Example

;

; -Displays all errors, in addition to hints and code standard warnings

;

; error_reporting = E_all & ~e_notice

;

; -Show all errors except prompts

;

; error_reporting = e_all & ~e_notice | E_strict

;

; -Show Only errors

;

; error_reporting = e_compile_error| e_recoverable_error| e_error| E_core_error

;

; -Displays a hint and error outside of the code standard warning

;

error_reporting = E_all & ~e_notice

;  PrintOut error (as part of the output). For a Web site for a production environment,

; It is strongly recommended that you turn off this option and use the error log instead (refer to below for details).

; Opening a Web site in a production environment display_errors may leak security information to end users, such as the Web server's file path, the structure of your database, or other information.

;

; Display_errors Available values:

;

; Off-do not display any error messages

; STDERR-Output error message to STDERR (only CGI/CLI format is valid!)

;

;d isplay_errors = "stderr"

;

; STDOUT (ON)-Output error message to stdout

;

Display_errors = On

; Errors that occur in the PHP startup sequence are not displayed even after the display_errors is open.

; It is strongly recommended that you keep display_startup_errors off unless you are in a wrong row

Display_startup_errors = Off

; Enter the error into the log file (specified by the server specified by the Log,stderr or Error_log (below))

; As mentioned above, it is strongly recommended that you use the error log instead of the error display under the Production environment Web site.

Log_errors = Off

; Sets the maximum length of the log_errors. The error_log information about the source is also counted.

; The default is 1024, set to 0 without limiting any maximum length.

Log_errors_max_len = 1024

; Do not record duplicate information. It must appear in the same row of the same file to be considered duplicate unless the Ignore_repeated_source is set to true.

Ignore_repeated_errors = Off

; Ignores the source of the message when repeating messages are ignored. When this setting is turned on, no longer records the same messages from different files or from peers.

Ignore_repeated_source = Off

; If this option is set to OFF, the memory leak is not displayed (either in stdout or in the log).

; This entry is valid only in debug compilation mode, and error reporting needs to contain e_warning

Report_memleaks = On

; report_zend_debug = 0

; Save the last Error/warning message (logical value) in $php_errormsg.

Track_errors = Off

; Closes the HTML tag contained in the error message.

; Note: This attribute should never be used in a production environment.

; html_errors = Off

; If Html_errors is set to ON, PHP generates clickable error messages, and clicks to jump to a page that describes the error or the function that caused the error.

; You can download a copy of the PHP manual from http://www.php.net/docs.php

; and point the docref_root to the '/' at which you placed the local copy.

; You must also specify the extension of the containing point of the file file.

; Note: This attribute should never be used in a production environment.

;d ocref_root = "/phpmanual/"

;d ocref_ext =. html

; The string to be added before the error message is printed.

; error_prepend_string = "<font color= #ff0000 >"

; The string that is added after the error message is printed.

; error_append_string = "</font>"

; Logs the error to the specified file.

; error_log = filename

; Log errors to Syslog (the event log on the NT system is not available under Windows 95).

; error_log = syslog

;;;;;;;;;;;;;;;;;

; Document processing;

;;;;;;;;;;;;;;;;;

;

; Note-Track_vars is always open in PHP 4.0.3

; The symbol used to separate parameters in the URL generated by PHP.

; The default is "&".

; arg_separator.output = "&amp;"

; A delimiter used by PHP to enter URL splits into a variable.

; The default is "&".

; Note: All characters contained within the instruction are considered to be delimiters!

; arg_separator.input = ";&"

;  This instruction describes the order of the PHP registration get, POST, Cookie, environment, and built-in variables (each using G, P, C, E and S, usually using Egpcs or GPC). Registration uses the Left-to-right order, and the new value overwrites the old value.

Variables_order = "Egpcs"

; Whether to register the EGPCS variable as a global variable.

; If you don't want the global variables of your scripts to become cluttered because of user data, you need to turn this option off

; This generally opens with track_vars-in which case you can access all the GPC variables through $http_*_vars[.

;

; You should try to write a script so you don't have to open register_globals.

; If the code is not considered in detail, the use of variables as a global application can easily lead to potential security vulnerabilities.

Register_globals = Off

; Whether to register the old form of input array, http_get_vars and related array

; If you do not use them, it is recommended to improve performance to close them.

Register_long_arrays = On

; This directive allows PHP to confirm whether to declare ARGV&ARGC variables (these variables contain get information).

; If you do not use these variables, you should turn off this option in order to improve performance.

REGISTER_ARGC_ARGV = On

; When this entry is turned on, the SERVER and ENV variables are created at the first time, not at the beginning of the script (runtime)

; If these variables are not used in the script, opening this item will add a bit of performance.

; For this command to work, the PHP directive register_globals, Register_long_arrays,

; And REGISTER_ARGC_ARGV must be closed.

Auto_globals_jit = On

; The maximum post data size that PHP can accept.

Post_max_size = 8M

; Magic Quotes

;

; Open Magic Quotes for Get/post/cookie data.

MAGIC_QUOTES_GPC = On

; Open Magic quotes for data generated in real time, such as data obtained from SQL, data returned from exec (), and so on.

Magic_quotes_runtime = Off

; Use the Sybase-style magic quotes (use "to guide the ' substitution ').

Magic_quotes_sybase = Off

; Automatically add files before or after any PHP document.

Auto_prepend_file =

Auto_append_file =

; Like 4.0B4, PHP always uses the encoding output character that defaults to the header content-type:

; Set it to null to disable the send character set.

;

; PHP built-in defaults to text/html

Default_mimetype = "Text/html"

;d efault_charset = "Iso-8859-1"

; Always fills $HTTP _raw_post_data variable.

; always_populate_raw_post_data = On

;;;;;;;;;;;;;;;;;;;;;;;;;

; path and directory;

;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"

; include_path = ".:/ Php/includes "

;

; Windows: "Path1;path2"

; include_path = ".; C:phpincludes "

; The root path of the PHP page, which is valid only when not empty.

; If PHP does not use Force_redirect to compile, if you run PHP as a CGI under any Web server (except IIS), you must set up Doc_root

;  View the document for security issues. An alternative scenario is to use the following Cgi.force_redirect

Doc_root =

; PHP uses/~username to open the directory of the script, which is only valid when not empty.

User_dir =

; The directory location of the expandable (module) that can be loaded.

Extension_dir = "./"

;  Whether the DL () function is enabled. The DL () function does not normally run under multithreaded services, such as IIS or Zeus, and is automatically disabled under these service software.

ENABLE_DL = On

; Under most Web servers, Cgi.force_redirect is necessary to provide secure execution of PHP as a CGI.

; Without configuration, PHP will open this by default.

; You can close this here and take the risk yourself.

; * * You can safely close this item in IIS, in fact, you must close this item. * *

; Cgi.force_redirect = 1

; If CGI.NPH is opened, the CGI is forced to send status:200 on each request.

; CGI.NPH = 1

; If the Cgi.force_redirect is open and you do not run under Apache or Netscape (iPlanet) Web server,

; You may need to set an environment variable name so that PHP can find it to get it ready to continue execution. Setting this variable can cause a security issue, and before you set it, understand the possible consequences.

; Cgi.redirect_status_env =;

; Cgi.fix_pathinfo provides * authentic * path_info/path_translated support for CGI.

; The preprocessing behavior of PHP is to set path_translated to Script_filename and not to guess what path_info is.

; For more information about PATH_INFO, see the CGI specification.

; Setting this value to 1 causes the PHP CGI to fix its path to conform to the specification.

; Setting to 0 causes PHP to behave like the previous behavior. The default is 1. You should revise your feet to use script_filename instead of path_translated.

; Cgi.fix_pathinfo=0

; FastCGI under IIS (under the WINNT operating system) support the ability to call clients ' security tokens.

; This allows IIS to define the security context under which it runs.

; MOD_FASTCGI under Apache currently does not support this feature (03/17/2002)

; If run under IIS set to 1. The default is 0.

; Fastcgi.impersonate = 1;

; Close the log connected through FastCGI

; fastcgi.logging = 0

; Cgi.rfc2616_headers configuration option tells PHP what type of headers to use when sending HTTP response code

; If set to 0,php send the Status: header information that is supported by Apache.

; When set to 1, PHP sends RFC2616-compliant header information.

; The default is 0.

; Cgi.rfc2616_headers = 0

;;;;;;;;;;;;;;;;

; File upload;

;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.

File_uploads = On

; The temporary file directory for HTTP upload files (the system defaults are used if not specified).

; Upload_tmp_dir =

; Maximum file size allowed for uploads.

Upload_max_filesize = 2M

;;;;;;;;;;;;;;;;;;

; Fopen packaging;

;;;;;;;;;;;;;;;;;;

; Whether to allow URLs as files (such as http://or ftp://).

Allow_url_fopen = On

; Whether to allow Include/require to use URLs as files (such as http://or ftp://).

Allow_url_include = Off

; Define anonymous FTP password (your email address)

; from= "John@doe.com"

; Defining User-agent Strings

; User_agent= "PHP"

; Defines the timeout (in seconds) for a socket interface based on a stream

Default_socket_timeout = 60

; If your script has to deal with files from the Macintosh system,

; Or you run on a Mac and need to process files from UNIX or Win32 systems,

; Setting this flag causes PHP to automatically detect the EOL characters of these files so that fgets () and file () can be processed directly without the source of the file.

; Auto_detect_line_endings = Off

;;;;;;;;;;;;;;;;;;;;;;

; Dynamic expansion;

;;;;;;;;;;;;;;;;;;;;;;

;

; If you want the extension to load automatically, use the following syntax:

;

; Extension=modulename.extension

;

; For example, on a Windows system:

;

; Extension=msql.dll

;

; ... or under UNIX:

;

; Extension=msql.so

;

; Note: This should be just the name of the module;

; The directory information for the module is not required here.

; Use the EXTENSION_DIR directive above to specify the location of the extension.

; Windows Extensions

; Note: ODBC support is already built in, so you do not need DLLs for ODBC.

; Note: Many DLL files are located in the extensions/(PHP 4) or ext/(PHP 5) directory, and are downloaded together with the split pecl DLL (PHP 5).

; Determine if the correct EXTENSION_DIR directive is set.

; Extension=php_bz2.dll

; Extension=php_curl.dll

; Extension=php_dba.dll

; Extension=php_dbase.dll

; Extension=php_exif.dll

; Extension=php_fdf.dll

; Extension=php_gd2.dll

; Extension=php_gettext.dll

; Extension=php_gmp.dll

; Extension=php_ifx.dll

; Extension=php_imap.dll

; Extension=php_interbase.dll

; Extension=php_ldap.dll

; Extension=php_mbstring.dll

; Extension=php_mcrypt.dll

; Extension=php_mhash.dll

; Extension=php_mime_magic.dll

; Extension=php_ming.dll

; Extension=php_msql.dll

; Extension=php_mssql.dll

; Extension=php_mysql.dll

; Extension=php_mysqli.dll

; Extension=php_oci8.dll

; Extension=php_openssl.dll

; Extension=php_pdo.dll

; Extension=php_pdo_firebird.dll

; Extension=php_pdo_mssql.dll

; Extension=php_pdo_mysql.dll

; Extension=php_pdo_oci.dll

; Extension=php_pdo_oci8.dll

; Extension=php_pdo_odbc.dll

; Extension=php_pdo_pgsql.dll

; Extension=php_pdo_sqlite.dll

; Extension=php_pgsql.dll

; Extension=php_pspell.dll

; Extension=php_shmop.dll

; Extension=php_snmp.dll

; Extension=php_soap.dll

; Extension=php_sockets.dll

; Extension=php_sqlite.dll

; Extension=php_sybase_ct.dll

; Extension=php_tidy.dll

; Extension=php_xmlrpc.dll

; Extension=php_xsl.dll

; Extension=php_zip.dll

;;;;;;;;;;;;;;;;;;;

; module setup;

;;;;;;;;;;;;;;;;;;;

[Date]

; Define the default time zone used by the DATE function

;d Ate.timezone =

;d ate.default_latitude = 31.7667

;d ate.default_longitude = 35.2333

;d Ate.sunrise_zenith = 90.583333

;d Ate.sunset_zenith = 90.583333

[Filter]

; Filter.default = Unsafe_raw

; filter.default_flags =

[Iconv]

; iconv.input_encoding = iso-8859-1

; iconv.internal_encoding = iso-8859-1

; iconv.output_encoding = iso-8859-1

[SQLite]

; sqlite.assoc_case = 0

[XMLRPC]

; xmlrpc_error_number = 0

; xmlrpc_errors = 0

[Pcre]

; PCRE Library Response Tracking restrictions.

;p cre.backtrack_limit=100000

; PCRE Library Recursive restrictions.

Note that if you set this to a high value, you may run out of all the available process heaps and end up with PHP (due to the limit of heap size imposed by the operating system).

;p cre.recursion_limit=100000

[Syslog]

; Whether to define different syslog variables such as. $LOG _pid,

;  $LOG _cron, and so on.). Turning off this option is good for performance.

; At run time, you can call the Define_syslog_variables () function to define these variables.

Define_syslog_variables = Off

[Mail Function]

; For Win32.

SMTP = localhost

Smtp_port = 25

; For Win32.

; sendmail_from = me@example.com

;  For UNIX. Parameters can be supported (default: "Sendmail-t-i").

; Sendmail_path =

; Forces an additional specified parameter to be passed as an extended parameter to the SendMail execution file.

; These parameters always replace the fifth parameter value of the mail () function, even in safe mode.

; mail.force_extra_parameters =

[SQL]

Sql.safe_mode = Off

[ODBC]

; odbc.default_db = currently Invalid

; odbc.default_user = currently Invalid

; ODBC.DEFAULT_PW = currently Invalid

; Allow or block persistent connections.

Odbc.allow_persistent = On

; Check that the connection is available before reusing.

Odbc.check_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Odbc.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Odbc.max_links =-1

;  Long field processing.  Returns the number of bytes in the variable. 0 means skipping over.

ODBC.DEFAULTLRL = 4096

; Binary data processing. 0 means skip, 1 in actual return, 2 to character.

; View Odbc_binmode and Odbc_longreadlen documentation for an explanation of UODBC.DEFAULTLRL and Uodbc.defaultbinmode

Odbc.defaultbinmode = 1

[MySQL]

; Allow or block persistent connections.

Mysql.allow_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Mysql.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Mysql.max_links =-1

;  Mysql_connect () The default port number. If not set, mysql_connect () uses $MYSQL _tcp_port

; Either the MYSQL-TCP entry at/etc/services or the Mysql_port value defined at compile time (find in this order).

; Win32 will only look for mysql_port values.

Mysql.default_port =

; The default socket name for the local MySQL connection. If empty, use MySQL to build default values.

Mysql.default_socket =

; The default host value for Mysql_connect () (not in Safe mode).

Mysql.default_host =

; The default user value for Mysql_connect () (not effective in safe mode).

Mysql.default_user =

; The default password value for mysql_connect () is not valid in Safe mode.

; Note Saving passwords in this file generally is * bad * doctrine.

; * Any user using PHP can perform ' echo get_cfg_var (' Mysql.default_password ')

; And get to this password! And, of course, anyone who has read access to this file can get this password.

Mysql.default_password =

; Maximum time (in seconds) that the connection times out,-1 means there is no limit.

Mysql.connect_timeout = 60

; Tracking mode. When Trace_mode is opened (=on), warnings and SQL errors for Table/index scans are displayed.

Mysql.trace_mode = Off

[Mysqli]

;  Maximum number of connections. -1 means there is no limit.

Mysqli.max_links =-1

;  Mysqli_connect () The default port number. If not set, mysql_connect () uses $MYSQL _tcp_port

; Either the MYSQL-TCP entry at/etc/services or the Mysql_port value defined at compile time (find in this order).

; Win32 will only look for mysql_port values.

Mysqli.default_port = 3306

; The default socket name for the local MySQL connection. If empty, use MySQL to build default values.

Mysqli.default_socket =

; The default host value for Mysqli_connect () (not in Safe mode).

Mysqli.default_host =

; The default user value for Mysqli_connect () (not effective in safe mode).

Mysqli.default_user =

; The default password value for Mysqli_connect () is not valid in Safe mode.

; Note Saving passwords in this file generally is * bad * doctrine.

; * Any user using PHP can perform ' echo get_cfg_var (' Mysqli.default_password ')

; And get to this password! And, of course, anyone who has read access to this file can get this password.

MYSQLI.DEFAULT_PW =

; Allow or block persistent connections.

Mysqli.reconnect = Off

[mSQL]

; Allow or block persistent connections.

Msql.allow_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Msql.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Msql.max_links =-1

[OCI8]

; Open an authorized connection using an external authentication (Oci_sysoper, OCI_SYSDBA)

; oci8.privileged_connect = Off

; Connection: The maximum number of persistent OCI8 connections per process,-1 means there is no limit.

; oci8.max_persistent =-1

; Connection: The maximum number of seconds a process allows to maintain an idle persistent connection.

; -1 means that the idle persistent connection will always be maintained.

; oci8.persistent_timeout =-1

; Connection: The number of seconds that must pass between each ping when oci_pconnect () detects if a connection is valid.

; When set to 0, each oci_pconnect () initiates a ping. Using-1 completely shut down ping.

; oci8.ping_interval = 60

; Tuning: This option turns on the declaration buffer (statement cache) and specifies how many statements to buffer. Use 0 to turn off the declaration buffer.

; oci8.statement_cache_size = 20

; Tuning: Open declaration prefetch (statement prefetch) and set the number of rows to be fetched automatically after the declaration is executed.

; Oci8.default_prefetch = 10

; Compatibility: setting to On means that oci_close () does not close the connection between Oci_connect () and Oci_new_connect ().

; oci8.old_oci_close_semantics = Off

[Postgressql]

; Allow or block persistent connections.

Pgsql.allow_persistent = On

; Always detects a disconnected persistent connection when pg_pconnect ().

; Automatically resetting attributes can cause a bit of overhead.

Pgsql.auto_reset_persistent = Off

;  The maximum number of persistent connections. -1 means there is no limit.

Pgsql.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Pgsql.max_links =-1

; Whether to ignore PostgreSQL back-end notification messages.

; It takes a bit of overhead to advertise a message record.

Pgsql.ignore_notice = 0

; Whether to log PostgreSQL back-end notification messages.

; Module is unable to log notification messages unless pgsql.ignore_notice=0

Pgsql.log_notice = 0

[Sybase]

; Allow or block persistent connections.

Sybase.allow_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Sybase.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Sybase.max_links =-1

; sybase.interface_file = "/usr/sybase/interfaces"

; Displays the minimum severity of the message.

Sybase.min_error_severity = 10

; Displays the minimum severity of the message.

Sybase.min_message_severity = 10

; Compatible with the old version of PHP 3.0 mode.

; If set to ON, it causes PHP to automatically bind the type of the result record to the Sybase type, rather than treating all of them as strings.

; This compatibility mode may not be permanent, so it is a good idea to try to make the necessary changes in your code, and then turn off this option.

Sybase.compatability_mode = Off

[SYBASE-CT]

; Allow or block persistent connections.

Sybct.allow_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Sybct.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Sybct.max_links =-1

; Shows the minimum severity of the error.

Sybct.min_server_severity = 10

; Displays the minimum severity of the message.

Sybct.min_client_severity = 10

[Bcmath]

; Number of decimal places for all Bcmath functions

Bcmath.scale = 0

[Browscap]

; browscap = Extra/browscap.ini

[Informix]

; The default host for Ifx_connect () is not applied in safe mode.

Ifx.default_host =

; The default user for Ifx_connect () is not applied in safe mode.

Ifx.default_user =

; The default password for Ifx_connect () is not applied in safe mode.

Ifx.default_password =

; Allow or block persistent connections.

Ifx.allow_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Ifx.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Ifx.max_links =-1

; If set to ON, the Select Declaration returns the contents of the text segment rather than its ID.

Ifx.textasvarchar = 0

; If set to ON, the Select Declaration returns the contents of the byte rather than its ID.

Ifx.byteasvarchar = 0

;  The trailing spaces of the fixed-length character column are truncated. may be helpful for Informix SE users.

Ifx.charasvarchar = 0

; If set to on, the text and byte fields are dump to a file rather than retained in memory.

Ifx.blobinfile = 0

; Null is returned as an empty string unless it is set to 1. If set to 1, NULL is returned as the string ' null '.

Ifx.nullformat = 0

[Session]

; The processing method used to store/retrieve data.

Session.save_handler = Files

;  The parameters that are passed to the Save_handler. In the case of using a file, here is the path where the data file is saved.

; Note: Windows users must change this value to use the PHP session function.

;

; As in 4.0.1, you can define the following path:

;

; Session.save_path = "N;/path"

;

;  Here's N is an integer. Using this parameter creates an n-depth subdirectory in the directory to hold the session file.

; Instead of saving all session files in the same/path directory.

; This is helpful for you or when your operating system has a problem saving too many files in one directory.

; and provides greater efficiency for servers that handle a large number of sessions.

;

; Note 1:php does not automatically create a directory structure. You can create a directory structure using scripts in the Ext/session directory.

; NOTE 2: If you choose to use subdirectories to save sessions, check the following configuration section on garbage collection

;

; The file enclosure uses 600 mode to create the file by default, and you can change this option in use

;

; Session.save_path = "N; Mode;/path "

;

; The mode here is represented by the 8 binary. Note that the umask of the process is not overwritten here.

; Session.save_path = "/tmp"

; Whether to use cookies.

Session.use_cookies = 1

; session.cookie_secure =

; This option allows administrators to protect users who transmit the session ID in the URL from being attacked

; The default is 0.

; Session.use_only_cookies = 1

; The name of the session (used as a cookie name).

Session.name = Phpsessid

; Initializes the session at the start of the request.

Session.auto_start = 0

; The number of seconds the cookie will survive, or if it is 0 until the browser restarts.

Session.cookie_lifetime = 0

; A valid path for the cookie.

Session.cookie_path =/

; A valid domain name for cookies.

Session.cookie_domain =

; If the HTTPONLY flag is added to the cookie, the cookie cannot be accessed by the browser's scripting language (for example, JavaScript).

Session.cookie_httponly =

; The processor used to serialize the data. PHP is the standard PHP serializer.

Session.serialize_handler = PHP

; Defines the proportion of the ' garbage collection ' process that starts each session initialization.

; The proportions are drawn by Gc_probability/gc_divisor,

; For example. 1/100 means a 1% chance to start the ' garbage collection ' process on each request.

session.gc_probability = 1

Session.gc_divisor = 100

; After the following number of seconds, the stored data is considered ' garbage ' and cleaned up by the garbage collection process.

Session.gc_maxlifetime = 1440

; Note: If you use the subdirectory option to save the session file

; (Look at the session.save_path above), then garbage collection will not * happen automatically.

; You need to handle garbage collection yourself through a shell script, cron, or some other method.

; For example, the following script is equivalent to setting Session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):

; Cd/path/to/sessions; Find-cmin +24 | Xargs RM

; PHP 4.2 and earlier have an undisclosed feature/bug, which allows you to initialize a session variable globally, even if the register_globals has been closed.

; If this feature is used, PHP 4.3 and earlier will warn you.

; You can turn off this feature and isolate this warning. At this point, if the bug_compat_42 is opened, the warning is only shown.

session.bug_compat_42 = 1

Session.bug_compat_warn = 1

; Check the HTTP referer to prevent an external URL with an ID.

; Http_referer must contain this field from the session before it is considered legal.

Session.referer_check =

; How many bytes are read from this file.

Session.entropy_length = 0

; Specify here to create the session ID.

Session.entropy_file =

; session.entropy_length = 16

; session.entropy_file =/dev/urandom

; Set to {Nocache,private,public,} to determine the type of HTTP buffering

; Leave blank to prevent the anti-caching headers from being sent.

Session.cache_limiter = NoCache

; The document expires after n minutes.

Session.cache_expire = 180

; The trans SID supports default shutdown.

; Using the trans SID may allow your users to assume security risks.

; You must be careful with this item.

; -The user may send a URL containing a valid session ID to someone else by email/irc/other means.

; -a URL containing a valid session ID may be stored on a computer that is easily accessible to the public.

; -The user may access your site by using a URL that contains the same session ID in the browser history or in the Favorites folder.

Session.use_trans_sid = 0

; Select Hash method

; 0:MD5 (128 bits)

; 1:sha-1 (160 bits)

session.hash_function = 0

; When converting binary hash data to readable form, there are several Fu Paocun for each character.

;

; 4 bits:0-9, A-f

; 5 bits:0-9, A-v

; 6 bits:0-9, A-Z, a-Z, "--", ","

Session.hash_bits_per_character = 4

; URL Rewriter finds URLs within a set of HTML tags that are already defined.

; Form/fieldset is a special character; If you include them here, Rewriter will add a hidden <input> field containing information otherwise it is to append information to the URL.

; If you want to follow XHTML, delete the entry for the form.

; Note that all legitimate portals require a "=" symbol, or even no value.

Url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[MSSQL]

; Allow or block persistent connections.

Mssql.allow_persistent = On

;  The maximum number of persistent connections. -1 means there is no limit.

Mssql.max_persistent =-1

;  Maximum number of connections (persistent + non-persistent). -1 means there is no limit.

Mssql.max_links =-1

; Shows the minimum severity of the error.

Mssql.min_error_severity = 10

; Displays the minimum severity of the message.

Mssql.min_message_severity = 10

; Compatibility mode for the old version of PHP 3.0.

Mssql.compatability_mode = Off

; Connection Timeout

; mssql.connect_timeout = 5

; Query timeout

; mssql.timeout = 60

;  Valid range 0-2147483647. Default = 4096.

; mssql.textlimit = 4096

;  Valid range 0-2147483647. Default = 4096.

; mssql.textsize = 4096

;  The quantity limit for each batch of records. 0 = All records are within a batch.

; mssql.batchsize = 0

; Specify how the datetime and DATETIM4 columns return

; On => returns the format of data conversion to SQL Server settings

; Off => use YYYY-MM-DD hh:mm:ss return

; Mssql.datetimeconvert = On

; Use NT Authentication when connecting to the server

Mssql.secure_connection = Off

; Specifies the maximum number of processes. -1 = Library Default

; Msdlib Default 25

; FreeTDS default 4096

; mssql.max_procs =-1

; Specifies the client character set.

; If null or unspecified, the client character set will use the freetds.conf configuration

; Only used when compiling with FreeTDS

; mssql.charset = "Iso-8859-1"

[Assertion]

; assertion (expr); Opens by default.

; assert.active = On

; A PHP warning is initiated for each failure assertion.

; assert.warning = On

; Default do not bail.

; assert.bail = Off

; Call the user's custom function if the assertion fails.

; assert.callback = 0

;  Uses the current error_reporting () eval an expression. If you want to error_reporting (0) near the eval (), set to True.

; assert.quiet_eval = 0

[COM]

; The path to the file that contains the file name of the GUID,IID or typelibs

; com.typelib_file =

; Allow distributed-com to call

; com.allow_dcom = True

; A constant that registers the component Typlib in the Com_load () function automatically

; Com.autoregister_typelib = True

; Register constant Large lowercase sensitive

; com.autoregister_casesensitive = False

; Display warnings when duplicate constants are registered

; Com.autoregister_verbose = True

[Mbstring]

; The language of the inner character representation.

; mbstring.language = Japanese

; Internal/scripting code.

; Part of the encoding cannot be used as an internal encoding.

; e.g.. Sjis, BIG5, iso-2022-*)

; mbstring.internal_encoding = EUC-JP

; HTTP input encoding.

; mbstring.http_input = Auto

; HTTP output encoding. Mb_output_handler must be registered as a function as output buffer

; mbstring.http_output = Sjis

; Turn on automatic encoding conversion according to mbstring.internal_encoding settings

; When set to on, the input character is converted to an internal encoding.

; Note: Do not use automatic encoding conversions for portable libraries/applications.

; mbstring.encoding_translation = Off

; Automatic Code detection sequence

; Automatically means

; mbstring.detect_order = Auto

; Substitution symbol used when a character cannot be converted from one to another

; mbstring.substitute_character = none;

; Use the mbstring function to overwrite (replace) a single-byte function.

; Mail (), ereg (), etc. will be covered by Mb_send_mail (), Mb_ereg (), etc.

; The values that can be taken are 0,1,2,4 or their combinations.

; For example, 7 is overriding all functions.

; 0: Do not cover

; 1: Overwrite mail () function

; 2: Overwrite str* () function

; 4: Overwrite ereg* () function

; mbstring.func_overload = 0

[Frontbase]

; fbsql.allow_persistent = On

; fbsql.autocommit = On

; fbsql.show_timestamp_decimals = Off

; fbsql.default_database =

; Fbsql.default_database_password =

; fbsql.default_host =

; Fbsql.default_password =

; fbsql.default_user = "_system"

; fbsql.generate_warnings = Off

; fbsql.max_connections = 128

; fbsql.max_links = 128

; fbsql.max_persistent =-1

; fbsql.max_results = 128

[GD]

; Tells the JPEG decoder libjpeg warning and tries to create a GD image. This warning will be displayed as an advertisement

; Default to Off

; gd.jpeg_ignore_warning = 0

[EXIF]

; Exif UNICODE user annotations are used as Ucs-2be/ucs-2le and JIS for JIS processing.

; When mbstring.internal_encoding is set to NULL, if there is mbstring support, the encoding is automatically converted to the corresponding encoding settings given.

; You can choose between Motorola and Intel character sequences for decoding settings. The decoding settings cannot be set to NULL.

; Exif.encode_unicode = iso-8859-15

; Exif.decode_unicode_motorola = Ucs-2be

; Exif.decode_unicode_intel = Ucs-2le

; Exif.encode_jis =

; Exif.decode_jis_motorola = JIS

; Exif.decode_jis_intel = JIS

[Tidy]

; The path to the tidy configuration file is default when calling tidy

; tidy.default_config =/usr/local/lib/php/default.tcfg

; Does the tidy automatically clean and repair the output?

; Warning: Do not use this when you produce non-HTML content, such as when creating a dynamic picture

Tidy.clean_output = Off

[SOAP]

; Turns the WSDL buffering feature on or off.

Soap.wsdl_cache_enabled=1

; Sets the directory where the SOAP extension stores the buffered file.

soap.wsdl_cache_dir= "/tmp"

; Set the number of seconds that the buffered file is used to replace the original buffer file (live time).

soap.wsdl_cache_ttl=86400

; Local Variables:

; Tab-width:4

; End:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.