PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;
; WARNING;
;;;;;;;;;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *not* for production purposes.
; For several security-oriented considerations the should be taken
; Before going online with your site, please consult php.ini-recommended
; and http://www.111cn.net
;;;;;;;;;;;;;;;;;;;
; About PHP.ini;
;;;;;;;;;;;;;;;;;;;
; This file controls many ASP tutorial ECTs of PHP ' s behavior. In order for PHP to
; Read it, it must be named ' PHP.ini '. PHP looks for it
; Working directory, in the path designated by the environment variable
; PHPRC, and in the path of that is defined in compile time.
; Under windows, the Compile-time path is the Windows directory. The
; Path in which the php.ini file is looked for can to be overridden using
; the-c argument in command line mode.
;
; The syntax of the file is extremely simple. Whitespace and Lines
; Beginning with a semicolon are silently ignored (as for you probably guessed).
; section headers (e.g. [Foo]) are also silently ignored, even though
; They might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive*-Foo=bar is different from Foo=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_all or M_PI), one
; of the INI constants (on, off, True, False, Yes, No and None) or a expression
; (e.g. E_all & ~e_notice), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | Bitwise OR
; & Bitwise AND
; ~ Bitwise NOT
; ! Boolean not
;
; Boolean flags can is turned on using the values 1, on, True, or Yes.
; They can be turned out using the values 0, off, False or No.
;
; An empty string can is denoted by simply not writing anything after the equal
; Sign, or by using the None keyword:
;
; Foo =; Sets Foo to a empty string
; foo = none; Sets Foo to a empty string
; Foo = "None"; Sets Foo to the string ' none '
;
; If you use constants in your value, and the constants belong to a
; Dynamically loaded extension (either a PHP extension or a Zend extension),
; You would use this constants *after* the line that loads the extension.
;
;
;;;;;;;;;;;;;;;;;;;
; about this file;
;;;;;;;;;;;;;;;;;;;
; The values in the Php.ini-dist file correspond to the BUILTIN
; Defaults (IS, if no php.ini are used, or if you delete these lines,
; The builtin defaults would be identical).
;;;;;;;;;;;;;;;;;;;;
; Language Options;
;;;;;;;;;;;;;;;;;;;;
; Enable the PHP scripting language engine under Apache.
Engine = On
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
Zend.ze1_compatibility_mode = Off
; Allow;? Tag. Otherwise, only <?php and <script> tags are recognized.
; Note:using short tags should is avoided when developing applications or
; Libraries that are meant for redistribution, or deployment on PHP
; Servers which are not under your control, because short tags
; is supported on the target server. For portable, Redistributable Code,
; Be sure.
Short_open_tag = On
; Allow asp-style <%%> tags.
Asp_tags = Off
; The number of significant digits displayed in floating point numbers.
Precision = 12
; Enforce year compliance (would cause problems with non-compliant browsers)
Y2k_compliance = On
; Output buffering allows your to send header lines (including cookies) even
; After your send body content, at the price of slowing PHP ' s output layer a
; Bit. Can enable output buffering during runtime by calling the output
; Buffering functions. You can also enable output buffering to all files by
; Setting this directive. If you are wish to limit the size of the buffer
; To a certain size-you can use a maximum number of bytes instead of ' in ', as
; A value for this directive (e.g., output_buffering=4096).
Output_buffering = On
; You can redirect all of the output of your scripts to a function. For
; example, if you set Output_handler to "Mb_output_handler", character
; Encoding would be transparently converted to the specified encoding.
; Setting any output handler automatically turns on output buffering.
; Note:people who wrote portable scripts should don't depend on this INI
; directive. Instead, explicitly set the output handler using Ob_start ().
; Using This INI directive could cause problems unless you know what script
; is doing.
; Note:you cannot use both "Mb_output_handler" with "Ob_iconv_handler"
; And you cannot use both "Ob_gzhandler" and "zlib.output_compression".
; Note:output_handler must be empty if the is set ' on '!!!!
; Instead your must use Zlib.output_handler.
; Output_handler =
; Transparent output compression using the zlib library
; Valid values for this option are "off", "on", or a specific buffer size
; to being used for compression (default is 4KB) br>; note:resulting chunk size may vary due to nature of compression. PHP
; outputs chunks that are few hundreds bytes "a result of
; &NBSP;&N bsp; compression. If you prefer a larger chunk the size for better
; performance, enable Output_bufferin G In addition.
; Note:you need to use Zlib.output_handler instead of the standard
; output_handle R, or otherwise the output would be corrupted.
Zlib.output_compression = off
; zlib.output_compression_level =-1
; You cannot specify additional output handlers if zlib.output_compression
; is activated here. This is setting does the same as Output_handler but in
; A different order.
; Zlib.output_handler =
; Implicit flush tells PHP to tells the output layer to flush itself
; Automatically after the every output block. This is equivalent to calling the
; PHP function Flush () after the each and every call to print () or echo ()
; And every HTML block. Turning this option on has serious performance
; Implications and is generally recommended to debugging purposes only.
Implicit_flush = Off
; The unserialize callback function is called (with the undefined class "
; Name as parameter), if the Unserializer finds an undefined class
; which should be instantiated.
; A warning appears if the specified function is not defined, or if the
; function doesn ' t include/implement the missing class.
; So only set this entry, if your really want to implement such a
; Callback-function.
Unserialize_callback_func=
; When floats & doubles are serialized store serialize_precision significant
; Digits after the floating point. The default value ensures that when floats
; are decoded with unserialize, the data would remain the same.
serialize_precision = 100
; Whether to enable the ability to force arguments to is passed by reference
; At function call time. This is deprecated and are likely to be
; Unsupported in future versions of Php/zend. The encouraged method of
; Specifying which arguments should being passed by reference was in the function
; Declaration. You ' re encouraged to try and turn this option, and make
; Sure your scripts work properly with it in order to ensure they would work
; With future versions of the language (you'll receive a warning each time
; With this feature, and the argument is passed by value instead of
; Reference).
Allow_call_time_pass_reference = On
;
; Safe Mode
;
Safe_mode = Off
; By default, Safe Mode does a UID compare check when
; Opening files. If you are want to relax a GID compare,
; Then turn on Safe_mode_gid.
Safe_mode_gid = Off
; When Safe_mode are on, Uid/gid checks are bypassed
; Including files from this directory and its subdirectories.
; (Directory must also is in include_path or full path must
; be used when including)
Safe_mode_include_dir =
; When Safe_mode are on, only executables located in the Safe_mode_exec_dir
; Would be allowed to be executed via the Exec family of functions.
Safe_mode_exec_dir =
; Setting Certain environment variables May is a potential security breach.
; This directive contains a comma-delimited list of prefixes. In Safe Mode,
; The user may only alter environment variables whose names begin with the
; Prefixes supplied here. By default, users would only be able to set
; Environment variables that begin with php_ (e.g. Php_foo=bar).
;
; Note:if this directive is empty, PHP would let the user modify any
; Environment variable!
Safe_mode_allowed_env_vars = Php_
; This directive contains a comma-delimited list of environment variables
; The end user won ' t is able to change using putenv (). These variables would be
; Protected even if Safe_mode_allowed_env_vars is set to allow to change them.
Safe_mode_protected_env_vars = Ld_library_path
; Open_basedir, if set, limits all file operations to the defined directory
; and below. This is directive makes most sense if used in a per-directory
; or per-virtualhost Web server configuration file. This directive is
; *not* affected by whether Safe Mode was turned on or off.
; Open_basedir =
; This directive allows your to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *not* affected by whether Safe Mode was turned on or off.
Disable_functions =
; This directive allows your to disable certain classes for security reasons.
; It receives a comma-delimited list of class names. This directive is
; *not* affected by whether Safe Mode was turned on or off.
Disable_classes =
; Colors for Syntax highlighting mode. Anything that ' s acceptable in
; <span style= "COLOR:???????" > would work.
; highlight.string = #DD0000
; highlight.comment = #FF9900
; Highlight.keyword = #007700
; highlight.bg = #FFFFFF
; Highlight.default = #0000BB
; highlight.html = #000000
; If enabled, the request would be allowed to complete even if the user aborts
; The request. Consider enabling it if executing long request, which may
; Being interrupted by the "user" or a browser timing out.
; Ignore_user_abort = On
; Determines the size of the Realpath cache to is used by PHP. This value should
; be increased on systems where PHP opens many files to reflect the quantity of
; The file operations performed.
; realpath_cache_size=16k
; Duration of time, in seconds for which to cache Realpath information for a given
; File or directory. For systems and rarely changing files, consider increasing this
; Value.
; realpath_cache_ttl=120
;
; Misc
;
; Decides whether PHP may expose the fact, it is installed on the server
; (e.g. by adding it signature to the WEB server header). It is no security
; Threat in no way, but it makes it possible to determine whether your use PHP
; On your server or not.
expose_php = On
;;;;;;;;;;;;;;;;;;;
; Resource Limits;
;;;;;;;;;;;;;;;;;;;
Max_execution_time = 30; Maximum execution time of each script, in seconds
Max_input_time = 60; Maximum amount of time each script may spend parsing request data
; max_input_nesting_level = 64; Maximum input variable nesting level
Memory_limit = 128M; Maximum amount of memory a script may consume (128MB)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error_reporting is a bit-field. Or each number up to get desired error
; Reporting level
; E_all-all errors and warnings (doesn ' t include E_strict)
; E_error-fatal Run-time Errors
; E_recoverable_error-almost Fatal Run-time Errors
; E_warning-run-time warnings (non-fatal errors)
; E_parse-compile-time PARSE Errors
; E_notice-run-time notices (are warnings which often result
; From a bugs in your code, but it's possible that it was
; Intentional (e.g., using an uninitialized variable and
; Relying on the fact it ' s automatically initialized
; Empty string)
; E_strict-run-time notices, enable to have PHP suggest changes
; To your code which would ensure the best interoperability
; And forward compatibility of your code
; E_core_error-fatal errors that occur during PHP ' s initial startup
; E_core_warning-warnings (non-fatal errors) that occur during PHP ' s
; Initial startup
; E_compile_error-fatal Compile-time Errors
; E_compile_warning-compile-time warnings (non-fatal errors)
; e_user_error-user-generated ERROR Message
; e_user_warning-user-generated WARNING Message
; e_user_notice-user-generated NOTICE Message
;
; Examples:
;
; -Show all errors, except for notices and coding standards warnings
;
; error_reporting = E_all & ~e_notice
;
; -Show all errors, except for notices
;
; error_reporting = e_all & ~e_notice | E_strict
;
; -Show Only errors
;
; error_reporting = e_compile_error| e_recoverable_error| e_error| E_core_error
;
; -Show all errors except for notices and coding standards warnings
;
error_reporting = E_all & ~e_notice
; Print out errors (as a part of the output) . for production Web sites,
I ' re strongly encouraged to turn this Feature off, and use error logging
; instead (= below) . Keeping display_errors enabled on a production web sit E
may reveal security information to end users, such as file paths on your Web
; server, your database schema or Other information.
;
; possible values for display_errors:
;
; off -Don't display any errors
; stderr -Display Errors to STDERR (affects only cgi/cli binaries!)
;
;d isplay_errors = "stderr"
;
stdout (ON)-Display errors to stdout
;
Display_errors = on
; Even when display_errors are on, errors that occur during PHP ' s startup
; Sequence are not displayed. It ' s strongly recommended to keep
; Display_startup_errors off, except to when debugging.
Display_startup_errors = Off
; Log errors into a log file (server-specific log, stderr, or Error_log (below))
; As stated above, you ' re strongly advised to use error logging in place of
; Error displaying on production Web sites.
Log_errors = Off
; Set maximum length of log_errors. In Error_log information about the source is
; Added. The default is 1024 and 0 allows to don't apply any maximum length in all.
Log_errors_max_len = 1024
; Do not log repeated messages. Repeated errors must occur in same file on same
; Line unless Ignore_repeated_source is set true.
Ignore_repeated_errors = Off
; Ignore source of message when ignoring repeated messages. When this setting
; Is ' on ' you ' not ' log errors with repeated messages from different files or
; Source lines.
Ignore_repeated_source = Off
; If This parameter was set to off, then memory leaks'll not being shown (on
; StdOut or in the log). This has is effect in a debug compile, and if
; Error reporting includes e_warning in the Allowed list
Report_memleaks = On
; report_zend_debug = 0
; Store the last error/warning message in $php _errormsg (Boolean).
Track_errors = Off
; Turn off normal error reporting and emit XML-RPC error XML
; xmlrpc_errors = 0
; An XML-RPC FaultCode
; xmlrpc_error_number = 0
; Disable the inclusion of HTML tags in error messages.
; Note:never Use this feature for production boxes.
; html_errors = Off
; If Html_errors is set on PHP produces clickable error messages that direct
; To a page describing the error or function causing the error in detail.
; Can download a copy of the PHP manual from http://www.php.net/docs.php
; and change Docref_root to the base URL of your local copy including the
; Leading '/'. You must also specify the file extension being used including
; The dot.
; Note:never Use this feature for production boxes.
;d ocref_root = "/phpmanual/"
;d ocref_ext =. html
; String to output before a error message.
; error_prepend_string = "<font color= #ff0000 >"
; The String to output is the error message.
; error_append_string = "</font>"
; Log errors to specified file.
; error_log = filename
; Log errors to Syslog (Event Log on NT, not valid in Windows 95).
; error_log = syslog
;;;;;;;;;;;;;;;;;
; Data handling;
;;;;;;;;;;;;;;;;;
;
; Note-track_vars is ALWAYS enabled as of PHP 4.0.3
; The separator used in PHP generated URL to separate arguments.
; The Default is "&".
; arg_separator.output = "&"
; List of separator (s) used by the PHP to parse input URL into variables.
; The Default is "&".
; Note:every character in the directive is considered as separator!
; arg_separator.input = ";&"
; This is directive describes the order in which PHP registers get, POST, Cookie,
; Environment and built-in variables (G, P, C, E & S respectively, often
; Referred to as egpcs or GPC). Registration is do from left to right, newer
; Values override older values.
Variables_order = "Egpcs"
; Whether or not to register the EGPCS variables as global variables. May
; Want to turn this out if you don ' t want to clutter your ' global scope
; With user data. This makes most sense when coupled with track_vars-in which
; Case with can access all of the GPC variables through the $HTTP _*_vars[],
; Variables.
;
; You are should do your the best to write your scripts so, they do not require
; Register_globals to is on; Using form variables as globals can easily lead
; To possible security problems, if the "not" very. Thought.
Register_globals = On
; Whether or not to register the Old-style input arrays, http_get_vars
; and friends. If you are not using them, it's recommended to turn them off,
; For performance reasons.
Register_long_arrays = On
; This is directive tells PHP whether to declare the ARGV&ARGC variables
; Would contain the Get information). If you don ' t use this variables, you
; Should turn it off for increased performance.
REGISTER_ARGC_ARGV = On
; When enabled, the SERVER and ENV variables are created when they ' re
; Used (Just in time) instead the script starts. If these variables
; are not used within a script, has this directive on'll result in a
; Performance gain. The PHP directives register_globals, Register_long_arrays,
; And REGISTER_ARGC_ARGV must is disabled for this directive to have any affect.
Auto_globals_jit = On
; Maximum size of POST data that PHP would accept.
Post_max_size = 100M
; Magic Quotes
;
; Magic quotes for incoming Get/post/cookie data.
MAGIC_QUOTES_GPC = On
; Magic quotes for runtime-generated data, e.g. data to SQL, from exec (), etc.
Magic_quotes_runtime = Off
; Use Sybase-style Magic quotes (escape ' with ' instead of ').
Magic_quotes_sybase = Off
; Automatically add files before or after any PHP document.
Auto_prepend_file =
Auto_append_file =
; As of 4.0B4, PHP always outputs a character encoding by default in
; The Content-type:header. To disable sending of the CharSet, simply
; Set it to be empty.
;
; PHP ' s built-in default is text/html
Default_mimetype = "Text/html"
;d efault_charset = "Iso-8859-1"
; Always populate the $HTTP _raw_post_data variable.
; always_populate_raw_post_data = On
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and directories;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
; include_path = ".:/ Php/includes "
;
; Windows: "Path1;path2"
; include_path = ".; C:phpincludes "
; The root of the PHP pages, used only if nonempty.
; If PHP is not compiled with Force_redirect, you SHOULD set Doc_root
; If you are are running PHP as a CGI under any Web server (other than IIS)
; documentation for the security issues. The alternate is to use the
; Cgi.force_redirect Configuration Below
Doc_root =
; The directory under which PHP opens the script using/~username used only
; If nonempty.
User_dir =
; Directory in which the loadable Extensions (modules) reside.
Extension_dir = "D:phpstudyphpstudyphp5ext"
; Whether or not to enable the DL () function. The DL () function does not work
; Properly in multithreaded servers, such as IIS or Zeus, and are automatically
; Disabled on them.
ENABLE_DL = On
; Cgi.force_redirect is necessary to provide security running PHP as a CGI under
; Most Web servers. Left undefined, PHP turns this in by default. You can
; Turn it off in YOUR OWN RISK
; **you CAN safely turn this to IIS, in fact, and you must.**
; Cgi.force_redirect = 1
; If CGI.NPH is enabled it'll force CGI to always sent status:200 with
; Every request.
; CGI.NPH = 1
; If Cgi.force_redirect is turned on, and your are not running under Apache or Netscape
; (iPlanet) Web servers, you could need to set a environment variable name that PHP
; 'll look in to know it's OK to continue execution. Setting this variable may
; Cause security issues, KNOW WHAT you ARE doing.
; Cgi.redirect_status_env =;
; Cgi.fix_pathinfo provides *real* path_info/path_translated support for CGI. PHP ' s
; Previous behaviour is to the set path_translated to Script_filename, and to not Grok
; What Path_info is. For more information on Path_info, the "the CGI specs." Setting
; This to 1 would cause PHP CGI to fix it's paths to conform to the spec. A setting
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
; To use Script_filename rather than path_translated.
; Cgi.fix_pathinfo=0
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
; Security tokens of the calling client. This allows IIS to define the
; This is the request runs under. mod_fastcgi under Apache
; Does not currently support this feature (03/17/2002)
; Set to 1 if running under IIS. Default is zero.
; Fastcgi.impersonate = 1;
; Disable Logging through FastCGI connection
; fastcgi.logging = 0
; Cgi.rfc2616_headers configuration option tells PHP what type of headers to
; Use when sending HTTP response code. If it ' s set 0 PHP sends Status:header that
; is supported by Apache. When this option is set to 1 PHP would send
; RFC2616 compliant header.
; Default is zero.
; cgi.rfc2616_headers = 0
;;;;;;;;;;;;;;;;
; File uploads;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
File_uploads = On
; Temporary directory for HTTP uploaded files (would use system default if not
; Specified).
; Upload_tmp_dir =
; Maximum allowed size for uploaded files.
Upload_max_filesize = 100M
; Maximum number of files that can is uploaded via a single request
Max_file_uploads = 20
;;;;;;;;;;;;;;;;;;
; Fopen wrappers;
;;;;;;;;;;;;;;;;;;
; Whether to allow the treatment of URL (like http://or ftp://) as files.
Allow_url_fopen = On
; Whether to allow Include/require to open url (like http://or ftp://) as files.
Allow_url_include = Off
; Define the anonymous FTP password (your email address)
; from= "John@doe.com"
; Define the User-agent string
; User_agent= "PHP"
; Default timeout for socket based streams (seconds)
Default_socket_timeout = 60
; If your scripts have to deal with the files from Macintosh systems,
; Or you are running on a Mac and need to deal with the files from
; UNIX or Win32 systems, setting this flag'll cause PHP to
; Automatically detect the EOL character in those files
; Fgets () and file () would work regardless of the source of the file.
; Auto_detect_line_endings = Off
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you are wish to have a extension loaded automatically, use the following
; Syntax
;
; Extension=modulename.extension
;
; For example, on Windows:
;
; Extension=msql.dll
;
; ... or under UNIX:
;
; Extension=msql.so
;
; The It should be the name of the module only; No directory information
; Needs to go. Specify the location of the extension with the
; EXTENSION_DIR directive above.
; Windows Extensions
; This is the ODBC support is built in, and so no DLL are needed for it.
; Note This many DLL files are located in the extensions/(PHP 4) ext/(PHP 5)
; Extension folders as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the EXTENSION_DIR directive.
; Extension=php_bz2.dll
; Extension=php_curl.dll
; Extension=php_dba.dll
; Extension=php_dbase.dll
; Extension=php_exif.dll
; Extension=php_fdf.dll
Extension=php_gd2.dll
; Extension=php_gettext.dll
; Extension=php_gmp.dll
; Extension=php_ifx.dll
; Extension=php_imap.dll
; Extension=php_interbase.dll
; Extension=php_ldap.dll
Extension=php_mbstring.dll
; Extension=php_mcrypt.dll
; Extension=php_mhash.dll
; Extension=php_mime_magic.dll
; Extension=php_ming.dll
; Extension=php_msql.dll
; Extension=php_mssql.dll
Extension=php_mysql Tutorial. dll
; Extension=php_mysqli.dll
; Extension=php_oci8.dll
; Extension=php_openssl.dll
Extension=php_pdo.dll
; Extension=php_pdo_firebird.dll
; Extension=php_pdo_mssql.dll
Extension=php_pdo_mysql.dll
; Extension=php_pdo_oci.dll
; Extension=php_pdo_oci8.dll
; Extension=php_pdo_odbc.dll
; Extension=php_pdo_pgsql.dll
Extension=php_pdo_sqlite.dll
; Extension=php_pgsql.dll
; Extension=php_ps Tutorial Pell.dll
; Extension=php_shmop.dll
; Extension=php_snmp.dll
; Extension=php_soap.dll
; Extension=php_sockets.dll
Extension=php_sqlite.dll
; Extension=php_sybase_ct.dll
; Extension=php_tidy.dll
; Extension=php_xmlrpc.dll
; Extension=php_xsl.dll
Extension=php_zip.dll
;;;;;;;;;;;;;;;;;;;
; Module Settings;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
Date.timezone =PRC
;d ate.default_latitude = 31.7667
;d ate.default_longitude = 35.2333
;d Ate.sunrise_zenith = 90.583333
;d Ate.sunset_zenith = 90.583333
[Filter]
; Filter.default = Unsafe_raw
; filter.default_flags =
[Iconv]
; iconv.input_encoding = iso-8859-1
; iconv.internal_encoding = iso-8859-1
; iconv.output_encoding = iso-8859-1
[SQLite]
; sqlite.assoc_case = 0
[Pcre]
; PCRE Library backtracking limit.
;p cre.backtrack_limit=100000
; PCRE Library recursion limit.
; Please, if you are set this value to a consume
; The available process stack and eventually crash PHP (due to reaching the
; Stack size limit imposed by the operating System).
;p cre.recursion_limit=100000
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG _pid,
; $LOG _cron, etc.). Turning it is a good idea performance-wise. In
; runtime, you can define this variables by calling Define_syslog_variables ().
Define_syslog_variables = Off
[Mail Function]
; For Win32.
SMTP = localhost
Smtp_port = 25
; For Win32.
; sendmail_from = me@example.com
; For Unix only. You may supply arguments as OK (default: "Sendmail-t-i").
; Sendmail_path =
; Force The addition of the specified parameters to be passed as extra parameters
; to the SendMail binary. These parameters would always replace the value of
; The 5th parameter to mail (), even in safe mode.
; mail.force_extra_parameters =
[SQL]
Sql.safe_mode = Off
[ODBC]
; odbc.default_db = Not yet implemented
; odbc.default_user = Not yet implemented
; ODBC.DEFAULT_PW = Not yet implemented
; Allow or prevent persistent links.
Odbc.allow_persistent = On
; Check that's a connection is still valid before reuse.
Odbc.check_persistent = On
; Maximum number of persistent links. -1 means no limit.
Odbc.max_persistent =-1
; Maximum Number of links (persistent + non-persistent). -1 means no limit.
Odbc.max_links =-1
; Handling of LONG fields. Returns number of bytes to variables. 0 means
; PassThru.
ODBC.DEFAULTLRL = 4096
; Handling of binary data. 0 means passthru, 1 return as are, 2 convert to char.
; The documentation on Odbc_binmode and Odbc_longreadlen for a explanation
; of UODBC.DEFAULTLRL and Uodbc.defaultbinmode
Odbc.defaultbinmode = 1
[MySQL]
; Allow or prevent persistent links.
Mysql.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
Mysql.max_persistent =-1
; Maximum Number of links (persistent + non-persistent). -1 means no limit.
Mysql.max_links =-1
; Default Port number for mysql_connect (). If unset, mysql_connect () would use
; The $MYSQL _tcp_port or the MYSQL-TCP entry in/etc/services or the
; Compile-time value defined Mysql_port (in the order). Win32 'll only look
; At Mysql_port.
Mysql.default_port =
; Default socket name for the local MySQL connects. If empty, uses the built-in
; MySQL defaults.
Mysql.default_socket =
; Default host for mysql_connect () (doesn ' t apply in safe mode).
Mysql.default_host =
; Default user for mysql_connect () (doesn ' t apply in safe mode).
Mysql.default_user =
; Default password for mysql_connect () (doesn ' t apply in safe mode).
; This is generally a *bad* idea to store passwords in this file.
; *any* user with PHP access can run ' echo get_cfg_var ("Mysql.default_password")
; and reveal this password! Course, any users with read access to this
; File would be able to reveal the password as.
Mysql.default_password =
; Maximum time (in seconds) for connect timeout. -1 means no Limit
Mysql.connect_timeout = 60
; Trace mode. When Trace_mode are active (=on), warnings for table/index scans and
; Sql-errors would be displayed.
Mysql.trace_mode = Off
[Mysqli]
; Maximum number of links. -1 means no limit.
Mysqli.max_links =-1
; Default Port number for Mysqli_connect (). If unset, Mysqli_connect () would use
; The $MYSQL _tcp_port or the MYSQL-TCP entry in/etc/services or the
; Compile-time value defined Mysql_port (in the order). Win32 'll only look
; At Mysql_port.
Mysqli.default_port = 3306
; Default socket name for the local MySQL connects. If empty, uses the built-in
; MySQL defaults.
Mysqli.default_socket =
; Default host for mysql_connect () (doesn ' t apply in safe mode).
Mysqli.default_host =
; Default user for mysql_connect () (doesn ' t apply in safe mode).
Mysqli.default_user =
; Default password for mysqli_connect () (doesn ' t apply in safe mode).
; This is generally a *bad* idea to store passwords in this file.
; *any* user with PHP access can run ' echo get_cfg_var ("MYSQLI.DEFAULT_PW")
; and reveal this password! Course, any users with read access to this
; File would be able to reveal the password as.
MYSQLI.DEFAULT_PW =
; Allow or prevent reconnect
Mysqli.reconnect = Off
[mSQL]
; Allow or prevent persistent links.
Msql.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
Msql.max_persistent =-1
; Maximum Number of links (Persistent+non persistent). -1 means no limit.
Msql.max_links =-1
[OCI8]
; Enables privileged connections using external credentials (Oci_sysoper, OCI_SYSDBA)
; oci8.privileged_connect = Off
; Connection:the Maximum number of persistent OCI8 connections per
; Process. Using-1 means no limit.
; oci8.max_persistent =-1
; Connection:the maximum number of seconds a process is allowed to
; Maintain an idle persistent connection. Using-1 means idle
; Persistent connections would be maintained forever.
; oci8.persistent_timeout =-1
; Connection:the number of seconds that must pass before issuing a
; Ping during oci_pconnect () to check the connection validity. When
; Set to 0, and each oci_pconnect () would cause a ping. Using-1 Disables
; Pings completely.
; oci8.ping_interval = 60
; Tuning:this option enables statement caching, and specifies how
; Many statements to cache. Using 0 Disables statement caching.
; oci8.statement_cache_size = 20
; Tuning:enables Statement prefetching and sets the default number of
; Rows that would be fetched automatically after statement execution.
; Oci8.default_prefetch = 10
; Compatibility. Using on means Oci_close () won't close
; Oci_connect () and Oci_new_connect () connections.
; oci8.old_oci_close_semantics = Off
[Postgressql]
; Allow or prevent persistent links.
Pgsql.allow_persistent = On
; Detect broken persistent links always with pg_pconnect ().
; Auto reset feature requires a little overheads.
Pgsql.auto_reset_persistent = Off
; Maximum number of persistent links. -1 means no limit.
Pgsql.max_persistent =-1
; Maximum Number of links (Persistent+non persistent). -1 means no limit.
Pgsql.max_links =-1
; Ignore PostgreSQL backends Notice or not.
; Notice message logging require a little overheads.
Pgsql.ignore_notice = 0
; Log PostgreSQL backends Notice or not.
; Unless pgsql.ignore_notice=0, module cannot log notice message.
Pgsql.log_notice = 0
[Sybase]
; Allow or prevent persistent links.
Sybase.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
Sybase.max_persistent =-1
; Maximum Number of links (persistent + non-persistent). -1 means no limit.
Sybase.max_links =-1
; sybase.interface_file = "/usr/sybase/interfaces"
; Minimum error severity to display.
Sybase.min_error_severity = 10
; Minimum message severity to display.
Sybase.min_message_severity = 10
; Compatibility mode with the old versions of PHP 3.0.
; If on, this'll cause PHP to automatically assign types to results according
; To their Sybase type, instead of treating them all as strings. This
; Compatibility mode would probably not stay around forever, so try applying
; Whatever necessary changes to your the code, and turn it off.
Sybase.compatability_mode = Off
[SYBASE-CT]
; Allow or prevent persistent links.
Sybct.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
Sybct.max_persistent =-1
; Maximum Number of links (persistent + non-persistent). -1 means no limit.
Sybct.max_links =-1
; Minimum Server message severity to display.
Sybct.min_server_severity = 10
; Minimum Client message severity to display.
Sybct.min_client_severity = 10
[Bcmath]
; Number of decimal digits for all Bcmath functions.
Bcmath.scale = 0
[Browscap]
; browscap = Extra/browscap.ini
[Informix]
; Default host for Ifx_connect () (doesn ' t apply in safe mode).
Ifx.default_host =
; Default user for Ifx_connect () (doesn ' t apply in safe mode).
Ifx.default_user =
; Default password for ifx_connect () (doesn ' t apply in safe mode).
Ifx.default_password =
; Allow or prevent persistent links.
Ifx.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
Ifx.max_persistent =-1
; Maximum Number of links (persistent + non-persistent). -1 means no limit.
Ifx.max_links =-1
; If on, SELECT statements return the contents of a-text blob instead of its ID.
Ifx.textasvarchar = 0
; If on, SELECT statements return the contents's a byte blob instead of its ID.
Ifx.byteasvarchar = 0
; Trailing blanks are stripped from fixed-length char columns. May help the
; Life of Informix SE users.
Ifx.charasvarchar = 0
; If on, the contents of text and byte blobs are dumped to a file instead of
; Keeping them in memory.
Ifx.blobinfile = 0
; NULL ' s are returned as empty strings, unless this are set to 1. In the case,
; Null ' s are returned as String ' null '.
Ifx.nullformat = 0
[Session]
; Handler used to store/retrieve data.
Session.save_handler = Files
; Argument passed to Save_handler. In the case of files, this is the path
; Where data files are stored. Note:windows users have to change this
; Variable in order to use the PHP ' s session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
; Session.save_path = "N;/path"
;
; Where N is an integer. Instead of storing all the sessions files in
; /path, what this would do are use subdirectories n-levels deep, and
; Store the session data in those directories. This is useful if you
; Or your OS have problems with lots of files in one directory, and is
; A more efficient layout for servers that handle lots of sessions.
;
; Note 1:php won't create this directory structure automatically.
; You can use the script in the Ext/session dir for that purpose.
; Note 2:see the garbage collection below if you choose to
; Use subdirectories to session storage
;
; The file storage module creates files using mode by default.
; You can change this by using
;
; Session.save_path = "N; Mode;/path "
;
; Where mode is the octal representation of the mode. This is the note
; Does not overwrite the process ' s umask.
; Session.save_path = "/tmp"
; Whether to use cookies.
Session.use_cookies = 1
; session.cookie_secure =
; This option enables administrators to make their users invulnerable to
; Attacks which involve passing session IDs in URLs; Defaults to 0.
; Session.use_only_cookies = 1
; Name of the session (used as cookie name).
Session.name = Phpsessid
; Initialize session on request startup.
Session.auto_start = 0
; Lifetime in seconds of cookies or, if 0, until browser is restarted.
Session.cookie_lifetime = 0
; The path for which the cookies is valid.
Session.cookie_path =/
; The domain for which the cookies is valid.
Session.cookie_domain =
; Whether or not to add the HTTPONLY flag to the cookie which makes it inaccessible to browser scripting languages as Javascript.
Session.cookie_httponly =
; Handler used to serialize data. PHP is the standard serializer of PHP.
Session.serialize_handler = PHP
; Define the probability that's ' garbage collection ' process is started
; On every session initialization.
; The probability is calculated by using Gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance this GC process starts
; On the each request.
session.gc_probability = 1
Session.gc_divisor = 100
; After this number of seconds, stored data would be seen as ' garbage ' and
; Cleaned up by the garbage collection process.
Session.gc_maxlifetime = 1440
; Note:if you are using the subdirectory option for storing session files
; Ssion.save_path above), then garbage collection does *not*
; happen automatically. you'll need to do your own garbage
; collection through a s Hell script, cron entry, or some method.
; For example, the following script would is the equivalent of
; & nbsp; setting Session.gc_maxlifetime to 1440 (1440 seconds = minutes):
; cd/path/to/sessions; Find-cmin +24 | Xargs RM
; PHP 4.2 and less have a undocumented feature/bug that allows
; To initialize a sessions variable in the global scope, albeit register_globals
; is disabled. PHP 4.3 and later'll warn for you, if it feature is used.
; You can disable the feature and the warning separately. At this time,
; The warning is only displayed, if BUG_COMPAT_42 is enabled.
session.bug_compat_42 = 1
Session.bug_compat_warn = 1
; Check HTTP Referer to invalidate externally stored URLs containing IDs.
; Http_referer has to contain this substring
; considered as valid.
Session.referer_check =
; How many bytes to read from the file.
Session.entropy_length = 0
; Specified here to create the session ID.
Session.entropy_file =
; session.entropy_length = 16
; session.entropy_file =/dev/urandom
; Set to {nocache,private,public,} to determine HTTP caching aspects
; Or leave this empty to avoid sending anti-caching headers.
Session.cache_limiter = NoCache
; Document expires after n minutes.
Session.cache_expire = 180
; Trans SID support is disabled by default.
; Use the trans Sid may risk your the users security.
; Use the option with caution.
; -User may send URL contains active session ID
; to other person via. Email/irc/etc.
; -URL that is contains active session ID is stored
; In publically accessible computer.
; -User may access your site with the same session ID
; Always using URL stored in browser ' s history or bookmarks.
Session.use_trans_sid = 0
; Select a hash function
; 0:MD5 (128 bits)
; 1:sha-1 (160 bits)
session.hash_function = 0
; Define how many bits are stored during each character when converting
; The binary hash data to something readable.
;
; 4 bits:0-9, A-f
; 5 bits:0-9, A-v
; 6 bits:0-9, A-Z, a-Z, "--", ","
Session.hash_bits_per_character = 4
; The URL rewriter'll look for URLs in a defined set of HTML tags.
; Form/fieldset are special; If you include them here, the Rewriter would
; Add a hidden <input> field with the info which is otherwise appended
; To URLs. If you want XHTML conformity, remove the form entry.
; Note This all valid entries require a "=", even if no value follows.
Url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
[MSSQL]
; Allow or prevent persistent links.
Mssql.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
Mssql.max_persistent =-1
; Maximum Number of links (Persistent+non persistent). -1 means no limit.
Mssql.max_links =-1
; Minimum error severity to display.
Mssql.min_error_severity = 10
; Minimum message severity to display.
Mssql.min_message_severity = 10
; Compatibility mode with the old versions of PHP 3.0.
Mssql.compatability_mode = Off
; Connect Timeout
; mssql.connect_timeout = 5
; Query Timeout
; mssql.timeout = 60
; Valid Range 0-2147483647. Default = 4096.
; mssql.textlimit = 4096
; Valid Range 0-2147483647. Default = 4096.
; mssql.textsize = 4096
; Limits the number of records in each batch. 0 = All records in one batch.
; mssql.batchsize = 0
; Specify how datetime and DATETIM4 columns are returned
; On => Returns data converted to SQL Server settings
; Off => Returns values as Yyyy-mm-dd hh:mm:ss
; Mssql.datetimeconvert = On
; Use NT authentication when connecting to the server
Mssql.secure_connection = Off
; Specify max number of processes. -1 = Library Default
; Msdlib defaults to 25
; FreeTDS defaults to 4096
; mssql.max_procs =-1
; Specify client character set.
; If empty or not set the client charset from FREETDS.COMF is used
; This is the used when compiled with FreeTDS
; mssql.charset = "Iso-8859-1"
[Assertion]
; Assert (expr); Active by default.
; assert.active = On
; Issue a PHP warning for each failed assertion.
; assert.warning = On
; Don ' t bail out by default.
; assert.bail = Off
; User-function to is called if an assertion fails.
; assert.callback = 0
; Eval the expression with current error_reporting (). Set to True if you want
; Error_reporting (0) around the eval ().
; assert.quiet_eval = 0
[COM]
; Path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
; com.typelib_file =
; Allow Distributed-com calls
; com.allow_dcom = True
; Autoregister constants of a components typlib on com_load ()
; Com.autoregister_typelib = True
; Register Constants CaseSensitive
; com.autoregister_casesensitive = False
; Show warnings on duplicate constant registrations
; Com.autoregister_verbose = True
[Mbstring]
; Language for internal character representation.
; mbstring.language = Japanese
; Internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. Sjis, BIG5, iso-2022-*)
; mbstring.internal_encoding = EUC-JP
; HTTP input encoding.
; mbstring.http_input = Auto
; HTTP output encoding. Mb_output_handler must be
; Registered as output buffer to function
; mbstring.http_output = Sjis
; Enable automatic encoding translation according to
; Mbstring.internal_encoding setting. Input chars are
; Converted to internal the encoding by setting.
; Note:do _not_ Use automatic encoding translation for
; Portable libs/applications.
; mbstring.encoding_translation = Off
; Automatic encoding detection order.
; Auto means
; mbstring.detect_order = Auto
; Substitute_character used when character cannot to be converted
; One from another
; mbstring.substitute_character = none;
; Overload (replace) Single byte functions by mbstring functions.
; Mail (), ereg (), etc are overloaded by mb_send_mail (), Mb_ereg (),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0:no overload
; 1:overload Mail () function
; 2:overload str* () functions
; 4:overload ereg* () functions
; mbstring.func_overload = 0
[Frontbase]
; fbsql.allow_persistent = On
; fbsql.autocommit = On
; fbsql.show_timestamp_decimals = Off
; fbsql.default_database =
; Fbsql.default_database_password =
; fbsql.default_host =
; Fbsql.default_password =
; fbsql.default_user = "_system"
; fbsql.generate_warnings = Off
; fbsql.max_connections = 128
; fbsql.max_links = 128
; fbsql.max_persistent =-1
; fbsql.max_results = 128
[GD]
; Tell the JPEG decode to libjpeg warnings and try to create
; A GD image. The warning would then be displayed as notices
; Disabled by default
; gd.jpeg_ignore_warning = 0
[EXIF]
; Exif UNICODE user comments are handled as Ucs-2be/ucs-2le and JIS as JIS.
; With mbstring support This would automatically is converted into the encoding
; Given by corresponding encode setting. When empty mbstring.internal_encoding
; is used. For the decode settings can distinguish between Motorola and
; Intel byte order. A decode setting cannot be empty.
; Exif.encode_unicode = iso-8859-15
; Exif.decode_unicode_motorola = Ucs-2be
; Exif.decode_unicode_intel = Ucs-2le
; Exif.encode_jis =
; Exif.decode_jis_motorola = JIS
; Exif.decode_jis_intel = JIS
[Tidy]
; The path to a default tidy configuration file to use when using tidy
; tidy.default_config =/usr/local/lib/php/default.tcfg
; Should Tidy clean and repair output automatically?
; Warning:do not with this option if you are generating non-html content
; such as dynamic images
Tidy.clean_output = Off
[SOAP]
; Enables or disables WSDL caching feature.
Soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension'll put cache files.
soap.wsdl_cache_dir= "/tmp"
; (Time to live) Sets the number of second while cached file would be used
; Instead of original one.
soap.wsdl_cache_ttl=86400
; Local Variables:
; Tab-width:4
; End:
[Zend]
Zend_extension_manager.optimizer_ts = "D:phpstudyphpstudyzendoptimizerliboptimizer"
Zend_extension_ts = "D:phpstudyphpstudyzendoptimizerlibzendextensionmanager.dll"
Zend_optimizer.optimization_level=15
Let's take a look at the Chinese version of PHP.ini.
;;;;;;;;;;;
; Warning
;;;;;;;;;;;
; This profile is the default setting for newly installed PHP.
; By default, PHP uses this configuration file to install
; This configuration is for development purposes and * is not * for the production environment
; Based on some security considerations, consider using php.ini-recommended before your site is online.
; and online documentation http://php.net/manual/en/security.php.
;;;;;;;;;;;;;;;;;;;
; About PHP.ini;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP behavior. To enable PHP to read it
; Must be named ' PHP.ini '. PHP in its current working directory, specified by PHPRC environment variable directory
; And the directory specified at compile time (in this order) to find this file
; In a Windows environment, the compile-time directory is a Windows directory.
; Directories that look for php.ini in command-line mode can be overwritten by the-C parameter.
;
; The syntax for this file is very simple.
; Blank lines and rows starting with semicolons are ignored (as you may have guessed).
; The beginning of a segment (for example, [Foo]) is also silently ignored
; They may have other effects even in the future.
;
; Use the following syntax to set instructions:
; directive = value
; directive = value
; The instruction name is * Case Sensitive *-Foo=bar and Foo=bar are different.
;
; Values can be string, numeric, PHP constants (such as E_all and M_PI),
; INI constant (on, off, True, False, Yes, No and None) or an expression
; (for example, E_all & ~e_notice), or a quoted string ("foo").
;
; Expressions in the INI file can only use logical operations and parentheses:
; | Logical OR
; & Logic and
; ~ Logical Non
; ! Take the counter
;
; Logical flags can be opened using 1,on,true or Yes.
; You can also use 0, off, False, or no to close.
;
; Not writing anything after the equals sign represents an empty string
; Or use the None keyword:
;
; Foo =; Set Foo to an empty string
; foo = none; Set Foo to an empty string
; Foo = "None"; Set Foo to string ' None '
;
; If you use constants in values, and this constant belongs to a dynamically loaded extension module
; (Whether it's a php extension or a zend extension),
; Then you can only use these constants after loading these extensions *.
;
;
;;;;;;;;;;;;;;;;;;;
; about this document;
;;;;;;;;;;;;;;;;;;;
; All values in the Php.ini-dist file are equivalent to the built-in default values
; (That is, if you don't use php.ini, or if you delete these lines,
; The same as the built-in default values).
;;;;;;;;;;;;;;;;;;;;
; Language Options;
;;;;;;;;;;;;;;;;;;;;
; Open the PHP scripting language engine under Apache
Engine = On
; Open Zend Engine compatibility mode (PHP 4.x)
Zend.ze1_compatibility_mode = Off
; Let's do it. Label. Otherwise, only the <?php and <script> tags are considered PHP scripts.
; Note: Try to avoid using a thumbnail tag when developing a republishing program or library, or publish under a server that is not under your control.
; Because the abbreviated label may not be supported by the target server. For portability, redistribute code, please do not use abbreviated tags
Short_open_tag = On
; <%%> tags using ASP style.
Asp_tags = Off
; The number of significant digits (floating-point precision) for the numeric value in the floating-point numbers.
Precision = 12
; Force 2000 compliant (may cause incompatible browser issues)
Y2k_compliance = On
; Output buffering allows you to send headers (including cookies) after you send the body content
; The price is slightly slowing down the PHP output layer
; You can invoke the output buffering function at run time to turn on this feature
; You can also set this command to on to open output buffers for all files
; If you want to limit this buffer to a specific size-you can use the maximum number of bytes instead of ' on ' as an argument for this instruction (for example, output_buffering=4096).
Output_buffering = Off
; You can redirect all the content of your script output to the specified function.
; For example, if you set Output_handler to "Mb_output_handler",
; The character encoding is converted to the specified encoding.
; Setting any output handle handles automatically turns on the output buffer.
; Note: Do not rely on this INI configuration if you want to write a portable script
; Instead, explicitly use Ob_start () to set the output processing handle.
; Using this INI directive can cause problems unless you understand clearly what the script is doing.
; Note: You cannot use both "Mb_output_handler" and "Ob_iconv_handler" at the same time.
; And you can't use both "Ob_gzhandler" and "zlib.output_compression" at the same time.
; Note: If you use the zlib.output_handler instruction to turn on zlib output compression, the instruction must be empty.
; Output_handler =
; Using the Zlib library to compress output
; Valid values for this option are ' off ', ' on ', or the number of bytes (buffer size to compress, default is 4KB)
; Note: The chunk size of the result may vary depending on the size of the compressed object.
; The size of the PHP output block is generally compressed after hundreds of bytes per large hour.
; If you want to get better performance with a large heap size, additional open output_buffering options are required.
; Note: You must use Zlib.output_handler to replace the standard
; Output_handler, otherwise the output may be problematic.
Zlib.output_compression = Off
; zlib.output_compression_level =-1
; After activating zlib.output_compression here, you can no longer specify additional output processing.
; This setting is the same as Output_handler, but the processing order is different.
; Zlib.output_handler =
; Immediately refresh tells PHP to let the output layer automatically refresh immediately after each output block.
; This is the same as calling flush () after each call to the print () or echo () function and any kind of HTML block.
; Turning on this option can severely degrade performance and is generally recommended only for debugging purposes.
Implicit_flush = Off
; If the deserialization finds an undefined class that can be used as an example. A callback function that is not serialized is invoked (using an undefined class masterpiece as a parameter),
; A warning occurs if a particular function is not defined or if the function does not contain/implement the missing class.
; If only you really want to implement a similar callback function, set this entry.
Unserialize_callback_func=
; When floating-point numbers and double precision are serialized, the floating-point number is followed by serialize_precision to specify the number of significant digits of the storage precision.
; The default value is when the floating-point number is decoded by the reverse sequence, and the value remains the same.
serialize_precision = 100
; Do you want to open force pass arguments to function by reference
; This method is objected to and is likely to be no longer supported in future versions of Php/zend.
; The specified method of being orphaned is that the parameter should be passed in by reference when the function is declared.
; You are encouraged to try the above method and turn this option off to ensure that your script will still work in a new version of the future (each time you use this feature, you receive a warning
; And the parameter will pass a value rather than a reference.
Allow_call_time_pass_reference = On
;
; Safe Mode
;
Safe_mode = Off
; By default, Safe mode uses the UID to compare detection when opening a file.
; If you just want to use the GID to do a loose comparison,
; Open Safe_mode_gid.
Safe_mode_gid = Off
; When the Safe_mode is opened, the Uid/gid detection of the files and subfolders contained in this directory is bypassed.
; (The directory must exist in include_path or must use full path when included)
Safe_mode_include_dir =
; When Safe_mode is opened, only executable files defined in Safe_mode_exec_dir can be opened through the EXEC function group.
Safe_mode_exec_dir =
; Setting certain environment variables can be a potential security risk.
; This directive contains a comma-delimited list of leading lists.
; In safe mode, the user may only change the variable that conforms to the leading character given here.
; By default, users can only change variables that start with PHP_ (for example,. Php_foo=bar).
;
; Note: If this instruction is empty, PHP will allow the user to modify any environment variables!
Safe_mode_allowed_env_vars = Php_
; This directive contains a comma-delimited list of environment variables that users cannot use to modify the environment variables in the list by using the Putenv () function.
; These variables are protected from modification even if they are already in the list set by Safe_mode_allowed_env_vars.
Safe_mode_protected_env_vars = Ld_library_path
; If Open_basedir is set, the file action will be restricted to directories and subdirectories under this directive.
; This directive is most meaningful for each directory or for each virtual host configuration file. This instruction * will not be affected by Safe mode on or off.
; Open_basedir =
; This directive allows you to turn off the specified function for security reasons.
; It accepts a comma-delimited list of function names.
; This instruction * will not be affected by Safe mode on or off.
Disable_functions =
; This directive allows you to turn off the specified class for security reasons.
; It accepts a comma-delimited list of class names.
; This instruction * will not be affected by Safe mode on or off.
Disable_classes =
; Syntax highlighting mode of color. Any in <span style= "color:???????" Acceptable values in > are available.
; highlight.string = #DD0000
; highlight.comment = #FF9900
; Highlight.keyword = #007700
; highlight.bg = #FFFFFF
; Highlight.default = #0000BB
; highlight.html = #000000
; If it is turned on, the request is executed even if the user abandons it.
; Open this option when performing a request that may be interrupted by the user or the browser timeout.
; Ignore_user_abort = On
; Specifies a buffer for the actual path used by PHP. This value should be added to a system in which PHP opens many files to handle many file operations.
; realpath_cache_size=16k
; reserves the number of seconds to buffer the true path information for a given file or directory. You can consider increasing this value for systems that rarely modify files.
; realpath_cache_ttl=120
;
; Other
;
; Consider the fact that PHP may be exposed by the server on which it is installed (for example, by a Web server as header information).
; In any case this is not a security threat and it is still possible to expose your server to whether PHP is being used.
expose_php = On
;;;;;;;;;;;;;;;;;;;
; resource constraints;
;;;;;;;;;;;;;;;;;;;
; Maximum execution number of seconds per script
Max_execution_time = 30
; The maximum time each script uses to parse the requested data
Max_input_time = 60
; Nesting level of the maximum input variable
; max_input_nesting_level = 64
; The maximum amount of memory that can be used per script (128MB)
Memory_limit = 128M
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; error handling and recording;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; A bit when error reporting. Take or get the final reporting level for each value
; E_all-All errors and warnings (does not contain e_strict)
; E_error-Fatal Run-time Error
; E_recoverable_error-Almost fatal run-time error
; E_warning-Runtime Warning (non-fatal error)
; E_parse-Compile-time syntax error
; E_notice-Run-time Reminders (These warnings are often caused by bugs in your code, but it can also be intentional behavior (for example, using an uninitialized variable and relying on the fact that it will be automatically initialized to an empty string)
; E_strict-Runtime reminders, PHP will give you the most portable and best backward compatibility advice for your code when you open it.
; E_core_error-php Initialization startup fatal error
; E_core_warning-A warning (non-fatal error) that occurs when PHP initializes
; E_compile_error-Fatal compile-time error
; E_compile_warning-Compile-time warning (non-fatal)
; E_user_error-User Generated error message
; E_user_warning-User generated warning message
; E_user_notice-user-generated prompt information
;
Example
;
; -Displays all errors, in addition to hints and code standard warnings
;
; error_reporting = E_all & ~e_notice
;
; -Show all errors except prompts
;
; error_reporting = e_all & ~e_notice | E_strict
;
; -Show Only errors
;
; error_reporting = e_compile_error| e_recoverable_error| e_error| E_core_error
;
; -Displays a hint and error outside of the code standard warning
;
error_reporting = E_all & ~e_notice
; PrintOut error (as part of the output). For a Web site for a production environment,
; It is strongly recommended that you turn off this option and use the error log instead (refer to below for details).
; Opening a Web site in a production environment display_errors may leak security information to end users, such as the Web server's file path, the structure of your database tutorial, or other information.
;
; Display_errors Available values:
;
; Off-do not display any error messages
; STDERR-Output error message to STDERR (only CGI/CLI format is valid!)
;
;d isplay_errors = "stderr"
;
; STDOUT (ON)-Output error message to stdout
;
Display_errors = On
; Errors that occur in the PHP startup sequence are not displayed even after the display_errors is open.
; It is strongly recommended that you keep display_startup_errors off unless you are in a wrong row
Display_startup_errors = Off
; Enter the error into the log file (specified by the server specified by the Log,stderr or Error_log (below))
; As mentioned above, it is strongly recommended that you use the error log instead of the error display under the Production environment Web site.
Log_errors = Off
; Sets the maximum length of the log_errors. The error_log information about the source is also counted.
; The default is 1024, set to 0 without limiting any maximum length.
Log_errors_max_len = 1024
; Do not record duplicate information. It must appear in the same row of the same file to be considered duplicate unless the Ignore_repeated_source is set to true.
Ignore_repeated_errors = Off
; Ignores the source of the message when repeating messages are ignored. When this setting is turned on, no longer records the same messages from different files or from peers.
Ignore_repeated_source = Off
; If this option is set to OFF, the memory leak is not displayed (either in stdout or in the log).
; This entry is valid only in debug compilation mode, and error reporting needs to contain e_warning
Report_memleaks = On
; report_zend_debug = 0
; Save the last Error/warning message (logical value) in $php_errormsg.
Track_errors = Off
; Closes the HTML tag contained in the error message.
; Note: This attribute should never be used in a production environment.
; html_errors = Off
; If Html_errors is set to ON, PHP generates clickable error messages, and clicks to jump to a page that describes the error or the function that caused the error.
; You can download a copy of the PHP manual from http://www.php.net/docs.php
; and point the docref_root to the '/' at which you placed the local copy.
; You must also specify the extension of the containing point of the file file.
; Note: This attribute should never be used in a production environment.
;d ocref_root = "/phpmanual/"
;d ocref_ext =. html
; The string to be added before the error message is printed.
; error_prepend_string = "<font color= #ff0000 >"
; The string that is added after the error message is printed.
; error_append_string = "</font>"
; Logs the error to the specified file.
; error_log = filename
; Log errors to Syslog (the event log on the NT system is not available under Windows 95).
; error_log = syslog
;;;;;;;;;;;;;;;;;
; Document processing;
;;;;;;;;;;;;;;;;;
;
; Note-Track_vars is always open in PHP 4.0.3
; The symbol used to separate parameters in the URL generated by PHP.
; The default is "&".
; arg_separator.output = "&"
; A delimiter used by PHP to enter URL splits into a variable.
; The default is "&".
; Note: All characters contained within the instruction are considered to be delimiters!
; arg_separator.input = ";&"
; This instruction describes the order of the PHP registration get, POST, Cookie, environment, and built-in variables (each using G, P, C, E and S, usually using Egpcs or GPC). Registration uses the Left-to-right order, and the new value overwrites the old value.
Variables_order = "Egpcs"
; Whether to register the EGPCS variable as a global variable.
; If you don't want the global variables of your scripts to become cluttered because of user data, you need to turn this option off
; This generally opens with track_vars-in which case you can access all the GPC variables through $http_*_vars[.
;
; You should try to write a script so you don't have to open register_globals.
; If the code is not considered in detail, the use of variables as a global application can easily lead to potential security vulnerabilities.
Register_globals = Off
; Whether to register the old form of input array, http_get_vars and related array
; If you do not use them, it is recommended to improve performance to close them.
Register_long_arrays = On
; This directive allows PHP to confirm whether to declare ARGV&ARGC variables (these variables contain get information).
; If you do not use these variables, you should turn off this option in order to improve performance.
REGISTER_ARGC_ARGV = On
; When this entry is turned on, the SERVER and ENV variables are created at the first time, not at the beginning of the script (runtime)
; If these variables are not used in the script, opening this item will add a bit of performance.
; For this command to work, the PHP directive register_globals, Register_long_arrays,
; And REGISTER_ARGC_ARGV must be closed.
Auto_globals_jit = On
; The maximum post data size that PHP can accept.
Post_max_size = 8M
; Magic Quotes
;
; Open Magic Quotes for Get/post/cookie data.
MAGIC_QUOTES_GPC = On
; Open Magic quotes for data generated in real time, such as data obtained from SQL, data returned from exec (), and so on.
Magic_quotes_runtime = Off
; Use the Sybase-style magic quotes (use "to guide the ' substitution ').
Magic_quotes_sybase = Off
; Automatically add files before or after any PHP document.
Auto_prepend_file =
Auto_append_file =
; Like 4.0B4, PHP always uses the encoding output character that defaults to the header content-type:
; Set it to null to disable the send character set.
;
; PHP built-in defaults to text/html
Default_mimetype = "Text/html"
;d efault_charset = "Iso-8859-1"
; Always fills $HTTP _raw_post_data variable.
; always_populate_raw_post_data = On
;;;;;;;;;;;;;;;;;;;;;;;;;
; path and directory;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
; include_path = ".:/ Php/includes "
;
; Windows: "Path1;path2"
; include_path = ".; C:phpincludes "
; The root path of the PHP page, which is valid only when not empty.
; If PHP does not use Force_redirect to compile, if you run PHP as a CGI under any Web server (except IIS), you must set up Doc_root
; View the document for security issues. An alternative scenario is to use the following Cgi.force_redirect
Doc_root =
; PHP uses/~username to open the directory of the script, which is only valid when not empty.
User_dir =
; The directory location of the expandable (module) that can be loaded.
Extension_dir = "./"
; Whether the DL () function is enabled. The DL () function does not normally run under multithreaded services, such as IIS or Zeus, and is automatically disabled under these service software.
ENABLE_DL = On
; Under most Web servers, Cgi.force_redirect is necessary to provide secure execution of PHP as a CGI.
; Without configuration, PHP will open this by default.
; You can close this here and take the risk yourself.
; * * You can safely close this item in IIS, in fact, you must close this item. * *
; Cgi.force_redirect = 1
; If CGI.NPH is opened, the CGI is forced to send status:200 on each request.
; CGI.NPH = 1
; If the Cgi.force_redirect is open and you do not run under Apache or Netscape (iPlanet) Web server,
; You may need to set an environment variable name so that PHP can find it to get it ready to continue execution. Setting this variable can cause a security issue, and before you set it, understand the possible consequences.
; Cgi.redirect_status_env =;
; Cgi.fix_pathinfo provides * authentic * path_info/path_translated support for CGI.
; The preprocessing behavior of PHP is to set path_translated to Script_filename and not to guess what path_info is.
; For more information about PATH_INFO, see the CGI specification.
; Setting this value to 1 causes the PHP CGI to fix its path to conform to the specification.
; Setting to 0 causes PHP to behave like the previous behavior. The default is 1. You should revise your feet to use script_filename instead of path_translated.
; Cgi.fix_pathinfo=0
; FastCGI under IIS (under the WINNT operating system) support the ability to call clients ' security tokens.
; This allows IIS to define the security context under which it runs.
; MOD_FASTCGI under Apache currently does not support this feature (03/17/2002)
; If run under IIS set to 1. The default is 0.
; Fastcgi.impersonate = 1;
; Close the log connected through FastCGI
; fastcgi.logging = 0
; Cgi.rfc2616_headers configuration option tells PHP what type of headers to use when sending HTTP response code
; If set to 0,php send the Status: header information that is supported by Apache.
; When set to 1, PHP sends RFC2616-compliant header information.
; The default is 0.
; Cgi.rfc2616_headers = 0
;;;;;;;;;;;;;;;;
; File upload;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
File_uploads = On
; The temporary file directory for HTTP upload files (the system defaults are used if not specified).
; Upload_tmp_dir =
; Maximum file size allowed for uploads.
Upload_max_filesize = 2M
;;;;;;;;;;;;;;;;;;
; Fopen packaging;
;;;;;;;;;;;;;;;;;;
; Whether to allow URLs as files (such as http://or ftp://).
Allow_url_fopen = On
; Whether to allow Include/require to use URLs as files (such as http://or ftp://).
Allow_url_include = Off
; Define anonymous FTP password (your email address)
; from= "John@doe.com"
; Defining User-agent Strings
; User_agent= "PHP"
; Defines the timeout (in seconds) for a socket interface based on a stream
Default_socket_timeout = 60
; If your script has to deal with files from the Macintosh system,
; Or you run on a Mac and need to process files from UNIX or Win32 systems,
; Setting this flag causes PHP to automatically detect the EOL characters of these files so that fgets () and file () can be processed directly without the source of the file.
; Auto_detect_line_endings = Off
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic expansion;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you want the extension to load automatically, use the following syntax:
;
; Extension=modulename.extension
;
; For example, on a Windows system:
;
; Extension=msql.dll
;
; ... or under UNIX:
;
; Extension=msql.so
;
; Note: This should be just the name of the module;
; The directory information for the module is not required here.
; Use the EXTENSION_DIR directive above to specify the location of the extension.
; Windows Extensions
; Note: ODBC support is already built in, so you do not need DLLs for ODBC.
; Note: Many DLL files are located in the extensions/(PHP 4) or ext/(PHP 5) directory, and are downloaded together with the split pecl DLL (PHP 5).
; Determine if the correct EXTENSION_DIR directive is set.
; Extension=php_bz2.dll
; Extension=php_curl.dll
; Extension=php_dba.dll
; Extension=php_dbase.dll
; Extension=php_exif.dll
; Extension=php_fdf.dll
; Extension=php_gd2.dll
; Extension=php_gettext.dll
; Extension=php_gmp.dll
; Extension=php_ifx.dll
; Extension=php_imap.dll
; Extension=php_interbase.dll
; Extension=php_ldap.dll
; Extension=php_mbstring.dll
; Extension=php_mcrypt.dll
; Extension=php_mhash.dll
; Extension=php_mime_magic.dll
; Extension=php_ming.dll
; Extension=php_msql.dll
; Extension=php_mssql.dll
; Extension=php_mysql.dll
; Extension=php_mysqli.dll
; Extension=php_oci8.dll
; Extension=php_openssl.dll
; Extension=php_pdo.dll
; Extension=php_pdo_firebird.dll
; Extension=php_pdo_mssql.dll
; Extension=php_pdo_mysql.dll
; Extension=php_pdo_oci.dll
; Extension=php_pdo_oci8.dll
; Extension=php_pdo_odbc.dll
; Extension=php_pdo_pgsql.dll
; Extension=php_pdo_sqlite.dll
; Extension=php_pgsql.dll
; Extension=php_pspell.dll
; Extension=php_shmop.dll
; Extension=php_snmp.dll
; Extension=php_soap.dll
; Extension=php_sockets.dll
; Extension=php_sqlite.dll
; Extension=php_sybase_ct.dll
; Extension=php_tidy.dll
; Extension=php_xmlrpc.dll
; Extension=php_xsl.dll
; Extension=php_zip.dll
;;;;;;;;;;;;;;;;;;;
; module setup;
;;;;;;;;;;;;;;;;;;;
[Date]
; Define the default time zone used by the DATE function
;d Ate.timezone =
;d ate.default_latitude = 31.7667
;d ate.default_longitude = 35.2333
;d Ate.sunrise_zenith = 90.583333
;d Ate.sunset_zenith = 90.583333
[Filter]
; Filter.default = Unsafe_raw
; filter.default_flags =
[Iconv]
; iconv.input_encoding = iso-8859-1
; iconv.internal_encoding = iso-8859-1
; iconv.output_encoding = iso-8859-1
[SQLite]
; sqlite.assoc_case = 0
[XMLRPC]
; xmlrpc_error_number = 0
; xmlrpc_errors = 0
[Pcre]
; PCRE Library Response Tracking restrictions.
;p cre.backtrack_limit=100000
; PCRE Library Recursive restrictions.
Note that if you set this to a high value, you may run out of all the available process heaps and end up with PHP (due to the limit of heap size imposed by the operating system).
;p cre.recursion_limit=100000
[Syslog]
; Whether to define different syslog variables such as. $LOG _pid,
; $LOG _cron, and so on.). Turning off this option is good for performance.
; At run time, you can call the Define_syslog_variables () function to define these variables.
Define_syslog_variables = Off
[Mail Function]
; For Win32.
SMTP = localhost
Smtp_port = 25
; For Win32.
; sendmail_from = me@example.com
; For UNIX. Parameters can be supported (default: "Sendmail-t-i").
; Sendmail_path =
; Forces an additional specified parameter to be passed as an extended parameter to the SendMail execution file.
; These parameters always replace the fifth parameter value of the mail () function, even in safe mode.
; mail.force_extra_parameters =
[SQL]
Sql.safe_mode = Off
[ODBC]
; odbc.default_db = currently Invalid
; odbc.default_user = currently Invalid
; ODBC.DEFAULT_PW = currently Invalid
; Allow or block persistent connections.
Odbc.allow_persistent = On
; Check that the connection is available before reusing.
Odbc.check_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Odbc.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Odbc.max_links =-1
; Long field processing. Returns the number of bytes in the variable. 0 means skipping over.
ODBC.DEFAULTLRL = 4096
; Binary data processing. 0 means skip, 1 in actual return, 2 to character.
; View Odbc_binmode and Odbc_longreadlen documentation for an explanation of UODBC.DEFAULTLRL and Uodbc.defaultbinmode
Odbc.defaultbinmode = 1
[MySQL]
; Allow or block persistent connections.
Mysql.allow_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Mysql.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Mysql.max_links =-1
; Mysql_connect () The default port number. If not set, mysql_connect () uses $MYSQL _tcp_port
; Either the MYSQL-TCP entry at/etc/services or the Mysql_port value defined at compile time (find in this order).
; Win32 will only look for mysql_port values.
Mysql.default_port =
; The default socket name for the local MySQL connection. If empty, use MySQL to build default values.
Mysql.default_socket =
; The default host value for Mysql_connect () (not in Safe mode).
Mysql.default_host =
; The default user value for Mysql_connect () (not effective in safe mode).
Mysql.default_user =
; The default password value for mysql_connect () is not valid in Safe mode.
; Note Saving passwords in this file generally is * bad * doctrine.
; * Any user using PHP can perform ' echo get_cfg_var (' Mysql.default_password ')
; And get to this password! And, of course, anyone who has read access to this file can get this password.
Mysql.default_password =
; Maximum time (in seconds) that the connection times out,-1 means there is no limit.
Mysql.connect_timeout = 60
; Tracking mode. When Trace_mode is opened (=on), warnings and SQL errors for Table/index scans are displayed.
Mysql.trace_mode = Off
[Mysqli]
; Maximum number of connections. -1 means there is no limit.
Mysqli.max_links =-1
; Mysqli_connect () The default port number. If not set, mysql_connect () uses $MYSQL _tcp_port
; Either the MYSQL-TCP entry at/etc/services or the Mysql_port value defined at compile time (find in this order).
; Win32 will only look for mysql_port values.
Mysqli.default_port = 3306
; The default socket name for the local MySQL connection. If empty, use MySQL to build default values.
Mysqli.default_socket =
; The default host value for Mysqli_connect () (not in Safe mode).
Mysqli.default_host =
; The default user value for Mysqli_connect () (not effective in safe mode).
Mysqli.default_user =
; The default password value for Mysqli_connect () is not valid in Safe mode.
; Note Saving passwords in this file generally is * bad * doctrine.
; * Any user using PHP can perform ' echo get_cfg_var (' Mysqli.default_password ')
; And get to this password! And, of course, anyone who has read access to this file can get this password.
MYSQLI.DEFAULT_PW =
; Allow or block persistent connections.
Mysqli.reconnect = Off
[mSQL]
; Allow or block persistent connections.
Msql.allow_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Msql.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Msql.max_links =-1
[OCI8]
; Open an authorized connection using an external authentication (Oci_sysoper, OCI_SYSDBA)
; oci8.privileged_connect = Off
; Connection: The maximum number of persistent OCI8 connections per process,-1 means there is no limit.
; oci8.max_persistent =-1
; Connection: The maximum number of seconds a process allows to maintain an idle persistent connection.
; -1 means that the idle persistent connection will always be maintained.
; oci8.persistent_timeout =-1
; Connection: The number of seconds that must pass between each ping when oci_pconnect () detects if a connection is valid.
; When set to 0, each oci_pconnect () initiates a ping. Using-1 completely shut down ping.
; oci8.ping_interval = 60
; Tuning: This option turns on the declaration buffer (statement cache) and specifies how many statements to buffer. Use 0 to turn off the declaration buffer.
; oci8.statement_cache_size = 20
; Tuning: Open declaration prefetch (statement prefetch) and set the number of rows to be fetched automatically after the declaration is executed.
; Oci8.default_prefetch = 10
; Compatibility: setting to On means that oci_close () does not close the connection between Oci_connect () and Oci_new_connect ().
; oci8.old_oci_close_semantics = Off
[Postgressql]
; Allow or block persistent connections.
Pgsql.allow_persistent = On
; Always detects a disconnected persistent connection when pg_pconnect ().
; Automatically resetting attributes can cause a bit of overhead.
Pgsql.auto_reset_persistent = Off
; The maximum number of persistent connections. -1 means there is no limit.
Pgsql.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Pgsql.max_links =-1
; Whether to ignore PostgreSQL back-end notification messages.
; It takes a bit of overhead to advertise a message record.
Pgsql.ignore_notice = 0
; Whether to log PostgreSQL back-end notification messages.
; Module is unable to log notification messages unless pgsql.ignore_notice=0
Pgsql.log_notice = 0
[Sybase]
; Allow or block persistent connections.
Sybase.allow_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Sybase.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Sybase.max_links =-1
; sybase.interface_file = "/usr/sybase/interfaces"
; Displays the minimum severity of the message.
Sybase.min_error_severity = 10
; Displays the minimum severity of the message.
Sybase.min_message_severity = 10
; Compatible with the old version of PHP 3.0 mode.
; If set to ON, it causes PHP to automatically bind the type of the result record to the Sybase type, rather than treating all of them as strings.
; This compatibility mode may not be permanent, so it is a good idea to try to make the necessary changes in your code, and then turn off this option.
Sybase.compatability_mode = Off
[SYBASE-CT]
; Allow or block persistent connections.
Sybct.allow_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Sybct.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Sybct.max_links =-1
; Shows the minimum severity of the error.
Sybct.min_server_severity = 10
; Displays the minimum severity of the message.
Sybct.min_client_severity = 10
[Bcmath]
; Number of decimal places for all Bcmath functions
Bcmath.scale = 0
[Browscap]
; browscap = Extra/browscap.ini
[Informix]
; The default host for Ifx_connect () is not applied in safe mode.
Ifx.default_host =
; The default user for Ifx_connect () is not applied in safe mode.
Ifx.default_user =
; The default password for Ifx_connect () is not applied in safe mode.
Ifx.default_password =
; Allow or block persistent connections.
Ifx.allow_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Ifx.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Ifx.max_links =-1
; If set to ON, the Select Declaration returns the contents of the text segment rather than its ID.
Ifx.textasvarchar = 0
; If set to ON, the Select Declaration returns the contents of the byte rather than its ID.
Ifx.byteasvarchar = 0
; The trailing spaces of the fixed-length character column are truncated. may be helpful for Informix SE users.
Ifx.charasvarchar = 0
; If set to on, the text and byte fields are dump to a file rather than retained in memory.
Ifx.blobinfile = 0
; Null is returned as an empty string unless it is set to 1. If set to 1, NULL is returned as the string ' null '.
Ifx.nullformat = 0
[Session]
; The processing method used to store/retrieve data.
Session.save_handler = Files
; The parameters that are passed to the Save_handler. In the case of using a file, here is the path where the data file is saved.
; Note: Windows users must change this value to use the PHP session function.
;
; As in 4.0.1, you can define the following path:
;
; Session.save_path = "N;/path"
;
; Here's N is an integer. Using this parameter creates an n-depth subdirectory in the directory to hold the session file.
; Instead of saving all session files in the same/path directory.
; This is helpful for you or when your operating system has a problem saving too many files in one directory.
; and provides greater efficiency for servers that handle a large number of sessions.
;
; Note 1:php does not automatically create a directory structure. You can create a directory structure using scripts in the Ext/session directory.
; NOTE 2: If you choose to use subdirectories to save sessions, check the following configuration section on garbage collection
;
; The file enclosure uses 600 mode to create the file by default, and you can change this option in use
;
; Session.save_path = "N; Mode;/path "
;
; The mode here is represented by the 8 binary. Note that the umask of the process is not overwritten here.
; Session.save_path = "/tmp"
; Whether to use cookies.
Session.use_cookies = 1
; session.cookie_secure =
; This option allows administrators to protect users who transmit the session ID in the URL from being attacked
; The default is 0.
; Session.use_only_cookies = 1
; The name of the session (used as a cookie name).
Session.name = Phpsessid
; Initializes the session at the start of the request.
Session.auto_start = 0
; The number of seconds the cookie will survive, or if it is 0 until the browser restarts.
Session.cookie_lifetime = 0
; A valid path for the cookie.
Session.cookie_path =/
; A valid domain name for cookies.
Session.cookie_domain =
; If the HTTPONLY flag is added to the cookie, the cookie cannot be accessed by the browser's scripting language (for example, JavaScript).
Session.cookie_httponly =
; The processor used to serialize the data. PHP is the standard PHP serializer.
Session.serialize_handler = PHP
; Defines the proportion of the ' garbage collection ' process that starts each session initialization.
; The proportions are drawn by Gc_probability/gc_divisor,
; For example. 1/100 means a 1% chance to start the ' garbage collection ' process on each request.
session.gc_probability = 1
Session.gc_divisor = 100
; After the following number of seconds, the stored data is considered ' garbage ' and cleaned up by the garbage collection process.
Session.gc_maxlifetime = 1440
; Note: If you use the subdirectory option to save the session file
; (Look at the session.save_path above), then garbage collection will not * happen automatically.
; You need to handle garbage collection yourself through a shell script, cron, or some other method.
; For example, the following script is equivalent to setting Session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
; Cd/path/to/sessions; Find-cmin +24 | Xargs RM
; PHP 4.2 and earlier have an undisclosed feature/bug, which allows you to initialize a session variable globally, even if the register_globals has been closed.
; If this feature is used, PHP 4.3 and earlier will warn you.
; You can turn off this feature and isolate this warning. At this point, if the bug_compat_42 is opened, the warning is only shown.
session.bug_compat_42 = 1
Session.bug_compat_warn = 1
; Check the HTTP referer to prevent an external URL with an ID.
; Http_referer must contain this field from the session before it is considered legal.
Session.referer_check =
; How many bytes are read from this file.
Session.entropy_length = 0
; Specify here to create the session ID.
Session.entropy_file =
; session.entropy_length = 16
; session.entropy_file =/dev/urandom
; Set to {Nocache,private,public,} to determine the type of HTTP buffering
; Leave blank to prevent the anti-caching headers from being sent.
Session.cache_limiter = NoCache
; The document expires after n minutes.
Session.cache_expire = 180
; The trans SID supports default shutdown.
; Using the trans SID may allow your users to assume security risks.
; You must be careful with this item.
; -The user may send a URL containing a valid session ID to someone else by email/irc/other means.
; -a URL containing a valid session ID may be stored on a computer that is easily accessible to the public.
; -The user may access your site by using a URL that contains the same session ID in the browser history or in the Favorites folder.
Session.use_trans_sid = 0
; Select Hash method
; 0:MD5 (128 bits)
; 1:sha-1 (160 bits)
session.hash_function = 0
; When converting binary hash data to readable form, there are several Fu Paocun for each character.
;
; 4 bits:0-9, A-f
; 5 bits:0-9, A-v
; 6 bits:0-9, A-Z, a-Z, "--", ","
Session.hash_bits_per_character = 4
; URL Rewriter finds URLs within a set of HTML tags that are already defined.
; Form/fieldset is a special character; If you include them here, Rewriter will add a hidden <input> field containing information otherwise it is to append information to the URL.
; If you want to follow XHTML, delete the entry for the form.
; Note that all legitimate portals require a "=" symbol, or even no value.
Url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
[MSSQL]
; Allow or block persistent connections.
Mssql.allow_persistent = On
; The maximum number of persistent connections. -1 means there is no limit.
Mssql.max_persistent =-1
; Maximum number of connections (persistent + non-persistent). -1 means there is no limit.
Mssql.max_links =-1
; Shows the minimum severity of the error.
Mssql.min_error_severity = 10
; Displays the minimum severity of the message.
Mssql.min_message_severity = 10
; Compatibility mode for the old version of PHP 3.0.
Mssql.compatability_mode = Off
; Connection Timeout
; mssql.connect_timeout = 5
; Query timeout
; mssql.timeout = 60
; Valid range 0-2147483647. Default = 4096.
; mssql.textlimit = 4096
; Valid range 0-2147483647. Default = 4096.
; mssql.textsize = 4096
; The quantity limit for each batch of records. 0 = All records are within a batch.
; mssql.batchsize = 0
; Specify how the datetime and DATETIM4 columns return
; On => returns the format of data conversion to SQL Server settings
; Off => use YYYY-MM-DD hh:mm:ss return
; Mssql.datetimeconvert = On
; Use NT Authentication when connecting to the server
Mssql.secure_connection = Off
; Specifies the maximum number of processes. -1 = Library Default
; Msdlib Default 25
; FreeTDS default 4096
; mssql.max_procs =-1
; Specifies the client character set.
; If null or unspecified, the client character set will use the freetds.conf configuration
; Only used when compiling with FreeTDS
; mssql.charset = "Iso-8859-1"
[Assertion]
; assertion (expr); Opens by default.
; assert.active = On
; A PHP warning is initiated for each failure assertion.
; assert.warning = On
; Default do not bail.
; assert.bail = Off
; Call the user's custom function if the assertion fails.
; assert.callback = 0
; Uses the current error_reporting () eval an expression. If you want to error_reporting (0) near the eval (), set to True.
; assert.quiet_eval = 0
[COM]
; The path to the file that contains the file name of the GUID,IID or typelibs
; com.typelib_file =
; Allow distributed-com to call
; com.allow_dcom = True
; A constant that registers the component Typlib in the Com_load () function automatically
; Com.autoregister_typelib = True
; Register constant Large lowercase sensitive
; com.autoregister_casesensitive = False
; Display warnings when duplicate constants are registered
; Com.autoregister_verbose = True
[Mbstring]
; The language of the inner character representation.
; mbstring.language = Japanese
; Internal/scripting code.
; Part of the encoding cannot be used as an internal encoding.
; e.g.. Sjis, BIG5, iso-2022-*)
; mbstring.internal_encoding = EUC-JP
; HTTP input encoding.
; mbstring.http_input = Auto
; HTTP output encoding. Mb_output_handler must be registered as a function as output buffer
; mbstring.http_output = Sjis
; Turn on automatic encoding conversion according to mbstring.internal_encoding settings
; When set to on, the input character is converted to an internal encoding.
; Note: Do not use automatic encoding conversions for portable libraries/applications.
; mbstring.encoding_translation = Off
; Automatic Code detection sequence
; Automatically means
; mbstring.detect_order = Auto
; Substitution symbol used when a character cannot be converted from one to another
; mbstring.substitute_character = none;
; Use the mbstring function to overwrite (replace) a single-byte function.
; Mail (), ereg (), etc. will be covered by Mb_send_mail (), Mb_ereg (), etc.
; The values that can be taken are 0,1,2,4 or their combinations.
; For example, 7 is overriding all functions.
; 0: Do not cover
; 1: Overwrite mail () function
; 2: Overwrite str* () function
; 4: Overwrite ereg* () function
; mbstring.func_overload = 0
[Frontbase]
; fbsql.allow_persistent = On
; fbsql.autocommit = On
; fbsql.show_timestamp_decimals = Off
; fbsql.default_database =
; Fbsql.default_database_password =
; fbsql.default_host =
; Fbsql.default_password =
; fbsql.default_user = "_system"
; fbsql.generate_warnings = Off
; fbsql.max_connections = 128
; fbsql.max_links = 128
; fbsql.max_persistent =-1
; fbsql.max_results = 128
[GD]
; Tells the JPEG decoder libjpeg warning and tries to create a GD image. This warning will be displayed as an advertisement
; Default to Off
; gd.jpeg_ignore_warning = 0
[EXIF]
; Exif UNICODE user annotations are used as Ucs-2be/ucs-2le and JIS for JIS processing.
; When mbstring.internal_encoding is set to NULL, if there is mbstring support, the encoding is automatically converted to the corresponding encoding settings given.
; You can choose between Motorola and Intel character sequences for decoding settings. The decoding settings cannot be set to NULL.
; Exif.encode_unicode = iso-8859-15
; Exif.decode_unicode_motorola = Ucs-2be
; Exif.decode_unicode_intel = Ucs-2le
; Exif.encode_jis =
; Exif.decode_jis_motorola = JIS
; Exif.decode_jis_intel = JIS
[Tidy]
; The path to the tidy configuration file is default when calling tidy
; tidy.default_config =/usr/local/lib/php/default.tcfg
; Does the tidy automatically clean and repair the output?
; Warning: Do not use this when you produce non-HTML content, such as when creating a dynamic picture
Tidy.clean_output = Off
[SOAP]
; Turns the WSDL buffering feature on or off.
Soap.wsdl_cache_enabled=1
; Sets the directory where the SOAP extension stores the buffered file.
soap.wsdl_cache_dir= "/tmp"
; Set the number of seconds that the buffered file is used to replace the original buffer file (live time).
soap.wsdl_cache_ttl=86400
; Local Variables:
; Tab-width:4
; End: