Home  >  Article  >  Backend Development  >  Chinese PHP.INI2_PHP tutorial

Chinese PHP.INI2_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:27:54759browse

;;;;;;;;;;;;;;;;;;;;;;;;;; Paths and Directories ;;;;;;;;;;;;;;;;;;;;; ;;;;; include_path = ; include path setting, UNIX: "/path1:/path2" Windows: "path1;path2" doc_root = ; The root path of the php page, only valid when it is not empty user_dir = ; Tell php when using /~username Which directory to search in when opening the script, only valid when it is not empty; upload_tmp_dir = ; Temporary directory to store files uploaded using HTTP protocol (use the system default if not specified) upload_max_filesize = 2097152 ; Default file upload location Limit to 2 Meg extension_dir = c:php; The directory where loadable extension libraries (modules) are stored enable_dl = On; Whether to enable dl(). ; The dl() function *doesn't* work well on multi-threaded servers, ; such as IIS or Zeus, and is disabled by default on them ;;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;;; file_uploads = On ; Whether to allow HTTP file upload; upload_tmp_dir = ; Temporary directory for files uploaded by HTTP (if not specified, use the system default) upload_max_filesize = 2M ; Maximum allowed size of uploaded files; Fopen wrappers ; ;;;;;;;;;;;;;;;;;;; allow_url_fopen = On ; Whether to allow URLs to be treated as http:.. or files as ftp:... ;;;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions; ;;;;;;;;;;;;;;;; ;;;;;;; ; If you want an extension library to be loaded automatically, use the following syntax: ; extension=modulename.extension ; For example, on Windows, ; extension=msql.dll ; or on UNIX, ; extension= msql.so ; Note that this should only be the name of the module, no directory information is needed in it. ; Use the extension_dir directive above to specify the location of the extension library. ;Windows extension; extension=php_nsmail.dll extension=php_calendar.dll ;extension=php_dbase.dll ;extension=php_filepro.dll extension=php_gd.dll ;extension=php_dbm.dll ;extension=php_mssql.dll ;extension=php_zlib.dll ; extension=php_filepro.dll ;extension=php_imap4r2.dll ;extension=php_ldap.dll ;extension=php_crypt.dll ;extension=php_msql2.dll ;extension=php_odbc.dll ; Note that MySQL support is now built-in, so it is not Need to use its dll;;;;;;;;;;;;;;;;;;;;; Module Settings; ;;;;;;;;;;;;;;;;;;; ;; [Syslog] define_syslog_variables = Off ; Whether to define various system log variables; such as: $LOG_PID, $LOG_CRON, etc. ; Turning it off is a good idea to increase efficiency. ; When running, you can call the function define_syslog_variables() to define these variables [mail function] SMTP = localhost ; only for win32 systems sendmail_from = me@localhost.com ; only for win32 systems; sendmail_path = ; only for unix , can also support parameters (default is sendmail -t -i) [Debugger] debugger.host = localhost debugger.port = 7869 debugger.enabled = False [Logging] ; These configurations indicate the logging mechanism used for the example. ; See examples/README.logging for more explanation; logging.method = db ; logging.directory = /path/to/log/directory [Java] ; java.class.path = .php_java.jar ; java.home = c:jdk ;java.library = c:jdkjre inhotspotjvm.dll ;java.library.path = . [SQL] sql.safe_mode = Off [ODBC] ;uodbc.default_db = Not yet implemented ;uodbc.default_user = Not yet implemented ;uodbc.default_pw = Not yet implemented uodbc.allow_persistent = On ; Allow or disable persistent connections uodbc.check_persistent = On ; Check whether the connection is still available before reusing uodbc.max_persistent = -1 ; The maximum number of persistent connections. -1 means unlimited uodbc.max_links = -1 ; Maximum number of connections (persistent and non-persistent). -1 represents unlimited uodbc.defaultlrl = 4096; Controls fields of LONG type. Returns the number of bytes in the variable, 0 means passthru (?) 0 means passthru uodbc.defaultbinmode = 1; control binary data. 0 represents Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char; See the documentation for odbc_binmode and odbc_longreadlen for explanations of uodbc.defaultlrl and uodbc.defaultbinmode. [MySQL] mysql.allow_persistent = On ; Allow or disable persistent connections mysql.max_persistent = -1 ; The maximum number of persistent connections. -1 represents unlimited mysql.max_links = -1; Maximum number of connections (persistent and non-persistent). -1 represents unlimited mysql.default_port = ; The default port used by mysql_connect(). If not set, mysql_connect() ; will use the variable $MYSQL_TCP_PORT, or the mysql-tcp entry under /etc/services (unix), ; or MYSQL_PORT is defined during compilation (in this order); in Win32 environment, only MYSQL_PORT will be checked. mysql.default_socket = ; The default socket name used for local MySql connections. If empty, use the built-in value of MYSQL mysql.default_host = ; The host used by mysql_connect() by default (invalid in safe mode) mysql.default_user = ; The user name used by mysql_connect() by default (invalid in safe mode) mysql.default_password = ; The password used by mysql_connect() by default (invalid in safe mode); note that saving passwords in this file is generally a *bad* idea; *any* user with PHP access can run; echo cfg_get_var("mysql.default_password" ) to display that password! ; And of course, any user with read rights to the file can also see that password.[mSQL] msql.allow_persistent = On ; Allow or disable persistent connections msql.max_persistent = -1 ; Maximum number of persistent connections. -1 represents unlimited msql.max_links = -1 ; Maximum number of connections (persistent and non-persistent). -1 represents unlimited [PostgresSQL] pgsql.allow_persistent = On ; Allow or prohibit persistent connections pgsql.max_persistent = -1 ; The maximum number of persistent connections. -1 represents unlimited pgsql.max_links = -1 ; Maximum number of connections (persistent and non-persistent). -1 represents unlimited [Sybase] sybase.allow_persistent = On; Allow or prohibit persistent connections sybase.max_persistent = -1; Maximum number of persistent connections. -1 represents unlimited sybase.max_links = -1; Maximum number of connections (persistent and non-persistent). -1 represents unlimited; sybase.interface_file = "/usr/sybase/interfaces" sybase.min_error_severity = 10 ; Minimum severity of errors displayed sybase.min_message_severity = 10 ; Minimum severity of messages displayed sybase.compatability_mode = Off ; Compatible mode with older versions of PHP 3.0. If turned on, this will cause PHP to automatically ; assign them the Sybase type according to the results, rather than treating them all as strings. ; This compatibility mode won't last forever, ; so make the necessary changes to your code, ; and turn it off. [Sybase-CT] sybct.allow_persistent = On ; Allow or disable persistent connections sybct.max_persistent = -1 ; Maximum number of persistent connections. -1 means unlimited sybct.max_links = -1 ; Maximum number of connections (persistent and non-persistent). -1 represents unlimited sybct.min_server_severity = 10 ; Minimum severity of errors displayed sybct.min_client_severity = 10 ; Minimum severity of messages displayed [bcmath] bcmath.scale = 0 ; 10-decimal number used for all bcmath functions number of decimal digits for all bcmath functions [browscap] ;browscap = extra/browscap.ini browscap = C:WINSYSTEMinetsrv rowscap.ini [Informix] ifx.default_host = ; ifx_connect() The default host used (in safe mode Invalid) ifx.default_user = ; The default user name used by ifx_connect() (invalid in safe mode) ifx.default_password = ; The default password used by ifx_connect() (invalid in safe mode) ifx.allow_persistent = On ; Allow or disable persistent connections ifx.max_persistent = -1 ; Maximum number of persistent connections. -1 means unlimited ifx.max_links = -1 ; Maximum number of connections (persistent and non-persistent). -1 represents unlimited ifx.textasvarchar = 0; If turned on, the select status code returns the content of a 'text blob' field instead of its id ifx.byteasvarchar = 0; If turned on, the select status code returns a 'byte blob' The content of the field, not its id ifx.charasvarchar = 0 ; Track whitespace stripped from a fixed-length character column. ; Might be valid for Informix SE users. ifx.blobinfile = 0 ; If turned on, the contents of text and byte blobs are exported to a file; rather than saved to memory. ifx.nullformat = 0 ; NULL is returned as a null field unless, here, it is set to 1. ; In this case (1), NULL is returned as the string NULL. [Session] session.save_handler = files ; Control method for saving/retrieving data session.save_path = C:win emp ; Parameter passed to the controller when save_handler is set to a file, ; This is the path where the data file will be saved . session.use_cookies = 1; Whether to use cookies session.name = PHPSESSID; The name of the session used in the cookie session.auto_start = 0; Initialize the session when the request is started session.cookie_lifetime = 0; The storage time of the cookie in seconds , ; or when 0, until the browser is restarted session.cookie_path = / ; Valid path of cookie session.cookie_domain = ; Valid domain of cookie session.serialize_handler = php ; Controller used to connect data; php is the standard for PHP controller. session.gc_probability = 1 ; Garbage collection process as a percentage; Probability to start at each session initialization. session.gc_maxlifetime = 1440 ; After the number of seconds indicated by the number here, the saved data will be considered ; fragmented (garbage) and cleaned up by the gc process. session.referer_check = ; Check HTTP referrers to invalidate extra ids included in URLs session.entropy_length = 0 ; How many bytes to read from the file session.entropy_file = ; Specify here to create session id ; session.entropy_length = 16 ; session .entropy_file = /dev/urandom session.cache_limiter = nocache ; Set to {nocache, private, public} to determine HTTP; Cache issues session.cache_expire = 180 ; Document expires after n minutes session.use_trans_sid = 1 ; Use transition Sexual SID support, if enabled at compile time; --enable-trans-sid url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" [MSSQL] ;extension=php_mssql .dll mssql.allow_persistent = On ; allow

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531842.htmlTechArticle;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;;;; include_path = ; include path settings, UNIX: /path1:/path2 Windows: path1;path2 doc_root = ; php page...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn