php-5.2 in the php.ini Chinese

;;;;;;;;;;;;;;;;;
;; About php.ini;;
;;;;;;;;;;;;;;;;;
; This file must be named 'php.ini' and placed in the httpd.conf in PHPINIDir directive specifies the directory.
; The latest version of the php.ini you can see in the following two locations:
; Http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?view=co
; Http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?view=co

;;;;;;;;;;;;
;; Grammar;;
;;;;;;;;;;;;
; The file syntax is very simple. Blank characters and lines beginning with a semicolon are simply ignored.
; Chapter headings (for example: [php]) was simply ignored, even if they may have some significance.
;
; Set the instruction format is as follows:
; Directive = value
; Command name (directive) is case-sensitive! So "foo = bar" is different from the "FOO = bar".
; Value (value) can be:
; 1. Define the string in quotation marks (such as: "foo")
; 2. A number (integer or floating point numbers, such as: 0, 1, 34, -1, 33.55)
; 3. A PHP constant (eg: E_ALL, M_PI)
; 4. An INI constants (On, Off, none)
; 5. An expression (such as: E_ALL & ~ E_NOTICE)
;
; INI file, use only the expression: bitwise operators, the logic of non-, in parentheses:
; | Bit or
; & Bits and
; ~ Bit non-
;! Logic of non-
;
; Boolean flag that opens with On, Off that close with.
;
; An empty string after the equals sign can not write anything said, or use the none keyword:
; Foo =; will be set to empty string foo
; Foo = none; will be set to empty string foo
; Foo = "none"; to foo set to the string 'none'
;
; If you value in order to use dynamic extensions (PHP extension or a Zend extension) in the constant
; Then you can only load the dynamic expansion of the command line after the use of these constants.

;;;;;;;;;;;;;;;;;;
;; Httpd.conf;;
;;;;;;;;;;;;;;;;;;
; In httpd.conf in the virtual host or directories for specific coverage php.ini value to a more flexible configuration:
; Php_admin_value name value; set of non-bool-type instruction, the value set to clear the previous settings none
; Php_admin_flag name on | off; only the instructions for setting the bool type
; [Tip] because many commands are not allowed to use php_value / php_flag set, it is not recommended to use both.
;
; PHP constant (eg E_ALL) can only be used in php.ini, in the httpd.conf must use the appropriate mask.

; [Updated on 2008-3-2]
;================================================= =========================================
;;===================================== Configuration directive Xiangjie ======= =================================
;================================================= =========================================
; The value of each of the following instruction set built with PHP-5.2.5 the default value of the same.
; That is, if 'php.ini' does not exist, or if you delete some rows, with the same default values.

;;;;;;;;;;;;;;
;; Apache;;
;;;;;;;;;;;;;;
[Apache]
; Only be effective when PHP as Apache module.

child_terminate = Off
; PHP script after the request is allowed to use apache_child_terminate () function to terminate the child process.
; The only UNIX platform instruction will be installed as Apache1.3 PHP module is available. Other cases were all negative.

engine = On
; Whether to enable PHP parsing engine.
; Note: Based in httpd.conf directory or virtual host to open or close the PHP parsing engine.

last_modified = Off
; Whether the Last-Modified response header put the PHP script last modified.

xbithack = Off
; It no matter what end of the file, all executable bit set as PHP to parse.

;;;;;;;;;;;;;;;
;; PHP core;;
;;;;;;;;;;;;;;;

[PHP-Core-DateTime]
; First four configuration options are currently only used for date_sunrise () and date_sunset () function.

date.default_latitude = 31.7667
; Default latitude

date.default_longitude = 35.2333
; Default longitude

date.sunrise_zenith = 90.583333
; Default sunrise zenith

date.sunset_zenith = 90.583333
; Default sunset zenith

date.timezone =
; TZ environment variable is not set date and time functions for all the default time zone.
; Chinese mainland should use the "PRC"
; Application the priority areas are:
; 1. With the date_default_timezone_set () function to set the time zone (if set so)
; 2. TZ environment variable (if non-empty words)
; 3. The directive's value (if set so)
; 4. PHP own guess (if the operating system support)
; 5. If the above are not successful, use the "UTC"

[PHP-Core-Assert]

assert.active = On
; Whether to enable assert () assert Assessment

assert.bail = Off
; Whether the assertion in the event of failure to suspend the script execution time

assert.callback =
; Assertion failure occurs when the implementation of the callback function

assert.quiet_eval = Off
; Assessment of whether to use quiet (not display any error messages, equivalent to error_reporting = 0).
; If the closure of assertions in the expression used when assessing the current value of error_reporting directive.

assert.warning = On
; Whether to issue a warning for each failed assertion is

[PHP-Core-SafeMode]
; Security model is to solve the security problem shared server set up.
; But trying to solve this problem in PHP layer of the structure is unreasonable
; The correct approach should be to modify the web server and OS levels.
; Therefore abolished in PHP6 in safe mode and open_basedir-based security protection.
; Command in PHP6 in this section have all been removed.

safe_mode = Off
; Whether Safe Mode is enabled.
; Turned on, PHP checks whether the current owner of the script and was the owner of the file operation of the same
; The same operation is allowed, refused to operate different.

safe_mode_gid = Off
; In safe mode, the default file will do in visit UID compare check.
; But in some cases a strict UID check is not suitable, relaxed GID check is sufficient.
; If you want to relax this to only do GID compare, you can open this parameter.

safe_mode_allowed_env_vars = "PHP_"
; In safe mode, the user can change only the environment variables prefix list (comma separated).
; Allows the user to set certain environment variables may result in potential security vulnerabilities.
; Note: If this parameter is empty, PHP will allow users to change any environment variable!

safe_mode_protected_env_vars = "LD_LIBRARY_PATH"
; In safe mode, the user can not change the environment variables list (comma separated).
; These variables even if safe_mode_allowed_env_vars directive is set to allow the case will be protected.

safe_mode_exec_dir = "/ usr / local / php / bin"
; In safe mode, only the directory executable program only allowed to be a function of the implementation of the implementation of the system.
; These functions are: system, escapeshellarg, escapeshellcmd, exec, passthru,
; Proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec

safe_mode_include_dir =
; In safe mode, the group directory and its subdirectories of the file is included, it will skip the UID / GID checks.
; Other words, if the value is empty here, any UID / GID does not meet the files are not allowed to be included.
; Here to set the directory must already exist in the include_path directive, or full path to contain.
; Between multiple directories with a colon (Win under the semicolon) separated.
; The specified limit is actually a prefix, not a directory name,
; That "/ dir / incl" also allows access to "/ dir / include" and "/ dir / incls"
; If you want to access control in a specified directory, then add a slash in the end.

[PHP-Core-Safe]

allow_url_fopen = On
; Is allowed to open remote file

allow_url_include = Off
; Whether to allow include / require remote file.

disable_classes =
; The directive to accept a comma-separated list of class names, to disable a particular class.

disable_functions =
; The directive to accept a comma-separated list of function names, to disable a particular function.

enable_dl = On
; Whether to allow the use dl () function. dl () function will only install PHP as an apache module when effective.
; Disable dl () function is mainly for security reasons, because it can bypass the open_basedir restriction orders.
; In safe mode, always disable dl () function, regardless of how to set up here.
; PHP6 remove the directive is equivalent to Set Off.

expose_php = On
; Are exposed to PHP is installed on the server of the facts (in the http header with its signature).
; It does not have a direct security threat, but it makes the client know the server installed PHP.

open_basedir =
; Will allow the operation of all PHP files (including the file itself) are limited to a directory listing under this group.
; When a script tries to open a specified directory tree, file, will be rejected.
; All the symbolic links are resolved, it is not possible through the symbolic link to avoid this limitation.
; Special value '.' Specifies the directory the script is stored will be used as reference catalog,
; But some danger, because the script's working directory can be easily chdir () changes.
; For the shared server, in httpd.conf in different virtual host or directory flexibility to set the directive will become very useful.
; In Windows using a semicolon-separated directory, UNIX system using a colon-separated directory.
; As Apache module, open_basedir paths from parent directories will automatically be inherited.
; The specified limit is actually a prefix, not a directory name,
; That "/ dir / incl" also allows access to "/ dir / include" and "/ dir / incls",
; If you want to access control in a specified directory, then in the end with a slash.
; Default is to allow open all the files.

sql.safe_mode = Off
; Whether to use SQL safe mode.
; If you open, the default value specified database connection function will be used to support these default values instead of parameters.
; For each different database connection function, the default values, please refer to the corresponding manual page.

[PHP-Core-Error]

error_reporting = E_ALL & ~ E_NOTICE
; Error reporting level is a superposition of the field, recommended E_ALL | E_STRICT
; 1 E_ERROR fatal run-time errors
; 2 E_WARNING run-time warnings (non fatal errors)
; 4 E_PARSE compile-time parse errors
; 8 E_NOTICE run-time alerts (often bug, it may be intentional)
; 16 E_CORE_ERROR PHP startup fatal error during initialization
; 32 E_CORE_WARNING PHP startup initialization warnings (non-fatal error)
; 64 E_COMPILE_ERROR fatal error when compiling
; 128 E_COMPILE_WARNING compile-time warnings (non-fatal error)
; 256 E_USER_ERROR user-defined fatal error
; 512 E_USER_WARNING user-defined warnings (non fatal errors)
; 1024 E_USER_NOTICE user-defined reminders (often bug, it may be intentional)
; 2048 E_STRICT warning standardized coding (how to modify the proposal to move forward compatible)
; 4096 E_RECOVERABLE_ERROR almost fatal run-time error, if no capture is regarded as E_ERROR
; 6143 E_ALL E_STRICT addition to all the wrong things (PHP6 for 8191, which contains all)
; Also can use 2147483647 (all bits are all 1) open now or in the future all kinds of errors that may occur

track_errors = Off
; Is saved in the variable $ php_errormsg an error or warning messages recently.

display_errors = On
; Whether the error information as part of the output display.
; In the final release of the web site, strongly suggest that you turn off this feature, and instead of using the error log (see below).
; In the final release of the web site, this feature may be exposed to open some security information
; Such as web services on your path to the file, database planning, or other information.

display_startup_errors = Off
; Whether to display an error when PHP starts.
; If display_errors directive is turned on, turn off this parameter will not show an error when PHP starts.
; Suggest you turn off this feature, unless you have to be used for debugging.

report_memleaks = On
; Whether the report memory leaks. This is only compiled in debug mode in order to play a role in PHP,
; And must be included in the error_reporting directive E_WARNING

report_zend_debug = On
; No documentation

html_errors = On
; Whether the use of HTML tags in error messages.
; Note: Do not publish the site use this feature!

docref_root =; "http://localhost/phpmanual/"
docref_ext =; ". html"
; If you open the html_errors directive, PHP will display an error message on the super-connected,
; Direct link to a description of this error or function causing the error page.
; You can download from the http://www.php.net/docs.php php manual
; And docref_root instruction manual pointing to your local directory where the URL.
; You also have to set docref_ext directive to specify the file extension (must contain'.')。
; Note: Do not publish the site use this feature.

error_prepend_string =; "<font color=#f00>"
; For the error message string before the output
error_append_string =; "</ font>"
; For the error message string after the outputs

xmlrpc_errors = Off
xmlrpc_error_number = 0
; No documents

[PHP-Core-Logging]

define_syslog_variables = Off
; Whether the definition of the various system log variables, such as: $ LOG_PID, $ LOG_CRON so.
; Turn it off to improve the efficiency of a good idea.
; You can call at runtime define_syslog_variables () function to define these variables.

error_log =
; The error log records to which file. The file must be on the Web server user can write.
; Syslog to the system log that records (NT event log under, Unix under the syslog (3))
; If not set any value here, the error will be recorded in Web server error log.

log_errors = Off
; Whether the log file records error, where the record depends on the specific error_log directive.
; Strongly suggest that you publish the web site in the final use of logging the error, rather than direct output
; This will allow you not only know that there is a problem, they will not expose sensitive information.

log_errors_max_len = 1024
; Set the error log added error message associated with the source of the maximum length of errors.
; Here to set the value on the display and record the error and $ php_errormsg are valid.
; Set to 0 to allow unlimited length.

ignore_repeated_errors = Off
; Record error log, if ignored repeated error messages.
; Error information must appear in the same file is considered to repeat the same line of Cai Bei.

ignore_repeated_source = Off
; Whether to ignore an error message when ignoring repeated repeated source of errors.

[PHP-Core-Mail]
; For the Mail functions to be available, PHP must be compiled with access to the sendmail program.
; If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail package.
; PHP will first look for the PATH environment variable to search for sendmail, then in the following search:
; / Usr / bin: / usr / sbin: / usr / etc: / etc: / usr / ucblib: / usr / lib
; Strongly recommended to find in the PATH of sendmail.
; In addition, the user must be able to compile PHP to access sendmail program.

SMTP = "localhost"
; Mail () function to send mail SMTP server host name or IP address. Only for win32.

smtp_port = 25
; SMTP server port number. Only for win32.

sendmail_from =
; Send messages using the "From:" header in the email address. Only for win32
; The options also sets the "Return-Path:" header.

sendmail_path = "-t-i"
; Only for unix, also support the argument (default is 'sendmail-t-i')
; Sendmail program path, usually "/ usr / sbin / sendmail or / usr / lib / sendmail".
; Configure script will try to find the program and set to default values, but if it fails, you can set it here.
; Not using sendmail should set this directive to the system for the sendmail replacement program (if any).
; For example, Qmail users can normally set to "/ var / qmail / bin / sendmail" or "/ var / qmail / bin / qmail-inject".
; Qmail-inject does not require any option to process mail correctly.

mail.force_extra_parameters =
; As an additional parameter to the sendmail database mandatory parameter value specified.
; These parameters will always replace the mail () The first five parameters, even in safe mode as well.

[PHP-Core-ResourceLimit]

default_socket_timeout = 60
; Default socket timeout (seconds)

max_execution_time = 30
; The maximum allowable execution time of each script (s), 0 means no limit.
; This parameter helps prevent the bad script endless occupation server resources.
; The directive only affects the running time of the script itself, any other costs in addition to the time the script runs,
; As with system () / sleep () function to use, database query, file uploads, etc., are not included.
; In safe mode, you can not use ini_set () at runtime to change the settings.

memory_limit = 128M
; A script is allowed to the maximum number of bytes of memory (you can use the K and M as the unit).
; This helps to prevent the consumption of poor-quality script, complete all the memory on the server.
; To be able to use the directive to use "- enable-memory-limit" configuration options.
; If you want to abolish the memory limit, it must be set to -1.
; Set up the instruction, memory_get_usage () function will become available.

max_input_time = -1
; Each script parsing input data (POST, GET, upload) the maximum allowable time (seconds).
; -1 That is not restricted.

max_input_nesting_level = 64
; Input variables of maximum nesting depth (no more explain the document)

post_max_size = 8M
; Allow the maximum byte length of the POST data. This setting also affects file upload.
; If the POST data exceed the limit, then $ _POST and $ _FILES to be empty.
; To upload large files, this value must be greater than upload_max_filesize directive value.
; If memory limit is enabled, then the value should be less than the value of memory_limit directive.

realpath_cache_size = 16K
; Specified PHP to use realpath (standardized absolute path name) buffer size.
; In PHP to open a large number of file system should increase the value to improve performance.

realpath_cache_ttl = 120
; Realpath buffer information is valid (in seconds).
; Few changes to the file system, can increase the value to improve performance.

[PHP-Core-FileUpLoad]

file_uploads = On
; Whether to allow HTTP file uploads.
; See the upload_max_filesize, upload_tmp_dir, post_max_size directives

upload_max_filesize = 2M
; To allow the maximum size of uploaded file.

upload_tmp_dir =
; File upload store temporary files directory (must be written in PHP process user directory).
; If not specified PHP will use the system default temporary directory.

[PHP-Core-MagicQuotes]
; PHP6 delete the following command, equivalent to all the Off

magic_quotes_gpc = Off
; Whether to enter the GET / POST / Cookie data with automatic string escape ('"\ NULL).
; Here to set will automatically affect the $ _GEST $ _POST $ _COOKIE array value.
; If we magic_quotes_sybase directive of the directive and open at a time, only the single quote (') escape to (''),
; Other special characters will not be escaped, that is ("\ NULL) will remain intact!!
; The proposed closure of this character, and use a custom filter function.

magic_quotes_runtime = Off
; Whether the run-time data generated from external sources using automatic string escape ('"\ NULL).
; If open the command, then most of the functions from external resources (databases, text files, etc.) to return data will be escaped.
; Example: SQL query using the data obtained with the exec () function of the data, etc.
; If we magic_quotes_sybase directive of the directive and open at a time, only the single quote (') escape to (''),
; Other special characters will not be escaped, that is ("\ NULL) will remain intact!!
; The proposed closure of this feature, as the case may use a custom filter function.

magic_quotes_sybase = Off
; Whether to adopt the form of automatic string escaping Sybase (indicated with''')

[PHP-Core-HighLight]

highlight.bg = "# FFFFFF"
highlight.comment = "# FF8000"
highlight.default = "# 0000BB"
highlight.html = "# 000000"
highlight.keyword = "# 007700"
highlight.string = "# DD0000"
; Color syntax highlighting mode (usually for display. Phps files).
; As long as something can be <font color=xxx> able to accept work.

[PHP-Core-Langue]

short_open_tag = On
; It allows the use of "<??>" Short logo. Otherwise, you must use "<? Php?>" Long identified.
; Unless your php program to run only in a controlled environment, and only their own use, or do not use short tags.
; If you want to and use of XML combined with PHP, you can choose to disable this option in order to facilitate direct embedded "<? Xml ...?>",
; Or you must use PHP to output: <? Echo '<? Xml version = "1.0"';?>
; This directive also affects the shorthand "<?=", it "<? Echo" equivalent, it must be opened to use short tags.

asp_tags = Off
; Whether to allow ASP-style tags "<%%>", which also affects the shorthand "<%="。
; PHP6 will remove this command

arg_separator.output = "&"
; PHP generated URL in the separator used to separate parameters.
; Also can use "&" or "," and so on.

arg_separator.input = "&"
; PHP parsing URL variables used in the separator list.
; String each character will be treated as separator.
; Also can use "&" and so on.

allow_call_time_pass_reference = On
; Are forced to call in a function parameters passed by reference (each time you use this feature will receive a warning).
; Php against this practice and removed in PHP6 in the instruction (equivalent to Set Off), as it affects the code clean.
; Encouragement is clearly specified in the function declaration in which parameters passed by reference.
; We encourage you to turn off this option to ensure your script in future versions of the language can still work.

auto_globals_jit = On
; Is only used to the $ _SERVER and $ _ENV variable when creating (rather than in a startup script automatically created).
; If not in the script to use these arrays, open the command will be given a performance upgrade.
; To the directive entered into force, must be closed register_globals and register_long_arrays directive.

auto_prepend_file =
auto_append_file =
; Specify the main file before / after the automatic parsing of the file name. Empty disables the feature.
; The file is like calling the include () function is included as come in, so will the value of using the include_path directive.
; Note: If the script exit () termination, then the suffix will not happen automatically.

variables_order = "EGPCS"
; PHP Registration Environment, GET, POST, Cookie, Server variable order.
; Respectively E, G, P, C, S said, according to registration from left to right, the new value overwrites the old value.
; For example, set to "GP" will result in coverage with the same name GET POST variable variable
; And to totally ignore the Environment, Cookie, Server variables.
; Recommended "GPC" or "GPCS", and use getenv () function to access environment variables.

register_globals = Off
; Whether the E, G, P, C, S variable is registered as global variables.
; Open the instructions may cause serious security problems, unless your script after very careful examination.
; Recommended predefined super-global variables: $ _ENV, $ _GET, $ _POST, $ _COOKIE, $ _SERVER
; The impact of instruction by the variables_order directive.
; PHP6 this directive has been removed.

register_argc_argv = On
; Whether the statement $ argv and $ argc global variables (including method of using GET information).
; Recommended not to use these two variables, and turn off the instruction to improve performance.

register_long_arrays = On
; Whether to enable old-style array of long (HTTP_ * _VARS).
; Encourage the use of ultra-short-style pre-defined global array, and close the properties for better performance.
; PHP6 this directive has been removed.

always_populate_raw_post_data = Off
; It always generates $ HTTP_RAW_POST_DATA variable (raw POST data).
; Otherwise, this variable can not be identified only in the event of data produced when the MIME type.
; However, better access to raw POST data is php: / / input.
; $ HTTP_RAW_POST_DATA for enctype = "multipart / form-data" in the form data is not available.

unserialize_callback_func =
; If the solution serialization processors need to instantiate an undefined class
; Here specified callback function will be the undefined class name as a parameter unserialize () call,
; So as not to be incomplete "__PHP_Incomplete_Class" object.
; If there are no specified function, or the specified function does not contain (or realized) that defined the class, will display a warning message.
; So only really need to achieve such a callback function when setting the directive.
; To disable this feature, you can just be empty.

y2k_compliance = On
; It mandatory to open in 2000 to adapt (and possibly non-Y2K caused the browser to adapt to the problem).

zend.ze1_compatibility_mode = Off
; Whether to use compatible Zend Engine I (PHP 4.x) model. PHP6 will remove the command (equivalent to Off).
; This will affect the replication of the object is constructed (the object will have no attributes FALSE or 0), more.
; Compatibility mode, the object will be passed by value instead of the default by reference.

precision = 14
; Float data show that the effective number of bits.

serialize_precision = 100
; Will float and double data precision when serialized store (effective number of bits).
; Default values to ensure that floating-point type data are decoded solution serialization process will not lose data.

[PHP-Core-OutputControl]
; Output control function is useful, especially in the output of the information has been sent after the case of HTTP headers.
; Output control function will not act on the header () or setcookie () function to send the HTTP headers, etc.,
; And will only affect similar to echo () function embedded in the output of information and information between the PHP code.

implicit_flush = Off
; Asking PHP output layer after each block automatically refresh the data output.
; This is equivalent to each print (), echo (), HTML block is automatically called after the flush () function.
; Open the option of the program execution performance severely affected, usually only recommended for debugging use.
; In the CLI SAPI implementation mode, the command defaults to On.

output_buffering = 0
; Output buffer size (bytes). Recommended value is 4096 ~ 8192.
; Output buffer allows you to output text content even after sending HTTP headers (including cookies).
; The cost is a little slower pace of output layer.
; Set the output buffer can reduce the write, and sometimes also reduce the network data packet sent.
; This parameter depends very much on the actual benefits are what you use Web server and what kind of script.

output_handler =
; Will redirect all the output of the script to an output handler.
; For example, redirected to mb_output_handler () function, character encoding will be transparently converted to the specified encoding.
; Once you specify here, the output processing, the output buffer will be automatically opened (output_buffering = 4096).
; Note 0: here only use the PHP built-in functions, custom functions to be used in the script ob_start () specified.
; Note 1: Portable scripts can not rely on the directive, but should use ob_start () function to explicitly specify the output handler.
; Use this directive may result in some you are not familiar with the script error.
; Note 2: you can not use "mb_output_handler" and "ob_iconv_handler" two output processing functions.
; You can not use both "ob_gzhandler" output handler and the zlib.output_compression directive.
; Note 3: If you use zlib.output_handler to open zlib output compression, the directive must be empty.

[PHP-Core-Directory]

include_path = ".: / path / to / php / pear"
; Specify a directory for require (), include (), fopen_with_path () function to find files.
; Format and system PATH environment variable (UNIX separated with a colon, Windows under a semicolon separated):
; UNIX: "/ path1: / path2"
; Windows: "\ path1; \ path2"
; In the include path to use '.' May allow a relative path, it represents the current directory.

user_dir =
; Tell php using / ~ username to open the script to which directory to look for, is valid only in the non-empty.
; That is used in the user directory under the base directory of PHP file name, such as: "public_html"

extension_dir = "/ path / to / php"
; Storage extension (module) of the directory, which is used to find dynamic PHP extension directory.
; Windows under the default is "C: / php5"

[PHP-Core-HTTP]

default_mimetype = "text / html"
default_charset =; "gb2312"
; PHP will automatically default output "Content-Type: text / html" HTTP header.
; If the default_charset directive is set to "gb2312",
; It will automatically output "Content-Type: text / html; charset = gb2312".
; PHP6 default_charset directive against the use of, and recommended unicode.output_encoding instructions.

[PHP-Core-Unicode]
; PHP6 on ICU (International Components for Unicode) library provides a full Unicode support.
; Compiled to use - with-icu-dir = <dir> designated ICU header files and libraries installed.
; Addition detect_unicode, the others were PHP6 new instructions.
;
; PHP6 is still a lack of information now, so this part of the content may be incomplete or even wrong.

detect_unicode = On
; Instructions Zend Engine script by checking whether the BOM (byte order mark) to detect whether the script contains multibyte characters.
; Proposed closure. PHP6 has been canceled this order and instructions to replace it with unicode.script_encoding function.

unicode.semantics = Off
; Whether to enable Unicode support.
; If you open the command, then PHP will become a full Unicode environment, such as:
; All the strings and the variables from the HTTP acceptance will become Unicode, all the PHP identifiers also can use Unicode characters.
; It, PHP will use Unicode strings internally, and external non-Unicode character in charge of automatic conversion,
; Such as: HTTP input and output, stream, file system operations, etc., and even its own php.ini will be in accordance with the UTF-8 encoding to resolve.
; Open the instructions, you must explicitly specify the binary string. PHP will not do any of the contents of the binary string assumption
; So your program must guarantee proper handling of binary strings.
; If you turn off this directive, PHP's behavior will be exactly the same behavior as before:
; String does not become Unicode, documents and binary strings will also be backward compatible, php.ini will be in accordance with the "as-is" style of analysis.
; Whether or not to open this directive, all the functions and operator support for Unicode strings are transparent.

unicode.fallback_encoding = UTF-8
; To all other unicode .* _encoding command to set the default value.
; That if a unicode .* _encoding directive not explicitly set, it will use the value set here.

unicode.runtime_encoding =
; Run-time code specifies the PHP engine, convert the binary string within the encoding used.
; Here to set the I / O related operations (such as: written to standard output / read the file system / decoding HTTP input variables) has no effect.
; PHP also allows you to clear the string to convert:
; (Binary) $ str - a string into a binary
; (Unicode) $ str - string converted to Unicode
; (String) $ str - On if unicode.semantics is transformed into a Unicode string, or into a binary string
; For example, if the value of the order iso-8859-1 and $ uni is a Unicode string, then
; $ Str = (binary) $ uni
; Will wait until a use iso-8859-1-encoded binary string.
; In the connection, compared to before you pass parameters related PHP will implicitly convert the string Unicode, and then operate.
; Example, in the binary string to connect with Unicode, when
; PHP will use the settings here, the binary string is converted to Unicode strings, and then operate.

unicode.output_encoding =
; PHP output the string to use non-binary encoding.
; Automatically 'print' and 'echo' of the type of output is converted to the encoding set here (not on the binary string conversion).
; As to external resources like file write time
; You have to rely on the flow characteristics or use the Unicode encoding function extended to encode the data manually.
; In PHP6 the default_charset directive against the use of the previous, but recommended the use of the directive.
; Previous default_charset directive only specifies the Content-Type header in the character set, but not on the actual output to do any conversion.
; In PHP6 in, default_charset directive only unicode.semantics time to be effective for the off.
; Set up the command will output the Content-Type header of the 'charset' part of the fill in the order of the value of
; Regardless default_charset instructions how to set up.

unicode.http_input_encoding =
; Via HTTP access to the variables (such as $ _GET and _ $ POST) content encoding.
; Until April 2007 this feature is still under development ....

unicode.filesystem_encoding =
; File system directory name and file name encoding.
; File system related functions (such as opendir ()) will use this code to receive and return the file name and directory name.
; Here to set the file system must be fully consistent with the actual encoding used.

unicode.script_encoding =
; PHP script its own default encoding.
; You can use any code to write ICU support PHP scripts.
; If you want a separate script file for setting the encoding, you can use in the beginning of the script
; <? Php declare (encoding = 'Shift-JIS');?>
; To specify. Note: You must be the beginning of the first line, comprehensive do not have any character (including blank).
; The method in the script can only affect it will not affect any other scripts included.

unicode.stream_encoding = UTF-8
unicode.from_error_mode = 2
unicode.from_error_subst_char = 3f
; No documents

[PHP-Core-Misc]

auto_detect_line_endings = Off
; Whether the PHP automatically detect end of line (EOL).
; If the script you have to deal with Macintosh files
; Or you run the Macintosh, while also dealing with unix or win32 files
; Open the instructions so that PHP can automatically detect the EOL, so fgets () and file () function can work properly.
; But also lead to the Unix systems use carriage return (CR) as the people involved in the project delimited incompatible behavior.
; In addition, detection of the first line of EOL habits will have a small performance loss.

browscap =; "c: / windows/system32/inetsrv/browscap.ini"
; Only need this set up PWS and IIS
; You can http://www.garykeith.com/browsers/downloads.asp
; Get a browscap.ini file.

ignore_user_abort = Off
; Whether the suspension request, even if the user also insisted that to complete the request.
; In the implementation of a long time should consider a request to open the it,
; As long a request may lead the user to terminate or browser timeouts.

user_agent =; "PHP"
; Definition of "User-Agent" string

; Url_rewriter.tags = "a = href, area = href, frame = src, form =, fieldset ="
; Although this directive is the core part of PHP, but the configuration of the module for the Session

; Extension =
; In PHP dynamic extensions loaded at startup. For example: extension = mysqli.so
; "=" After the name of the file can only use the module, and can not contain path information.
; Path information should be provided only by the extension_dir directive.
; Idea, in the windows, the following extensions have been built:
; Bcmath; calendar; com_dotnet; ctype; session; filter; ftp; hash
; Iconv; json; odbc; pcre; Reflection; date; libxml; standard
; Tokenizer; zlib; SimpleXML; dom; SPL; wddx; xml; xmlreader; xmlwriter

[PHP-Core-CGI]
; These instructions only in the PHP running in CGI mode when it is effective

doc_root =
; PHP in "CGI root directory." Valid only in the non-empty.
; The web server's main document directory (eg "htdocs") placed in an executable program / script is considered unsafe,
; Such as configuration errors and the script as a normal html display.
; So many system administrators are in the main document directory outside of a specialized set can only be accessed through the CGI directory
; The contents of the directory will be resolved and not stood displayed.
; If you set this, then PHP will only explain the doc_root directory files
; And to ensure the directory will not be outside the PHP script interpreter implementation (user_dir excluded).
; If not specified when compiling PHP FORCE_REDIRECT, and in non-IIS servers to run CGI,
; You must set this directive (see the manual safety section).
; Alternative is to use the cgi.force_redirect directive.

cgi.discard_path = Off
; No documentation (PHP6 new instructions)

cgi.fix_pathinfo = On
; Whether the CGI to provide real PATH_INFO / PATH_TRANSLATED support (to comply with cgi specification).
; Previous behavior was to set PATH_TRANSLATED SCRIPT_FILENAME, and no matter what PATH_INFO is.
; Open this option will allow PHP to amend its path to comply with the CGI specification, or irregularities will still use the old behavior.
; Encourage you to open the command, and fix the script to use SCRIPT_FILENAME instead of PATH_TRANSLATED.
; The PATH_INFO more information please see the cgi specification.

cgi.force_redirect = On
; It mandatory to open cgi redirect. Open it is strongly recommended that run the php CGI to provide security.
; You if your close it, please be responsible for the consequences of their own.
; Note: IIS / OmniHTTPD / Xitami on, you must close it!

cgi.redirect_status_env =
; If cgi.force_redirect = On, and, in addition to Apache and Netscape servers running PHP,
; May need to set up a cgi redirect environment variable name, PHP will look for to know whether to continue execution.
; Set this variable would lead to security holes, be sure to set the pre-clear what they are doing.

cgi.rfc2616_headers = 0
; Designated sending HTTP response code in PHP to use what header.
; 0 sends a "Status:" header, Apache and other web servers support.
; If set to 1, using the RFC2616 standard PHP first.
; Unless you know what they are doing, or to keep its default value of 0

cgi.nph = Off
; In CGI mode is mandatory for all requests to send "Status: 200" status code.

cgi.check_shebang_line = On
; CGI PHP checks whether the top of the script to #! Start line.
; If the script you want to run it can only be alone in PHP CGI mode, then the starting line is necessary.
; If you open the command, then the PHP CGI mode skips this line will be.

fastcgi.impersonate = Off
; IIS FastCGI support in imitation of the capacity of the client security token.
; This allows IIS to define the request runs under the security context.
; Apache's mod_fastcgi does not support this feature (03/17/2002)
; If IIS is set to run in On, the default is Off.

fastcgi.logging = On
; Whether the records conducted through FastCGI connection.

[PHP-Core-Weirdy]
; These options only exist in the document, do not exist in the phpinfo () function output

async_send = Off
; Whether the asynchronous send.

from =; "john@doe.com"
; Define anonymous ftp password (one email address)

;;;;;;;;;;;;;;;;;;
;; Near the core module;;
;;;;;;;;;;;;;;;;;;

[Pcre]
; Perl-compatible regular expression module

pcre.backtrack_limit = 100000
; PCRE maximum back (backtracking) steps.

pcre.recursion_limit = 100000
; PCRE maximum recursion (recursion) depth.
; If you set the value very high, the process may run out of stack space, causing the collapse of PHP.

[Session]
; Unless session_register () or $ _SESSION registered a variable.
; Otherwise, whether or not to use the session_start (), are not automatically add any session record.
; Includes resource variables or objects with circular references include a reference point to the object itself can not be saved in the session.
; Register_globals directive will affect the session variable storage and recovery.

session.save_handler = "files"
; Storage and retrieval of data associated with the session name of the processor. The default for the file ("files").
; If you want to use a custom processor (eg processor-based database), can be "user".
; Set "memcache", you can use memcache as a session processors (need to specify "- enable-memcache-session" compile option).
; There is a processor using PostgreSQL: http://sourceforge.net/projects/phpform-ext/

session.save_path = "/ tmp"
; The parameters passed to the storage processor. For files processor, this value is to create session data file.
; Windows temporary folder under the default path.
; You can use the "N; [MODE;] / path" that the definition of the path model (N is an integer).
; N that the use of N depth of subdirectories, rather than all data files are stored in a directory.
; [MODE;] optional, you must use the 8 hexadecimal number, the default "600", that file access.
; This is a large number of sessions to improve the performance of a good idea.
; Note 0: "N; [MODE;] / path" on both sides of the double quotes can not be omitted.
; Note 1: [MODE;] will not rewrite the process umask.
; Note 2: php does not automatically create the folder structure. Please use the ext / session directory mod_files.sh script creates.
; Note 3: If the folder can be unsafe for users to access (such as the default "/ tmp"), it will lead to security vulnerabilities.
; Note 4: When N> 0 will be invalid automatically when the garbage collection, see the following specific part of the refuse collected.
; [Safety Tips] proposed for each different virtual hosts are set each in a different directory.
;
; For "memcache" processor, need to define a comma-separated server URL is used to store session data.
; Such as: "tcp: / / host1: 11211, tcp: / / host2: 11211"
; Each URL can contain the parameters passed to the server, the available parameters and Memcache:: addServer () the same way.
; Such as: "tcp: / / host1: 11211? Persistent = 1 & weight = 1 & timeout = 1 & retry_interval = 15"

session.name = "PHPSESSID"
; Used in the session ID cookie ID name can only contain letters and numbers.

session.auto_start = Off
; In the customer access to any page are automatically initialize the session, the default ban.
; Because the class definition must be loaded before the session starts, so if open this option, you can not store objects in session.

session.serialize_handler = "php"
; Used to serialize / de-serialization of data processors, php is the standard serialization / de-serialization processor.
; Also can use the "php_binary". When enabled WDDX support future will only use the "wddx".

session.gc_probability = 1
session.gc_divisor = 100
; Defined in every session initialization, start the garbage collection process of probability.
; The collection probability is calculated as follows: session.gc_probability / session.gc_divisor
; On the session page visit more frequently, the probability should be smaller. Recommended value of 1 / 1000 ~ 5000.

session.gc_maxlifetime = 1440
; More than the number of seconds within the meaning of this parameter, the saved data will be regarded as 'junk' clean-up by the garbage collection process.
; Determine access to the data standard is the last time (for the FAT file system data is the last refresh time).
; If multiple scripts share the same session.save_path directory but session.gc_maxlifetime different
; Then all session.gc_maxlifetime directive will be subject to the minimum.
; If you use multi-subdirectory to store data files, garbage collection procedure does not automatically start.
; You must use a written your own shell scripts, cron entry, or other means to perform garbage collection.
; For example, the following script sets up the "session.gc_maxlifetime = 1440" (24 minutes):
; Cd / path / to / sessions; find-cmin +24 | xargs rm

session.referer_check =
; If the request header "Referer" field does not contain the string specified here is the session ID will be considered invalid.
; Note: If the request header does not exist "Referer" field, then the session ID will still be considered valid.
; Default is empty, that is, do not do checks (all as valid).

session.entropy_file =; "/ dev / urandom"
; Additional session ID used to create high-entropy value of external resources (files)
; Such as UNIX systems "/ dev / random" or "/ dev / urandom"

session.entropy_length = 0
; From a high entropy source in the number of bytes read (recommended value: 16).

session.use_cookies = On
; Whether to use the session cookie stored in the client ID

session.use_only_cookies = Off
; If only to use the session cookie stored in the client ID. PHP6 the default value On.
; Open the URL to use this option to avoid security problems caused by passing the session.
; But the client will disable the Cookie session does not work.

session.cookie_lifetime = 0
; Pass the session ID in the Cookie is valid (in seconds), 0 means that only valid during the browser open.
; [Tip] If you can not guarantee that the server time and client time to the same strict, do not change this default value!

session.cookie_path = "/"
; Pass the session ID in Cookie role in the path.

session.cookie_domain =
; Pass the session ID in the Cookie scope.
; Default is empty, said that according to norms generated cookie hostname.

session.cookie_secure = Off
; If only through a secure connection (https) to send cookie.

session.cookie_httponly = Off
; Whether the cookie to add httpOnly flag (only HTTP protocol to allow access),
; This will result in client-side scripting (JavaScript, etc.) can not access the cookie.
; Open the instruction can be effective in preventing XSS attacks by hijacking the session ID.

session.cache_limiter = "nocache"
; Set to (nocache | private | public) to specify the session page cache control mode
; Or set to null to prevent the http response header to send the command to disable caching.

session.cache_expire = 180
; Specify the session page in the client cache in the lifetime (minutes)
; Session.cache_limiter = nocache time, here to set invalid.

session.use_trans_sid = Off
; Whether the use of codes in the URL displayed in SID (session ID).
; Default is prohibited, because it will give your users the security risk:
; 1 - the user may be a valid sid's URL via email / irc / QQ / MSN ... way to tell to others.
; 2 - contains a valid sid the URL may be stored in a public computer.
; 3 - Users can save the URL with fixed sid in their favorites or browsing history inside.
; Based on URL based session management is always more than Cookie's session management with more risk, it should be banned.

session.bug_compat_42 = On
session.bug_compat_warn = On
; PHP4.2 a previous version did not specify the "BUG":
; Even in the case of register_globals = Off also allows the global session variable initialization,
; If you PHP4.3 later versions use this feature displays a warning.
; Proposal to close the "BUG" and displays a warning. PHP6 remove the two directives, the equivalent of all the Set Off.

session.hash_function = 0
; Generated SID hash algorithm. The security of SHA-1 higher
; 0: MD5 (128 bits)
; 1: SHA-1 (160 bits)
; Recommend the use of SHA-1.

session.hash_bits_per_character = 4
; Specified in the SID string for each character stored within the number of bit,
; These binary hash function operation is the result.
; 4: 0-9, af
; 5: 0-9, av
; 6: 0-9, az, AZ, "-", ","
; Recommended value of 5

url_rewriter.tags = "a = href, area = href, frame = src, form =, fieldset ="
; This directive is part of PHP core, not part of the Session module.
; Specify what HTML tags rewritten to include SID (only valid when session.use_trans_sid = On Time)
; Form and fieldset are special:
; If you include them, URL rewriting device will add a hidden "<input>", which contains this should be appended to the URL on the additional information.
; If you want to meet XHTML standards, please remove the form entry fields in the form before and after the addition <fieldset> tag.
; Note: All valid entries require an equal sign (even if not followed by value).
; Recommended value "a = href, area = href, frame = src, input = src, form = fakeentry".

session.encode_sources = "globals"
; PHP6 the controversial directive has not yet decided whether to adopt the directive. Also there is no documentation.

;;;;;;;;;;;;;;;;
;; Other modules;;
;;;;;;;;;;;;;;;;

[APC-3.0.16]
; Alternative PHP Cache for caching and optimizing PHP intermediate code
; Compilation / installation / configuration information is located in the INSTALL file in the source tree

apc.enabled = On
; Is enabled APC, if the APC is statically compiled into PHP want to disable it, this is the only way.

apc.enable_cli = Off
; Whether the CLI version of APC function is enabled only for testing and debugging purposes only open this directive.

apc.cache_by_default = On
; Whether buffering is enabled by default for all files.
; If set to Off, and with the plus sign to the beginning of the apc.filters together with the instructions, then the files matching the filter only when cached.

apc.file_update_protection = 2
; When you run the server on a modified file, you should implement the atomic operation.
; Is first written into a temporary file, then rename the file (mv) to the final name.
; Text editor, as well as cp, tar and other procedures are not so operated, resulting in an incomplete may be buffered paper.
; The default value of 2 means that access to the file modification time when if found less than 2 seconds from the time of the visit is not do a buffer.
; The unfortunate visitors may be incomplete content, but the impact is not bad by caching magnification.
; If you can ensure that all update operations are atomic operations, you can turn off this feature with a 0.
; If your system because a large number of IO operations led to the slow update, you will need to increase this value.

apc.filters =
; A comma-separated list of POSIX extended regular expressions.
; If any of the source file name and pattern matching, the file will not be cached.
; Note that matches the file name is passed to include / require file name, not the absolute path.
; If the regular expression the first character is "+" means that the expression of any matching files will be cached,
; If the first character is "-" is any match will not be cached. "-" Is the default value, can be omitted.

apc.ttl = 0
; Cache entry in the buffer in the number of seconds allowed to stay. 0 means never timeout. Recommended value is 7200 ~ 86400.
; Set to 0 means that the buffer may be filled with the old cache entries, which will lead to a new cache entry.

apc.user_ttl = 0
; Similar apc.ttl, but for each user, the proposed value of 7200 to 86400.
; Set to 0 means that the buffer may be filled with the old cache entries, which will lead to a new cache entry.

apc.gc_ttl = 3600
; Cache entry in the garbage collection table to the existing number of seconds.
; This value provides a safety measure, even if a server process in the implementation of the source file cache collapse
; And that the source file has been modified, the memory allocated for the old version will not be recovered until it reaches the TTL value so far.
; Set to zero to disable this feature.

apc.include_once_override = Off
; Optimization include_once () and require_once () function to avoid the additional system calls.

apc.max_file_size = 1M
; Prohibit larger than the size of the file is cached.

apc.mmap_file_mask =
; If you use the - enable-mmap (enabled by default) for the APC compiled MMAP support
; Where value is passed to the mmap module file mktemp-style mask (recommended value is "/ tmp / apc.XXXXXX").
; The mask used to determine whether the memory-mapped region to be file-backed or shared memory backed.
; For direct file-backed memory-mapped, to set to "/ tmp / apc.XXXXXX" look (exactly 6 X).
; To use POSIX-style shm_open / mmap need to set "/ apc.shm.XXXXXX" look.
; You can also set to "/ dev / zero" to the anonymous use of the kernel memory map "/ dev / zero" interfaces.
; Do not define the command, said mandatory use of anonymous mapping.

apc.num_files_hint = 1000
; Web server may be included or requested on different script approximate amount of source code files (recommended value is 1024 ~ 4096).
; If you are not sure, then set to 0; This setting is mainly used for the site has thousands of source files.

apc.optimization = 0
; Optimization level (recommended value is 0). Against the use of the directive. In the future may be deleted.
; Positive integer value that the optimizer is enabled, the higher the value, use the more aggressive optimization.
; Higher values may have very limited speed boost, but is still under trial.

apc.report_autofilter = Off
; It records all as early / late binding because the cache is not automatically a script.

apc.shm_segments = 1
; For the compiler to allocate the shared buffer memory block number (recommended value is 1).
; If the APC run out of shared memory, and has apc.shm_size instruction set to the maximum allowed by the system, you can try increasing this value.
; In mmap mode is set to a value other than null and void, because after mmap shared memory segment size is no limit.

apc.shm_size = 30
; Each shared memory block size (in MB, recommended a value of 128 ~ 256).
; Some systems (including most BSD variants) default shared memory block size is small.

apc.slam_defense = 0
; In a very busy server, either start the service or modify the file,
; Are likely due to the multiple processes attempt to cache a document at the same time result in competition.
; This command is used to set the process in dealing with the cache files are not skipped when the percentage of cache step.
; Example, in the event set to 75, said the documents are not cached, 75% of the probability of cache, thus reducing the collision probability.
; Against the use of the directive, encouraging set to 0 to disable this feature. Suggested that the use of apc.write_lock instruction.

apc.stat = On
; Whether the update check to enable scripting.
; Change the command value to be very careful.
; Default values that APC On each request when they check the script if the script has been updated
; If the update is automatically re-compile and cache the compiled content. However, this negative impact on performance.
; If set to Off said they did not check, so performance is greatly improved.
; However, to make the content updates take effect, you must restart the Web server.
; This directive to include / require files just as effective. But the need to note that
; If you are using a relative path, APC must in every include / require time to locate documents are checked.
; And use absolute paths, you can skip the check, so they encourage you to use an absolute path to include / require operations.

apc.user_entries_hint = 4096
; Similar num_files_hint instruction, only for each of the different users.
; If you are not sure, then set to 0.

apc.write_lock = On
; Whether to enable write lock.
; In a very busy server, either start the service or modify the file,
; Are likely due to the multiple processes attempt to cache a document at the same time result in competition.
; Enable the directive to avoid the emergence of competitive conditions.

apc.rfc1867 = Off
; Open the command, for each field just before the file upload field with APC_UPLOAD_PROGRESS,
; APC will automatically create a upload_ <key> user cache entry (<key> is APC_UPLOAD_PROGRESS field values).
; To note that the file upload tracking is not thread-safe in here,
; So if the old files have not been finished and uploaded to upload the new file has started, then lost track of old files.

apc.rfc1867_prefix = "upload_"
; For rfc1867 upload buffer entry entry name prefix

apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
; Need for the APC treated upload rfc1867 implicit form single name

apc.rfc1867_freq = 0
; User rfc1867 upload the file cache entry is updated.
; Values can be a percentage of the total file size, or 'K', 'M', 'G' at the end of the absolute size.
; 0 updates as soon as possible, but this may result in decreased speed.

apc.localcache = Off
; Whether to use non-locking the local process shadow-cache, it can reduce the time to write lock the buffer between the competition.

apc.localcache.size = 512
; Local process shadow-cache, should be set to a value large enough, approximately half of num_files_hint.

apc.stat_ctime = Off
; No documents

[Bcmath]
; For arbitrary precision math provides a binary calculator (Binary Calculator),
; It supports any size and precision of the figures, described as a string.

bcmath.scale = 0
; For all bcmath functions of 10 the number of decimal

[GD]

gd.jpeg_ignore_warning = Off
; Whether the jpeg decoder ignores the warning information (such as unrecognized image format).
; Have image / jpeg and image / pjpeg two MIME types, GD library can only be identified before a traditional format.
; See: http://twpug.net/modules/newbb/viewtopic.php?topic_id=1867&forum=14
; Http://bugs.php.net/bug.php?id=29878
; Http://www.faqs.org/faqs/jpeg-faq/part1/section-11.html

[Filter]
; On unreliable data sources to identify and filter, this extension is experimental.

filter.default = "unsafe_raw"
; Using the specified filters $ _GET, $ _POST, $ _COOKIE, $ _REQUEST data
; Raw data can input_get () function to access.
; "Unsafe_raw" that do not do any filtering.

filter.default_flags =
; Filter_data () function of the default logo.

[Mbstring]
; Module supports multi-byte string

mbstring.language = "neutral"
; Default NLS (the local language setting), the value can be set as follows:
; Default value "neutral" neutral, equivalent unknown.
; "Zh-cn" or "Simplified Chinese", said Simplified Chinese
; "Zh-tw" or "Traditional Chinese", said Chinese Traditional
; "Uni" or "universal" that Unicode
; The directive defines a subsequent mbstring.internal_encoding automatically command defaults
; And mbstring.internal_encoding orders must be placed after the instruction.

mbstring.internal_encoding =
; This directive must be placed in command after mbstring.language.
; Default internal encoding depends on not setting the value mbstring.language instructions:
; "Neutral" corresponds to "ISO-8859-1"
; "Zh-cn" corresponds to "EUC-CN" (equivalent to "GB2312")
; "Zh-tw" corresponds to "EUC-TW" (equivalent to "BIG5")
; "Uni" corresponds to "UTF-8"
; Reminder: For the Simplified Chinese can also force the set to "CP936" (equivalent to "GBK")
; Note: It may SJIS, BIG5, GBK is not suitable as an internal code, but "GB2312" sure no problem.
; Proposed mandatory specified manually

mbstring.encoding_translation = Off
; Whether the incoming HTTP request in accordance with the instructions mbstring.internal_encoding transparent transcoding,
; That is, the input character encoding auto-detection and transparency into its internal encoding.
; Portable library or procedures do not rely on automatic data conversion.

mbstring.http_input = "pass"
; The default HTTP input encoding, "pass" that skip (do not do conversion)
; "Aotu" mbstring.detect_order meaning and interpretation of the same directive.
; Can be set to a single value, can also be set to a comma-separated list.

mbstring.http_output = "pass"
; The default HTTP output encoding, "pass" that skip (do not do conversion)
; "Aotu" mbstring.detect_order meaning and interpretation of the same directive.
; Can be set to a single value, can also be set to a comma-separated list.
; Must output_handler directive is set to "mb_output_handler" can.

mbstring.detect_order =
; Default encoding detection order, "pass" that skip (do not do conversion).
; The default value ("auto") with mbstring.language vary instruction:
; "Neutral" and "universal" corresponds to "ASCII, UTF-8"
; "Simplified Chinese" corresponds to "ASCII, UTF-8, EUC-CN, CP936"
; "Traditional Chinese" corresponds to "ASCII, UTF-8, EUC-TW, BIG-5"
; Proposed force in a controlled environment to manually specify a single value

mbstring.func_overload = 0
; Automatically mb_ * function overloading the corresponding single-byte string functions.
; Such as: mail (), ereg () will be automatically replaced mb_send_mail (), mb_ereg ()
; Available 0,1,2,4 bit-combination. Such as 7 that replaces all. Specific replacement as follows:
; 0: No replacement
; 1: mail () → mb_send_mail ()
; 2: strlen () → mb_strlen (); substr () → mb_substr ()
; Strpos () → mb_strpos (); strrpos () → mb_strrpos ()
; Strtolower () → mb_strtolower (); strtoupper () → mb_strtoupper ()
; Substr_count () → mb_substr_count ()
; 4: ereg () → mb_ereg (); eregi () → mb_eregi ()
; Ereg_replace () → mb_ereg_replace (); eregi_replace () → mb_eregi_replace ()
; Split () → mb_split ()

mbstring.script_encoding =
; Script code used in

mbstring.strict_detection = Off
; Whether to use the strict encoding detection

mbstring.substitute_character =
; When a character can not be decoded when the alternative is to use this character.
; If set to an integer that corresponds to the Unicode value is not set to any value that does not display the error characters.
; Proposals set to "□"

[Mcrypt]
; An interface to mcrypt library, the library supports many kinds of block encryption algorithm.
; Do not recommend the use of the module, because too many problems, it is recommended to encrypt in the database layer.

mcrypt.algorithms_dir =
; Default encryption algorithm modules directory. Is usually "/ usr / local / lib / libmcrypt".
; There is no detailed description of the document, the explanation here may be wrong.

mcrypt.modes_dir =
; The default encryption mode module directory. Is usually "/ usr / local / lib / libmcrypt".
; There is no documentation, the explanation here may be wrong.

[Memcache-2.2.2]
; A high-performance distributed memory object caching system, by maintaining in memory a single large hash table,
; It can be used to store data in various formats, including images, video, files, and the results of database searches.

memcache.allow_failover = On
; Whether an error is encountered transparently failover to other servers.

memcache.chunk_size = 8192
; Data, this value will be set in accordance with block size transfer. The smaller the value of the additional network traffic more.
; If you find that the speed reduction can not explain, you can try to increase this value to 32768.

memcache.default_port = 11211
; To connect to the memcached server using the default TCP port.

memcache.max_failover_attempts = 20
; To receive and send data up to try the number of servers, into the open memcache.allow_failover in effect at the time.

memcache.hash_strategy = "standard"
; Control will be key mapped to the server strategy. Default "standard" that the use of previous versions of the old hash strategy.
; Set to "consistent" in the connection pool allows to add / remove servers without re-calculation of the mapping between key and server relationship.

memcache.hash_function = "crc32"
; Control will be key mapped to the server hash function. Default "crc32" CRC32 algorithm used, but "fnv" said algorithm using the FNV-1a.
; FNV-1a slightly lower rate than the CRC32, but hash better.

[Zlib]
; This module allows PHP to read and write transparent gzip (. Gz) compressed files.

zlib.output_compression = Off
; Whether to use the zlib library to transparently compress the script output.
; The value of the directive can be set to: Off, On, the number of bytes (compressed buffer size, default 4096).
; If you open the command, when the browser sends "Accept-Encoding: gzip (deflate)" head,
; "Content-Encoding: gzip (deflate)" and "Vary: Accept-Encoding" header which will be added to the response header.
; You can answer before the first output with ini_set () function in the script to enable or disable this feature.
; If the output of a "Content-Type: image /??" This response header, compression will not be enabled (in order to prevent Netscape's bug).
; You can output "Content-Type: image /??" After use "ini_set ('zlib.output_compression', 'On')" re-open this feature.
; Note 1: The compression ratio will be affected by the impact of compression buffer size, if you want better compression quality, specify a larger buffer compression.
; Note 2: If you enable the zlib output compression, output_handler directive must be empty, while the value must be set zlib.output_handler instructions.

zlib.output_compression_level = -1
; Compression level can be used is 0 to 9, 0 for no compression. The higher the value the better, but take up more CPU, the proposed value of 1 to 5.
; The default value -1 that use zlib internal default value (6).

zlib.output_handler =
; The Open zlib.output_compression directive case, you can specify the output processor here.
; You can use the processor has "zlib.inflate" (extract) or "zlib.deflate" (compressed).
; If you enable the command, you must set the output_handler directive empty.

[Dbx]
; A database abstraction layer for different database provides a unified interface. Currently supports:
; FrontBase, SQL Server, MySQL, ODBC, PostgreSQL, Sybase-CT, Oracle 8, SQLite

dbx.colnames_case = "unchanged"
; Field names can follow the "unchanged" or "uppercase", "lowercase" way to return.

[MySQLi]
; MySQLi module only with MySQL 4.1.3 or later to work with.

mysqli.max_links = -1
; Each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit

mysqli.default_port = 3306
; Mysqli_connect () to connect to the MySQL database using the default TCP port.
; If there is no default value specified here, will find the following order:
; (1) $ MYSQL_TCP_PORT environment variable
; (2) / etc / services file in the mysql-tcp entry (unix)
; (3) compile-time constant specified MYSQL_PORT
; Note: Win32, only use MYSQL_PORT constant.

mysqli.default_socket =
; Mysqli_connect () to connect to the MySQL server machine when the default socket name to use.
; If not specified, use the built-in MqSQL default.

mysqli.default_host =
; Mysqli_connect () to connect to the MySQL database using the default host. Safe mode is invalid.

mysqli.default_user =
; Mysqli_connect () to connect to the MySQL database using the default user name. Safe mode is invalid.

mysqli.default_pw =
; Mysqli_connect () to connect to the MySQL database using the default password. Safe mode is invalid.
; Save your password in the configuration file is a bad idea, any use of PHP user permissions can run
; 'Echo cfg_get_var ("mysql.default_password")' to display the password!
; And any of the configuration file has read access to the user can see the password.

mysqli.reconnect = Off
; Whether to allow re-connection

[PostgresSQL]
; PostgresSQL 8.0 above module proposal and work together.

pgsql.allow_persistent = On
; Whether to allow persistent connections

pgsql.max_persistent = -1
; The maximum allowed per process persistent connections. -1 Means no limit.

pgsql.max_links = -1
; Each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit.

pgsql.auto_reset_persistent = Off
; Automatically reset in pg_pconnect () on a persistent connection interrupted, testing requires some additional overhead.

pgsql.ignore_notice = Off
; It ignored the reminder message PostgreSQL backend.
; Record back-end of the reminder message requires some small additional overhead.

pgsql.log_notice = Off
; Whether the PostgreSQL backend logs reminder message.
; Only pgsql.ignore_notice = Off when it can be recorded
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of php-5.2 in the php.ini Chinese

  • jquery ajax example

    1. Check js file $. ajax (( type: "GET", url: "test.js", dataType: "script" )) 2.post data $. ajax (( type: "POST", url: "xxxx", data: "name = zhaoaiqing & age = 25", success: function ( ...

  • Strength of live practice teaching materials, suitable for each person team look - UFIDA Hua Table CTO talk about "out of the software factory"

    A few months ago, on reading "Going the software factory," one book, not yet published at that time, it can be considered the reference of the watch. Although the language rather uneventful, but the contents of people really can not but carry on

  • Shoes - Construction Ruby client gadget

    Shoes Ruby are cross-platform GUI applications, recently released a new version, it is a very interesting Ruby GUI client, the following are some characteristics of Introduction: 1. Cross-platform support for windows / linux / mac os 2. Very small, t ...

  • Workspace run under different Eclipse

    Now do live more and more often required to use eclipse in java and ruby & rails project conducted between the tangential shear from the past, because in the rails project used a coloring Aptana preferences, the results open the java project sour ...

  • Software development sunflower Baodian [reprint]

    Master the ability to reuse code very familiar with the new API's fast. This is because, he once used a lot of the API, have a lot of reusable code. He knows what is available and what is deficient. He has been using Qt, also used by gtk +, also used

  • JavaScript String Functions Guinness

    Own JS function 1.Asc (x), Chr (x): convert characters, character code 2. Filter: Search string array of a specific string Format: v = filter (x, s [, include [, compare]]) Examples: Dim x ()={" kjwang "," wangkj "," peter ")

  • RoR explained

    ROR is Ruby on Rails. Ruby is a well-known has been very good dynamic language It's dynamic language. Simple and easy. Dynamic languages are interpreted, but the performance may make a discount, but not absolute, because the application is complex, th

  • can not be represented as java.sql.Timestamp

    Development of procedures for the use of hibernate when, some time there is no need to fill in the fields, but after the hibernate query time reported "Java.sql.SQLException: Value'0000-00-00 'can not be represented as java.sql.Timestamp ...

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries