php Study Notes (php.inc configuration explain)

Php learn php first look at the configuration of the future very helpful, I put together in this configuration instructions php.inc

<? Php
/ *
* Created on 2010-8-10
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
* /

/ /
//;-> Register_globals = Off [Security, Performance]
/ /; No longer registered for input data in global variables (POST, GET, cookies, environment variables, server variables)
/ /; Do not use $ foo, and to use $ _REQUEST ["foo"] (includes any data transmitted via the request, that: POST, GET, cookies, environment variables, server variables),
/ /; Or using the specified $ _GET ["foo"], $ _POST ["foo"], $ _COOKIE ["foo"], $ _FILES ["foo"] (not included in the $ _REQUEST array), which depends on at the request come from.
/ /; The same time, you can view the import_request_variables () function (the GET / POST / Cookie variables into the global scope).
/ /; Attention, register_globals will be abolished next version (default off), because it always brings a lot of security problems.
/ /; See http://php.net/manual/en/security.registerglobals.php for more information.
/ /;
//;-> Register_long_arrays = Off [Performance]
/ /; Disable the old-style long predefined array ($ HTTP_ * _VARS), replaced by a short super-global array of predefined type.
/ /;
//;-> Display_errors = Off [Security]
/ /; Shut down this feature during script execution error / warning will not display output, and thus will not expose sensitive information to remote users.
/ /; Some error / warning messages will be exposed to an attacker use the script information, server information, database information.
/ /; Official release site should be shut down this feature.
/ /;
//;-> Log_errors = On [Security]
/ /; This directive is a directive to add.
/ /; Script error during the execution will be recorded in the log files (such as system log), can have several different configuration.
/ /; With the "display_errors" close, this setting allows you to understand there is a problem, but does not expose any sensitive information to remote users.
/ /;
//;-> Output_buffering = 4096 [Performance]
/ /; Set a 4K output buffer. Please use the output cache can reduce the write action, and sometimes also reduce the transmission of data packet size, which all help to improve performance.
/ /; The parameters of the actual income you get depends largely on the use of what Web server, using what kind of script.
/ /;
//;-> Register_argc_argv = Off [Performance]
/ /; Prohibit registered some redundant $ argv and $ argc global variables
/ /;
//;-> Magic_quotes_gpc = Off [Performance]
/ /; Not to input data to be escaped with a backslash in order to send to the database without further processing.
/ /; In fact, you should be sent to the database for each input data using the addslashes () function.
/ /;
//;-> Variables_order = "GPCS" [Performance]
/ /; Make $ _ENV array of environmental variables no longer chaotic.
/ /; You should use getenv () function to access environment variables.
/ /;
//;-> Error_reporting = E_ALL [Code clean, safe]
/ /; By default, PHP E_NOTICE error reporting level is
/ /; E_ALL that report all non-fatal error, because these errors may cause big problems (such as use of undefined variable).
/ /;
//;-> Allow_call_time_pass_reference = Off [Code cleanliness]
/ /; Against default parameters of the function by reference.
/ /; PHP4 / 5 style approach is specified in the function declaration passed by reference.
//;******* Following this part of the contents of php.ini-dist, but with the php.ini-recommended include the difference between *******
/ /
/ / [PHP 5.0.4 php.ini-dist]
/ /
//;;;;;;;;;;
/ /;; Warning;;
//;;;;;;;;;;
/ /; This is a new installation of the default PHP settings. The default setting is suitable for development but not for a formal application.
/ /; For security considerations, please release the formal application to use php.ini-recommended
/ /; And refer to the following page http://php.net/manual/en/security.php
/ /
/ /
//;;;;;;;;;;;;;;;;;;;
/ /;; About php.ini;;
//;;;;;;;;;;;;;;;;;;;
/ /; This file controls many aspects of PHP's performance and behavior. In order for PHP to read the file correctly,
/ /; It must be named 'php.ini'. PHP will be in accordance with the following in the order to find the file:
/ /; 1. The current working directory; 2. PHPRC environment variable to specify the path; 3. Compile-time path specified.
/ /; In the windows, the compile-time path is the Windows installation directory (C: \ WINDOWS etc.).
/ /; In command line mode, php.ini the search path can be specified with the-c parameter.
/ /;
/ /; The file syntax is very simple. Blank character ("", "\ t ",...) and start with a semicolon (";") lines are simply ignored.
/ /; Chapter headings (for example: [php]) was simply ignored, even if they may have some significance.
/ /;
/ /; Set the following format:
/ /; Directive = value
/ /; Command identifier (directive) is case-sensitive! "Foo = bar" is different from the "FOO = bar".
/ /; Value (value) can be:
/ /; 1. A string, 2. A number, 3. A PHP constant (eg: E_ALL, M_PI),
/ /; 4. An INI constants (On, Off, True, False, Yes, No, None),
/ /; 5. An expression (such as: E_ALL & ~ E_NOTICE),
/ /; 6. String enclosed in quotation marks ("foo").
/ /;
/ /; INI file in the expression is limited to use bitwise operators / logical non / small brackets.
/ /; | Bits or
/ /; & Bits and
/ /; ~ Bit non-
/ /;! Logic of non-
/ /;
/ /; Boolean flags can be used 1, On, True, Yes open, can also be used 0, Off, False, No closure.
/ /;
/ /; An empty string after the equals sign can not write anything said, or with none keyword, for example as follows:
/ /; Foo = foo will be set to empty string
/ /; Foo = none would be set to empty string foo
/ /; Foo = "none" will be set to foo string 'none'
/ /;
/ /; If you use the constant value is set, and these constants is the dynamic extension (PHP extension or a Zend extension)
/ /; Then you can only be transferred to the dynamic expansion of the line after the use of these constants.
/ /;
/ /; All in the php.ini-dist file to set the value of the same with the built-in default values.
/ /; That is, if php.ini does not exist, or if you delete some rows, with the same default values.
//;;;;;;;;;;;;;;;
//;;; Language Options;;
//;;;;;;;;;;;;;;;
/ /
/ / Engine = On
/ /; To make PHP scripting language engine under Apache effective.
/ /
/ / Zend.ze1_compatibility_mode = Off
/ /; Allows the use of compatible Zend Engine 1 (PHP 4.x) model
/ /
/ / Short_open_tag = On
/ /; Allow "<?...?>" short logo, or just "<? Php ...?>" and" <script> ...</ script> "can be identified.
/ /; Note: Unless your php program to use only their own, otherwise, please 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 the use of directly embedded <? Xml?>,
/ /; Or you must use PHP to output: <? Echo '<? Xml version = "1.0"';?>
/ /; This directive also affects the shorthand <? =, It and the <? Echo equivalent, must be allowed to use this abbreviation identifies short.
/ /
/ / Asp_tags = Off
/ /; Whether to allow ASP-style tags "<%%>", which also affects the shorthand form: <% = $ value%>
/ /
/ / Precision = 12
/ /; [Recommended] -> precision = 14
/ /; Float data show that the effective number of bits
/ /
/ / Y2k_compliance = On
/ /; Forced to adapt to open in 2000 (possibly in the non-Y2K caused the browser to adapt to the problem)
/ /
/ / Output_buffering = Off
/ /; [Recommended] -> output_buffering = 4096
/ /; Output caching allows you to output text content even after sending http headers (including cookies).
/ /; The cost is a little slower pace of output layer.
/ /; You can run the output buffer function during the operation by calling the output cache.
/ /; You can also set "output_buffering = On" to enable output caching for all files (default 4096).
/ /; If you want to specify the maximum number of bytes in the buffer, you can be "On" with a number,
/ /; Such as: "output_buffering = 4096" specifies the cache upper limit of 4096 bytes.
/ /
/ /; Output_handler =
/ /; You can redirect all the script output to an output handler.
/ /; For example, redirected to the "mb_output_handler" function, the character encoding will be transparently converted to the specified encoding.
/ /; Once you specify here, the output handler, "output_buffering" will be automatically opened.
/ /; Note 1: the time to write portable scripts can not rely on this directive, but should be a clear call to ob_start () function to open the output cache.
/ /; Use this command may cause some you are not familiar with the script error.
/ /; Note 2: you can not use "mb_output_handler" and "ob_iconv_handler"
/ /; You can not use both "ob_gzhandler" and "zlib.output_compression"
/ /; Note 3: If enabled zlib output compression, "output_handler" must be empty, instead, you must enable "zlib.output_handler".
/ /
/ / Zlib.output_compression = Off
/ /; Use the zlib library to transparently compress the script output.
/ /; The command value can be set to: Off / On / bytes (used as a compression buffer size, default is 4KB)
/ /; If the php.ini or the apache configuration to open this feature, 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 against this feature
/ /; If you output a "Content-Type: image /" such a 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" must be empty, instead, you must enable "zlib.output_handler".
/ /
/ /; Zlib.output_handler =
/ /; The Open "zlib.output_compression" instruction cases, other than here, you can not specify additional output handlers.
/ /; The instructions and "output_handler" play the same role, but in a different order.
/ /
/ / Implicit_flush = Off
/ /; This directive tells PHP output layer automatically after every output block refresh their data. The default is FALSE
/ /; The equivalent of 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 tag defaults to TRUE.
/ /
/ / Unserialize_callback_func =
/ /; If the solution serialization process requires instantiating an undefined class, the callback function specified here will be the undefined class name as a parameter is called,
/ /; So as not to be incomplete "__PHP_Incomplete_Class" object.
/ /; If there are no specified function, or specify the function does not contain (or realized) that defined the class, will display a warning message.
/ /; Only if you really want to implement such a callback function of the case, only need to specify the parameter value.
/ /; Can php.ini, ini_set () or. Htaccess definition of "unserialize_callback_func".
/ /; To disable this feature, just blank this setting.
/ /
/ / Serialize_precision = 100
/ /; Will float and double data sequence storage, the sequence specified by the effective number of bits of precision.
/ /; Default values to ensure that the float data is decoded solution serialization process will not have data loss.
/ /
/ / Allow_call_time_pass_reference = On
/ /; [Recommended] -> allow_call_time_pass_reference = Off
/ /; Forcing function is called passing parameters by reference.
/ /; Php against the use of this approach, and may in the future versions of PHP / Zend in no longer supported.
/ /; Encouragement is specified in the function declaration in which parameters passed by reference.
/ /; We encourage you to try to turn off this option and confirm your script still work to ensure that your script in future versions of the language can still work.
/ /; (Each time you use this feature will receive a warning: parameter is passed by value instead of passed by reference)
/ /
//;;;;;;;;;;;;;
/ /; Safe Mode
/ /
/ / Safe_mode = Off
/ /; Safe Mode
/ /
/ / Safe_mode_gid = Off
/ /; Safe mode by default, so when you open the file UID compare check.
/ /; If you want to relax this to a GID compare, you can turn on this parameter.
/ /
/ / Safe_mode_include_dir =
/ /; In safe mode, the folder and its subfolders are included under the file, it will skip the UID / GID checks.
/ /; (Folder must be in the "include_path" or full path must including)
/ /; From PHP4.2, this directive can accept and "include_path" directive similar to the style of the path separated by semicolons, not just a directory.
/ /; The specified limit is actually a prefix, not a directory name, ie "/ 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, such as: "/ dir / incl /"
/ /
/ / Safe_mode_exec_dir =
/ /; In safe mode, only the folder of the executable program to be allowed through the system () and other procedures for the implementation of the system's function to perform.
/ /; These functions are: escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_get_status,
/ /; Proc_nice, proc_open, proc_terminate, shell_exec, system ....
/ /
/ / Safe_mode_allowed_env_vars = PHP_
/ /; The directive contains a comma delimited list of prefixes that the user can change the security mode, only the prefixes listed in the beginning of this environment variable.
/ /; As setting certain environment variables may result in potential security vulnerabilities.
/ /; Default, users will only be able to set environment variables that begin with PHP_, (such as: PHP_FOO = BAR).
/ /; Note: If this parameter is empty, PHP will allow users to change any environment variable!
/ /
/ / Safe_mode_protected_env_vars = LD_LIBRARY_PATH
/ /; This directive contains a comma-separated list of environment variables, in safe mode, the list of variables that remote users can not use putenv () changes.
/ /; These variables even in the "safe_mode_allowed_env_vars" is set to allow the case will be protected.
/ /
/ /; Open_basedir =
/ /; Will allow PHP to open all the files are limited to this directory. Whether Safe Mode is turned on, the argument will work.
/ /; If the web server using the per-directory or virtual host, this parameter will be very meaningful.
/ /; When a script tries to use such as fopen () or gzopen () to open a specified directory-tree, the 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 base-directory.
/ /; In Windows, separate the directories with a semicolon. In any other system using a colon-separated directory.
/ /; As Apache module, open_basedir paths from parent directories will automatically be inherited.
/ /; With open_basedir restriction specified is actually a prefix, not a directory name. That is "/ 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, such as: "/ dir / incl /"
/ /; Default is to allow open all the files.
/ /
/ / Disable_functions =
/ /; This command for security reasons so that you can disable specific function. It accepts a comma-separated list of function names.
/ /; Whether Safe Mode is turned on, the argument will work.
/ /; This directive can only be set in php.ini. For example, you can not set it in httpd.conf in
/ /
/ / Disable_classes =
/ /; This command for security reasons so that you can disable specific categories. It accepts a comma-separated list of class names.
/ /; Whether Safe Mode is turned on, the command will work. This directive became available in PHP 4.3.2.
/ /; This directive can only be set in php.ini. For example, you can not set it in httpd.conf in
/ /
/ /; Highlight.string = # DD0000
/ /; Highlight.comment = # FF9900
/ /; Highlight.keyword = # 007700
/ /; Highlight.bg = # FFFFFF
/ /; Highlight.default = # 0000BB
/ /; Highlight.html = # 000000
/ /; Color syntax highlighting mode.
/ /; As long as something can be <font color=???> able to accept work.
/ /
//;;;;;;;;;
/ /; Miscellaneous
/ /
/ / Expose_php = On
/ /; Determine whether PHP is installed on the server exposed to it on the facts (such as appears in the http header)
/ /; It will not be a security threat, but it makes the check whether your server has PHP installed as possible.
//;;;;;;;;;;;;;;
/ /;; Resource constraints;;
//;;;;;;;;;;;;;;
/ /
/ / Max_execution_time = 30
/ /; The maximum allowable execution time of each script, by seconds. The default is 30 seconds.
/ /; This parameter helps prevent the bad script endless occupation server resources.
/ /; Note: "max_execution_time" only affects the running time of the script itself.
/ /; Any other to spend time outside in the script, 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.
/ /
/ / Max_input_time = 60
/ /; Each script to receive the maximum allowable time input data (POST, GET, upload), by seconds
/ /
/ / Memory_limit = 8M
/ /; Set a script is allowed to the maximum number of bytes of memory.
/ /; This helps prevent the consumption of poor-quality script, complete all the memory on the server.
/ /; To use this command to be activated at compile time.
/ /; Therefore configure line should include: - enable-memory-limit
/ /; If you do not need any memory constraints, must be set to -1
/ /; From php4.3.2 onwards, when the memory_limit is set upon, memory_get_usage () function will become available
/ /
/ /
//;;;;;;;;;;;;;;;;;;;;
/ /;; Error handling and logging;;
//;;;;;;;;;;;;;;;;;;;;
/ /
/ / Error_reporting = E_ALL & ~ E_NOTICE & ~ E_STRICT
/ /; [Recommended] -> error_reporting = E_ALL
/ /; Show all errors, except to remind and coding standards warnings.
/ /; Error reporting is a field. You can add up to get the desired number of error reporting level.
/ /; E_ALL - All errors and warnings (does not include E_STRICT)
/ /; E_ERROR - fatal run-time errors
/ /; E_WARNING - run-time warnings (non fatal errors)
/ /; E_PARSE - compile-time parse errors
/ /; E_NOTICE - run-time alerts (these are often caused by bug in your code, and can also be caused by intentional acts.)
/ /; E_STRICT - coding standards warnings, recommendations for changes to allow PHP code to ensure the best interoperability, forward compatibility.
/ /; E_CORE_ERROR - PHP startup fatal error during initialization
/ /; E_CORE_WARNING - PHP startup initialization warnings (non-fatal error)
/ /; E_COMPILE_ERROR - fatal compile-time error
/ /; E_COMPILE_WARNING - compile-time warnings (non-fatal error)
/ /; E_USER_ERROR - user-defined error messages
/ /; E_USER_WARNING - user-defined warning messages
/ /; E_USER_NOTICE - user-defined reminder messages
/ /; Example:
/ /; Error_reporting = E_ALL & ~ E_NOTICE; show all errors, except to remind
/ /; Error_reporting = E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR; just errors
/ /
/ / Display_errors = On
/ /; [Recommended] -> display_errors = Off
/ /; As part of the output shows an error message
/ /; 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
/ /; Even if the "display_errors" feature is turned on, turn off this parameter will not show an error when PHP starts.
/ /; Strongly recommend that you turn off this feature, unless you have to be used for debugging.
/ /
/ / Log_errors = Off
/ /; [Recommended] -> log_errors = On
/ /; In the log file records error (server specified log, stderr stderr, or error_log (below))
/ /; As described above, as strongly recommended that you publish the web site in the final time by logging error rather than a direct output.
/ /
/ / Log_errors_max_len = 1024
/ /; Set the maximum length of the error log file.
/ /; Set to 0 to allow unlimited length.
/ /
/ / Ignore_repeated_errors = Off
/ /; Ignore repeated error messages
/ /; If you turn off this parameter, the error information must appear in the same file on the same line Caibei ignored.
/ /; If you open this parameter, there is no such restriction.
/ /
/ / Ignore_repeated_source = Off
/ /; Ignore repeated error source
/ /; Ignore repeated error messages ignore repeated error source
/ /; If you open this parameter, the error will not be recorded in different files and the corresponding line of error message.
/ /
/ / Report_memleaks = On
/ /; Report memory leaks
/ /; If you close the argument, will not record or display memory leak
/ /; This parameter only plays a role in the debug compile, and must be in the error report contains E_WARNING
/ /
/ / Track_errors = Off
/ /; Keep the last error / warning message in the variable $ php_errormsg (boolean) in the
/ /
/ /; Html_errors = Off
/ /; Disable HTML tags in error messages
/ /; Note: Do not release the program use this feature.
/ /
/ /; Docref_root = "/ phpmanual /"
/ /; Docref_ext =. Html
/ /; If you open the html_errors parameter, 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 http://www.php.net/docs.php download the php manual, and set docref_root parameter, he points to the manual on your local directory.
/ /; You must also set "docref_ext" to specify the file extension.
/ /; Note: Do not release the program use this feature.
/ /
/ /; Error_prepend_string = "<font color=ff0000>"
/ /; For the error message string before the output
/ /
/ /; Error_append_string = "</ font>"
/ /; For the error message string after the outputs
/ /
/ /; Error_log = filename
/ /; The error log records to which file.
/ /; If set to "syslog", error log will be logged to the system log (NT event log under, Unix under the syslog (3))
/ /
//;;;;;;;;;;;;;;
/ /;; Data processing;;
//;;;;;;;;;;;;;;
/ /
/ /; Arg_separator.output = "&"
/ /; PHP generated URL in the delimiter to separate parameters. The default value is "&"
/ /
/ /; Arg_separator.input = "; &"
/ /; PHP parsing URL variables used in the separator list, the default value is "&"
/ /; Note: any character string will be looked at separator
/ /
/ / Variables_order = "EGPCS"
/ /; [Recommended] -> variables_order = "GPCS"
/ /; PHP registration GET, POST, Cookie, Environment, Built-in variable order.
/ /; (In G, P, C, E, S said, usually EGPCS or GPC or the way ES reference).
/ /; According to records from left to right, the new value overwrites the old value.
/ /; For example, set it to "GP", will lead to completely ignore the PHP environment variables, cookies, server,
/ /; GET method variables with POST method of covering the same name variable
/ /
/ / Register_globals = Off
/ /; Whether these EGPCS variables as global variables registered. Since PHP 4.2.0, this directive defaults to off
/ /; For example, if you open this feature, then the URLhttp: / / www.example.com/test.php?id=3 will produce $ id
/ /; Or from the $ _SERVER ['DOCUMENT_ROOT'] by $ DOCUMENT_ROOT.
/ /; If you do not want the script to the global variables and data entered by the user confused, please close it.
/ /; Recommended to use PHP predefined variables to replace, such as super-global variables: $ _ENV, $ _GET, $ _POST, $ _COOKIE, and $ _SERVER
/ /; Please note, register_globals can not be set at runtime (ini_set ()), although the host can be allowed to use. Htaccess to set the
/ /; 1. Htaccess examples of projects: php_flag register_globals on
/ /; Note: register_globals affected by the variables_order directive.
/ /
/ / Register_long_arrays = On
/ /; [Recommended] -> register_long_arrays = Off
/ /; Whether the opening of the long old-style array (HTTP_ * _VARS), recommended to close the properties for better performance.
/ /
/ / Register_argc_argv = On
/ /; [Recommended] -> register_argc_argv = Off
/ /; Whether the statement argv and argc variables (that contains the data transmitted using GET method)
/ /; 【Argv array for the variables, argc for the number of elements in the array variable】
/ /; If you do not want to use these two variables, it should be turned off to improve performance.
/ /
/ / Post_max_size = 8M
/ /; PHP acceptable maximum length of POST data. This setting also affects file upload.
/ /; To upload large files, the value must be greater than the "upload_max_filesize"
/ /; Activated if the configuration script memory limit, "memory_limit" also affects file upload.
/ /; General, "memory_limit" should be better than "post_max_size" to big.
/ /
//;;;;;;;;;;;;;;;;;;;;;;;;;;;
/ /; Magic quotes (escape strings automatically)
/ /
/ / Magic_quotes_gpc = On
/ /; [Recommended] -> magic_quotes_gpc = Off
/ /; In the input of the GET / POST / Cookie data, use the automatic string escaping 【example, value (It's "PHP!") Will be automatically converted to (It \ 's \ "PHP! \")】
/ /; Where automatic impact $ _GEST, $ _POST, $ _COOKIE array value. If open, the value (It's "PHP!") Will be automatically converted to (It \ 's \ "PHP! \").
/ /; (Personal opinion: Turn off this feature, because it is when dealing with double-byte characters may undermine some of the traditional Chinese characters and special characters)
/ /
/ / Magic_quotes_runtime = Off
/ /; On the run-time data generated from external sources using automatic string escaping
/ /; Example: SQL query using the data obtained with the exec () function of the data, etc.
/ /
/ / Magic_quotes_sybase = Off
/ /; Using Sybase form of automatic string escaping (with''that 'instead of \')
/ /
/ / Auto_prepend_file =
/ /; The specified file is automatically parsed before the main file name.
/ /; The file is like calling the include () function is included as come in, so it will use the "include_path"
/ /
/ / Auto_append_file =
/ /; The specified file is automatically parsed after the main file name.
/ /; The file is like calling the include () function is included as come in, so it will use the "include_path"
/ /; Note: If the script exit () termination, auto-append will not occur.
/ /
/ / Default_mimetype = "text / html"
/ /; Default_charset = "iso-8859-1"
/ /; PHP always default to the "Content-type:" header set the output of the document MIME type and character set encoding.
/ /; To make the output character set is invalid, set to empty or comment out if you can.
/ /; PHP's default setting will output "Content-Type: text / html"
/ /; If remove the "default_charset" comments before and set "gb2312",
/ /; It will output "Content-Type: text / html; charset = gb2312"
/ /
/ /; Always_populate_raw_post_data = On
/ /; Always filled with $ HTTP_RAW_POST_DATA variables, "HTTP_RAW_POST_DATA" means "HTTP raw POST data"
//;;;;;;;;;;;;;;;;
/ /;; Path and directory;;
//;;;;;;;;;;;;;;;;
/ /
/ /; Include_path = ".; C: \ php \ includes"
/ /; Specify a directory for require (), include () and fopen_with_path () function to find files.
/ /; Format and system PATH environment variable:
/ /; A list of directories separated with a colon in UNIX, Windows, separated by semicolons in.
/ /; In the include path to use '.' May allow a relative path, it represents the current directory.
/ /; UNIX: "/ path1: / path2"
/ /; Windows: "\ path1; \ path2"
/ /
/ / Doc_root =
/ /; PHP page in server root directory. Valid only in the non-empty.
/ /; If PHP is configured with safe mode, no files outside this directory is not parsed.
/ /; If PHP was not compiled with specified FORCE_REDIRECT, and in non-IIS servers to run CGI,
/ /; You must set this. (See the manual safety section)
/ /; Alternative is to use the following "cgi.force_redirect" command.
/ /
/ / User_dir =
/ /; Tell php using / ~ username open the script to which directory to look for, is valid only in the non-empty.
/ /; Is used in the user directory under the PHP file the basic directory name, for example: public_html
/ /
/ / Extension_dir = ". /"
/ /; Storage extension (module) of the directory, which is used to find dynamic link PHP extensions directory
/ /
/ / Enable_dl = On
/ /; Whether to dl () function effectively.
/ /; Dl () function in addition to other multi-threaded apache server (eg: IIS or Zeus) can not work correctly, and in its default as no.
/ /
/ /; Cgi.force_redirect = 1
/ /; Open cgi force redirect to run the php CGI provides the necessary security, php by default the parameter.
/ /; You if your close it, make themselves responsible for the consequences
/ /; Note: In the IIS / OmniHTTPD / Xitami on, you must close it!
/ /
/ /; Cgi.nph = 1
/ /; If the parameter to open, it will force cgi to each http request is always sent Status Code: 200
/ /
/ /; Cgi.redirect_status_env =
/ /; If you open the cgi.force_redirect, and you do not have to run php in Apache or Netscape (iPlanet) server,
/ /; May need to set up a cgi redirect environment variable name, PHP will look for to know it is OK to continue execution.
/ /; Set this variable would lead to security holes, be sure to set the pre-clear what they are doing.
/ /
/ /; Fastcgi.impersonate = 1
/ /; 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 you run IIS is set to 1, default 0
/ /
/ /; Cgi.rfc2616_headers = 0
/ /; Designated PHP sending HTTP response code in what header.
/ /; If set to 0, PHP sends a "Status:" header, Apache and other web server support.
/ /; If set to 0, PHP, Apache support the head. If set to 1, the head of PHP using the standard RFC2616. The default value is 0
/ /; Unless you know what they are doing, or to retain the value 0
/ /
/ /
//;;;;;;;;;;;;;;
/ /;; File uploads;;
//;;;;;;;;;;;;;;
/ /
/ / File_uploads = On
/ /; Whether to allow HTTP file uploads. See the upload_max_filesize, upload_tmp_dir, post_max_size
/ /
/ /; Upload_tmp_dir =
/ /; File upload temporary directory for storing files. Must be written in PHP process user directory. If not specified PHP will use the system default.
/ /
/ / Upload_max_filesize = 2M
/ /; To allow the maximum size of uploaded files.
/ /
/ /
//;;;;;;;;;;;;;;
/ /;; File open;;
//;;;;;;;;;;;;;;
/ /
/ / Allow_url_fopen = On
/ /; Is allowed to open remote file (http:// or ftp://)
/ /
/ /; From = " john@doe.com "
/ /; Definition of anonymous ftp password (one email address)
/ /
/ /; User_agent = "PHP"
/ /; Definition of "User-Agent" string
/ /
/ / Default_socket_timeout = 60
/ /; Socket timeout in seconds
/ /
/ /; Auto_detect_line_endings = Off
/ /; If the script you have to deal with Macintosh files, or you run the Macintosh, while also dealing with unix or win32 files
/ /; Set this flag so that PHP can automatically detect end of file character, so fgets () and file () function to work.
/ /; Default value is Off, because the first line of EOL in the habit of testing there will be a small performance loss,
/ /; And in Unix systems use carriage return delimiter as a project people will experience downward incompatible behavior.
/ /
/ /
//;;;;;;;;;;;;;;
/ /;; Dynamic expansion;;
//;;;;;;;;;;;;;;
/ /; If you want to automatically load an extension can be used the following syntax:
/ /; Extension = modulename.extension
/ /; Example, in the windows at:
/ /; Extension = msql.dll
/ /; In UNIX on:
/ /; Extension = msql.so
/ /; Note that this should be the name of the module does not need with directory information.
/ /; Above extension_dir has instructed the extension position.
/ /
/ /
/ /; Windows extensions
/ /; Note, ODBC is built-in support, and do not need to use extension. (MySQL is not built-in)
/ /; Extension = php_bz2.dll
/ /; Extension = php_cpdf.dll
/ /; Extension = php_curl.dll
/ /; Extension = php_dba.dll
/ /; Extension = php_dbase.dll
/ /; Extension = php_dbx.dll
/ /; Extension = php_exif.dll
/ /; Extension = php_fdf.dll
/ /; Extension = php_filepro.dll
/ /; Extension = php_gd2.dll
/ /; Extension = php_gettext.dll
/ /; Extension = php_ifx.dll
/ /; Extension = php_iisfunc.dll
/ /; Extension = php_imap.dll
/ /; Extension = php_interbase.dll
/ /; Extension = php_java.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_mssql.dll
/ /; Extension = php_msql.dll
/ /; Extension = php_mysql.dll
/ /; Extension = php_oci8.dll
/ /; Extension = php_openssl.dll
/ /; Extension = php_oracle.dll
/ /; Extension = php_pdf.dll
/ /; Extension = php_pgsql.dll
/ /; Extension = php_shmop.dll
/ /; Extension = php_snmp.dll
/ /; Extension = php_sockets.dll
/ /; Extension = php_sybase_ct.dll
/ /; Extension = php_tidy.dll
/ /; Extension = php_w32api.dll
/ /; Extension = php_xmlrpc.dll
/ /; Extension = php_xsl.dll
/ /; Extension = php_yaz.dll
/ /; Extension = php_zip.dll
//;;;;;;;;;;;;;;
/ /;; Module settings;;
//;;;;;;;;;;;;;;
/ /
/ / [Syslog]
/ / Define_syslog_variables = Off
/ /; Whether the definition of a variety of system log variables, such as: $ LOG_PID, $ LOG_CRON so.
/ /; Turn it off to improve the efficiency of a good idea.
/ /; You can call the function at run time define_syslog_variables () to define these variables
/ /
/ / [Mail function]
/ / SMTP = localhost; only for win32 systems
/ / Smtp_port = 25; only for win32 systems
/ /; Sendmail_from = me@example.com ; only for win32 systems
/ /; Sendmail_path =; only for unix, also support the argument (default is 'sendmail-t-i')
/ /
/ /; Mail.force_extra_parameters =
/ /; Force the addition of the specified parameters to be passed as extra parameters to the sendmail binary.
/ /; These parameters will always replace the value of the 5th parameter to mail (), even in safe mode.
/ /
/ / [SQL]
/ / Sql.safe_mode = Off
/ /
/ / [ODBC]
/ /; Odbc.default_db = (not yet realized)
/ /; Odbc.default_user = (not yet realized)
/ /; Odbc.default_pw = (not yet realized)
/ / Odbc.allow_persistent = On; whether to allow persistent connections
/ / Odbc.check_persistent = On; in re-check connections can also be used before
/ / Odbc.max_persistent = -1; maximum allowed per process persistent connections. -1 Means no limit
/ / Odbc.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ /
/ / Odbc.defaultlrl = 4096
/ /; Processing LONG type field. Return variable number of bytes, 0 for adoption
/ /; Handling of LONG fields. Returns number of bytes to variables. 0 means passthru.
/ /
/ / Odbc.defaultbinmode = 1
/ /; Handling binary data. 0 representatives, through a return as it was, two converted to character
/ /; See odbc_binmode and odbc_longreadlen document to be uodbc.defaultlrl and uodbc.defaultbinmode explanation.
/ /
/ / [MySQL]
/ /; Php MySQL extension not built with the 4.1.0 version of MySQL work together. You need to use the MySQLi extension.
/ /; MySQLi extension module expansion module used in conjunction with the recode, it may cause PHP to crash and startup problems.
/ /; If you need except latin (default) character set other than, you need to install a compiled character set supported by external libmysql (not integrated)
/ /
/ / Mysql.allow_persistent = On; allow or prevent persistent link
/ / Mysql.max_persistent = -1; maximum allowed per process persistent connections. -1 Means no limit
/ / Mysql.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ /
/ / Mysql.default_socket =; for local MySql default socket name to connect. Is empty, use the built-in default MYSQL
/ / Mysql.default_port =
/ /; Mysql_connect () using the default TCP port, If not specified, the default port number
/ /; Mysql_connect () will order from: (1) $ MYSQL_TCP_PORT environment variables
/ /; (2) / etc / services file in the mysql-tcp entry (unix), (3) compile-time constants obtained MYSQL_PORT.
/ /; Win32, only use MYSQL_PORT constant.
/ /
/ / Mysql.default_host =; mysql_connect () default host (safe mode is invalid)
/ / Mysql.default_user =; mysql_connect () default user name (security mode is invalid)
/ / Mysql.default_password =
/ /; Mysql_connect () default password (Safe mode is invalid)
/ /; Note that the password is saved in this file is usually a bad idea
/ /; Any user can use the PHP access can run 'echo cfg_get_var ("mysql.default_password")' to display the password!
/ /; And of course, the power of the document any time the user can see the password.
/ /
/ / Mysql.connect_timeout = 60
/ /; Connection timeout (in seconds), -1 means no limit.
/ /; In Linux, this parameter is set to wait for a response from the server the length of time.
/ /
/ / Mysql.trace_mode = Off
/ /; Tracking mode. When you open this feature, the scan table or index SQL warning will be displayed.
/ /
/ / [MySQLI]
/ /
/ / Mysqli.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ /
/ / Mysqli.default_socket =; for the machine's default socket connection MySql name. Is empty, use the built-in default MYSQL
/ / Mysqli.default_port = 3306
/ /; Mysqli_connect () uses the default TCP port, If not specified, the default port number
/ /; Mysqli_connect () will order from: (1) $ MYSQL_TCP_PORT environment variables
/ /; (2) / etc / services file in the mysql-tcp entry (unix), (3) compile-time constants obtained MYSQL_PORT.
/ /; Win32, only use MYSQL_PORT constant.
/ /
/ / Mysqli.default_host =; mysqli_connect () default host (safe mode is invalid)
/ / Mysqli.default_user =; mysqli_connect () default user name (security mode is invalid)
/ / Mysqli.default_password =
/ /; Mysqli_connect () default password (Safe mode is invalid)
/ /; Note that the password be stored in this file is usually a bad idea
/ /; Any user can use the PHP access can run 'echo cfg_get_var ("mysql.default_password")' to display the password!
/ /; And of course, the power of any reading of the document the user can see the password.
/ /
/ / Mysqli.reconnect = Off
/ /; Tracking mode. When you open this feature, the scan table or index SQL warning will be displayed.
/ /
/ / [MSQL]
/ / Msql.allow_persistent = On; allow or prevent persistent link
/ / Msql.max_persistent = -1; the maximum number of persistent connections. -1 Means no limit
/ / Msql.max_links = -1; maximum number of connections (durable and non-persistent). -1 Means no limit
/ /
/ / [PostgresSQL]
/ / Pgsql.allow_persistent = On; allow or prevent persistent link
/ / Pgsql.max_persistent = -1; 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
/ /; Detection used in pg_pconnect () on a persistent connection interrupted, need some extra overhead.
/ /
/ / Pgsql.ignore_notice = 0
/ /; Ignore PostgreSQL backend notices whether the news. Notice the back end message recorded requires some additional overhead.
/ /
/ / Pgsql.log_notice = 0
/ /; Is recorded in the log message PostgreSQL backend notices. Unless pgsql.ignore_notice = 0, otherwise there is no record.
/ /
/ / [Sybase]
/ / Sybase.allow_persistent = On; allow or prevent persistent link
/ / Sybase.max_persistent = -1; maximum allowed per process persistent connections. -1 Means no limit
/ / Sybase.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ /; Sybase.interface_file = "/ usr / sybase / interfaces"
/ / Sybase.min_error_severity = 10; the minimum error severity
/ / Sybase.min_message_severity = 10; show the importance of the minimum information
/ /
/ / Sybase.compatability_mode = Off
/ /; And PHP3 compatibility mode. If open, this will lead to PHP type of automatic assignment based on the results of Sybase, rather than put them all as strings.
/ /; This compatibility mode will not always be retained in the future will be discarded.
/ /
/ / [Sybase-CT]
/ / Sybct.allow_persistent = On; allow or prevent persistent link
/ / Sybct.max_persistent = -1; maximum allowed per process persistent connections. -1 Means no limit
/ / Sybct.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ / Sybct.min_server_severity = 10; shows the minimum server severity error
/ / Sybct.min_client_severity = 10; show the client the minimum error severity
/ /
/ / [Dbx]
/ /; Returned column names can be converted for compatibility reasons
/ /; Possible values for dbx.colnames_case are
/ /; "Unchanged" (default, if not set)
/ /; "Lowercase"
/ /; "Uppercase"
/ /; The recommended default is either upper-or lowercase, but
/ /; Unchanged is currently set for backwards compatibility
/ / Dbx.colnames_case = "unchanged"
/ /
/ / [Bcmath]
/ / Bcmath.scale = 0
/ /; For all bcmath functions of the 10 decimal digit number
/ /
/ / [Browscap]
/ /; Browscap = extra / browscap.ini
/ /; Browscap = c: / windows/system32/inetsrv/browscap.ini; winxp
/ /; Browscap = c: / winnt/system32/inetsrv/browscap.ini; win2000
/ /; Only need this set up PWS and IIS
/ /; You can http://www.garykeith.com/browsers/downloads.asp get a browscap.ini file.
/ /
/ / [Informix]
/ / Ifx.default_host =; ifx_connect () default host (safe mode is invalid)
/ / Ifx.default_user =; ifx_connect () default user name (security mode is invalid)
/ / Ifx.default_password =; ifx_connect () default password (Safe mode is invalid)
/ / Ifx.allow_persistent = On; allow or prevent persistent link
/ / Ifx.max_persistent = -1; maximum allowed per process persistent connections. -1 Means no limit
/ / Ifx.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ /
/ / Ifx.textasvarchar = 0
/ /; If open, select the state operator returns a "text blob" field of the content rather than its id
/ /
/ / Ifx.byteasvarchar = 0
/ /; If open, select the state operator returns a "byte blob" field of the content rather than its id
/ /
/ / Ifx.charasvarchar = 0
/ /; Tracking from a fixed-length character column in stripping spaces. Informix SE users may be effective.
/ /
/ / Ifx.blobinfile = 0
/ /; If opened, text and byte blobs of the content is exported to a file rather than save it to memory.
/ /
/ / Ifx.nullformat = 0
/ /; Set to 0, NULL is returned as an empty field. Set 1, NULL as the string "NULL" return.
/ /
/ / [Session]
/ /; Attention, unless session_register () or $ _SESSION registered a variable.
/ /; Otherwise, whether or not to use the session_start (), are not automatically add any session record.
/ /
/ / Session.save_handler = files
/ /; Used to save / retrieve the data processing procedures, the default is the file (files).
/ /
/ /; Session.save_path = "/ tmp"
/ /; In "session.save_handler = files" of the case, this parameter specifies the path to save session data files.
/ /; Windows users must modify this parameter to use the session-related function.
/ /; You can define the path (N is an integer): session.save_path = "N; [MODE;] / path"
/ /; N N that can use depth of subdirectories, rather than all data files are stored in a directory.
/ /; [MODE;] plus the brackets indicate optional, that it must be expressed in 8 hexadecimal number, the default value is 600 (equal to 384).
/ /; The file storage module creates files using mode 600 by default.
/ /; Note that this does not overwrite the process's umask.
/ /; This is a massive session to improve performance of Windows, a good idea.
/ /; Note 0: "N; / path" on both sides of the double quotes can not be omitted.
/ /; Note 1: php does not automatically create these folder structure. You can use the ext / session directory script to do this thing.
/ /; Note 2: If you specify the folder can be unsafe for the user to read (such as the default "/ tmp"), it will lead to security vulnerabilities.
/ /; Note 3: See the following section of the refuse collected.
/ /
/ / Session.use_cookies = 1
/ /; Whether to use the cookie on the client save session id, the default is 1 (use)
/ /
/ /; Session.use_only_cookies = 1
/ /; Only use the Cookie to host the session, the default is 0 (off)
/ /; Open the option to avoid conversation with the URL passed the security implications. However, the client will disable the Cookie session does not work.
/ /
/ / Session.name = PHPSESSID
/ /; Used in the session ID in the cookie name can only contain letters and numbers.
/ /
/ / Session.auto_start = 0
/ /; Access to any page on the client 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 object stored in the sessions.
/ /
/ / Session.cookie_lifetime = 0
/ /; Session_cookie is valid (in seconds), if 0, then the only effective during the browser open.
/ /
/ / Session.cookie_path = /
/ /; Session_cookie the role of path
/ /
/ / Session.cookie_domain =
/ /; Session_cookie scope, the default is empty.
/ /
/ / Session.serialize_handler = php
/ /; Used to serialize / de-serialization of data processing, php is the standard PHP serialization / de-serialization process.
/ /
/ / Session.gc_probability = 1
/ / Session.gc_divisor = 100
/ /; [Recommended] -> session.gc_divisor = 1000
/ /; Defined in every session initialization, start the garbage collection process of probability.
/ /; The collection probability is calculated as follows: gc_probability / gc_divisor
/ /; For example: 1 / 100 that each new session initiation, the probability of 1% will start the garbage collection process.
/ /
/ / Session.gc_maxlifetime = 1440
/ /; After 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.
/ /; The criterion is the document creation time, not the last time to refresh the data.
/ /; Note: If you use a subdirectory to store the session data files (see: session.save_path), garbage collection procedure does not automatically start.
/ /; You must use a written your own shell scripts, cloning or some other way to implement 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.bug_compat_42 = 1
/ /; [Recommended] -> session.bug_compat_42 = 0
/ / Session.bug_compat_warn = 1
/ /; PHP4.2 a previous version did not specify the "identity" (also available as a bug):
/ /; Even in the "register_globals = Off" in the case also allows the global session variable initialization,
/ /; If you PHP4.3 later versions use this feature displays a warning. You can disable this feature and the warning separately.
/ /; If open bug_compat_42, will only display a warning.
/ /
/ / Session.referer_check =
/ /; Check the HTTP header "Referer" to determine whether the conversation included in the URL is valid id
/ /; HTTP_REFERER must include this parameter specifies the string, or URL in the session id will be considered invalid.
/ /; Default is empty, that is not checked.
/ /
/ /; Session.entropy_length = 16
/ /; The number of bytes read from the file (entropy: entropy) [set the session to read resources from the high number of bits of entropy. ]
/ /; Defaults to 0, disables.
/ /; How many bytes to read from the file. Defaults to 0 (disabled).
/ /; Specifies the number of bytes which will be read from the file specified above.
/ /
/ /; Session.entropy_file = / dev / urandom
/ /; Specify the folder to create the session id [use an external high-entropy source code or documentation to establish the session, such as UNIX systems / dev / random? Or / dev / urandom]
/ /; Specified here to create the session id.
/ /; Gives a path to an external resource (file) which will be used as an additional entropy source
/ /; In the session id creation process.
/ /; Examples are / dev / random or / dev / urandom which are available on many Unix systems.
/ /
/ / Session.cache_limiter = nocache
/ /; Set (none / nocache / private / private_no_expire / 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.
/ /; Default to "nocache"
/ /
/ / Session.cache_expire = 180
/ /; Specify the session page in the client cache in the lifetime (minutes)
/ /; "Session.cache_limiter = nocache", this setting will be invalid.
/ /
/ / Session.use_trans_sid = 0
/ /; Default is to prohibit the use of codes in the URL displayed in sid (session_id), because it will give your users security risk, because:
/ /; 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's URL may be stored in a public computer.
/ /; 3 - Users can save the URL with fixed sid in their favorites or browsing history inside.
/ /
/ / Session.hash_function = 0
/ /; [Recommended] -> session.hash_function = 1
/ /; Generated session_id the hash function, SHA-1 security higher
/ /; 0: MD5 (128 bits)
/ /; 1: SHA-1 (160 bits)
/ /
/ / Session.hash_bits_per_character = 4
/ /; [Recommended] -> session.hash_bits_per_character = 5
/ /; Specify session_id string how many of each character stored within the binary number,
/ /; The binary operation is a hash function result.
/ /; 4 bits: 0-9, af
/ /; 5 bits: 0-9, av
/ /; 6 bits: 0-9, az, AZ, "-", ","
/ /
/ / Url_rewriter.tags = "a = href, area = href, frame = src, input = src, form =, fieldset ="
/ /; [Recommended] -> url_rewriter.tags = "a = href, area = href, frame = src, input = src, form = fakeentry"
/ /; Specify which HTML tags to include rewritten sid (session_id) (only in the "session.use_trans_sid" turned on effective)
/ /; 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 standards compliant XHTML, please use the "fieldset" instead of "form".
/ /; Note: All valid entries require an equal sign - even the back of no value.
/ /
/ / [MSSQL]
/ / Mssql.allow_persistent = On; allow or prevent persistent link
/ / Mssql.max_persistent = -1; maximum allowed per process persistent connections. -1 Means no limit
/ / Mssql.max_links = -1; each process to allow the maximum number of connections (durable and non-persistent). -1 Means no limit
/ / Mssql.min_error_severity = 10; the minimum error severity
/ / Mssql.min_message_severity = 10; show the importance of the minimum information
/ / Mssql.compatability_mode = Off; PHP3.0 compatible with earlier versions of the model.
/ /; Mssql.connect_timeout = 5; connection timeout (seconds)
/ /; Mssql.timeout = 60; query timeout (seconds)
/ /; Mssql.textlimit = 4096; value range: 0 - 2147483647
/ /; Mssql.textsize = 4096; value range: 0 - 2147483647
/ /
/ /; Mssql.batchsize = 0
/ /; The maximum number of each batch of records (0 for all records in a number of them)
/ /
/ /; Mssql.datetimeconvert = On
/ /; Designated datetime/datetim4 way back to the field.
/ /; On => set to return in accordance with SQL server
/ /; Off => according to YYYY-MM-DD hh: mm: ss format returns
/ /
/ / Mssql.secure_connection = Off
/ /; Connect to the database using NT authentication
/ /
/ /; Mssql.max_procs = 25
/ /; Specifies the maximum number of processes, the default is 25
/ /
/ / [Assertion]
/ /; Assert.active = On; assert (expression), the default effect.
/ /; Assert.warning = On; for each failed assertion warning.
/ /; Assert.bail = Off; default does not release.
/ /; Assert.callback = 0; if the assertion fails, call a user function.
/ /; Assert.quiet_eval = 0
/ /; Eval the expression with current error_reporting (). Set to true if you want error_reporting (0) around the eval ().
/ /
/ / [Ingres II]
/ / Ingres.allow_persistent = On; allow or prevent persistent link
/ / Ingres.max_persistent = -1; the maximum number of persistent connections. -1 Means no limit
/ / Ingres.max_links = -1; maximum number of connections (durable and non-persistent). -1 Means no limit
/ / Ingres.default_database =; default database (format: [node_id::] dbname [/ srv_class]
/ / Ingres.default_user =; default user
/ / Ingres.default_password =; default password
/ /
/ / [Verisign Payflow Pro]
/ / Pfpro.defaulthost = "test-payflow.verisign.com"; default Signio server; Default Payflow Pro server.
/ / Pfpro.defaultport = 443; connection the default port; Default port to connect to.
/ / Pfpro.defaulttimeout = 30; according to the default timeout in seconds; Default timeout in seconds.
/ /; Pfpro.proxyaddress =; default proxy IP address (if required); Default proxy IP address (if required).
/ /; Pfpro.proxyport =; default proxy port; Default proxy port.
/ /; Pfpro.proxylogon =; default proxy username; Default proxy logon.
/ /; Pfpro.proxypassword =; default proxy password; Default proxy password.
/ /
/ / [Com]
/ /; Com.typelib_file =; path to the file that contains GUID, IID, or the file contains the type library
/ /; Com.allow_dcom = true; allow Distributed COM call
/ /; Com.autoregister_typelib = true; com_load () function automatically registered type library component constant
/ /; Com.autoregister_casesensitive = false; automatically registered type library constants case sensitive components
/ /; Com.autoregister_verbose = true; on constant repeat registration warning
/ /
/ / [Mbstring]
/ /; Mbstring.language = Japanese
/ /; Language for internal character representation
/ /
/ /; Mbstring.internal_encoding = EUC-JP
/ /; Internal / script encoding.
/ /; Note: Some codes can not be
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of php Study Notes (php.inc configuration explain)

  • JavaScript_ Exception Handling

    As long as the pages appear in script error, it will generate OnError Event. If you need to use OnError case, it is necessary to create a function handle error. You can put this function is called OnError Event Processor (onerror event handler). This ...

  • For prime numbers ruby version

    Just writing to be a Record $ arr = [] # set up a global array $ arr $ arr [0] = 2 def add_prime (n) # define methods within n odd prime add $ arr 3.step (n, 2) (| num | $ arr <<num if is_prime? Num) end def is_prime? (number) # define methods ...

  • To talk about Ruby variables

    School at the time heard that dynamic languages, python La. , ruby, lua you are. Get a picture of the object can change the runtime state, such as to add property to increase the Ways La. . But dynamic languages has been in the end do not know how to ...

  • Web safety test of cross-site request forgery (CSRF) articles (Figure)

    Cross-site request forgery (ie, CSRF) has been referred to as Web security sector number of loopholes in the "sleeping giant", and its level of threat which "reputation" will be shown. This article will briefly explain the loopholes, a

  • Development of commonly used open source J2EE project

    Read other people's records, feel good, on the collection here, Original Source: http://blog.csdn.net/fenixshadow/archive/2007/11/17/1890010.aspx Persistence Layer 1: 1) Hibernate This need not introduce, and used very frequently, used more are mapped

  • [Portal] with Ruby call ICE interface

    Ice is not introduced, http://www.zeroc.com/ Ruby is not introduced. I try ah, the steps I will be clearly recorded, One to definitely not let the people Society, Second, I am afraid I have forgotten the past two days, brain hypoxia, only three days to re

  • javascript of this

    javascript of this: First look at a section of code: the following for clarification: This is a function object as a way to use an example, in this case is very simple. The function of this object which are being called, then that this would represen ...

  • Manual configuration in UBUNTU under ruby on rails environment

    Careless mistake for the day before yesterday, the sources, the results after 810 error after the upgrade, the loss of response button. On google found a lot of trouble really, lucky point modification under the / etc/X11/xorg.conf to restore both, b ...

  • TOMCAT + APACHE + JDK + MYSQL

    Jdk1.6 + Tomcat6 + Apache2 + MySql5 installed (Windows version) Keywords: Jdk1.6 Tomcat6 Apache2 Mysql5 jk_mod.so Jdk1.6 + Tomcat6 + Apache2 + MySql5 installed (Windows version) Software download: 1, j2se jdk1.6 http://java.sun.com/javase/downloads/index.

  • eclipse Hibernate proposals

    Error: The 'Hibernate proposals' proposal computer from the' org.hibernate.eclipse.jdt.ui 'plug-in dod not complete normally. Unable to instantiate the extension. To Avoid this message, disable the 'org.hibernate.eclipse.jdt.ui ...

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