Php. ini

Source: Internet
Author: User
Tags control characters informix
;;;;;;;;;;;;;;;;;; Variables_order & quot; EGPCS & quot; This indicator describes the order of the PHP records; GET, POST, Cookie, EnvironmentandBuilt-in variables .; (Represented by G, P, C, E & S, usually

; Data Handling ;;;;;;;;;;;;;;;;;; variables_order = "EGPCS"; this directive describes the order of PHP records; GET, POST, Cookie, Environment and Built-in variables.; (G, P, C, E & S, usually referenced in EGPCS or GPC ).; Record from left to right, and replace the old value with the new value. Register_globals = On; whether to register these EGPCS variables as global variables. If you do not want to confuse user data globally, you may want to disable it.; This makes more sense to connect to track_vars-so that you can access all GPC variables through the; $ HTTP _ * _ VARS [] array. Register_argc_argv = On; indicates whether PHP declares the argv and argc variables. (Note: argv is an array and argc is the number of variables ). If you don't want to use these variables, you should turn them off to improve performance. Track_vars = On; make $ HTTP _ * _ VARS [] array valid. here * is used in use; ENV, POST, GET, COOKIE or SERVER replaces post_max_size = 8 M; PHP will accept the maximum size of POST data. Gpc_order = "GPC"; this directive is opposed. Use variables_order instead.; Magic quotes magic_quotes_gpc = On; use Magic reference in the input GET/POST/Cookie data, the so-called magic quotes should refer to the use of escape characters in reference control characters, such ....) magic_quotes_runtime = Off; use magic reference for the data generated during running, for example, magic_quotes_sybase = Off for data obtained by using the exec () function, and so on; use a magic reference in the form of Sybase (instead of using it); automatically add the file auto_prepend_file = auto_append_file = before and after the PHP file; like 4.04b4, by default, PHP always outputs the encoding method of one character in the "Content-type:" header. Make the output character set invalid, as long as it is set to null. The default value of PHP is text/html default_mimetype = "text/html "; default_charset = "iso-8859-1 ";;;;;;;;;;;;;;;;;;;;;;;;;; paths and Directories ;;;;;;;;;;;;;;;;;;;;;;;;;;;;include_path =; include path settings, UNIX: "/path1:/path2" Windows: "path1; path2" doc_root =; php page root path, valid only when not empty user_dir =; inform php in use /~ Username indicates the directory to which the script is opened. it is valid only when it is not empty; upload_tmp_dir =; temporary directory for storing files uploaded using HTTP protocol (use the default directory when it is not specified) upload_max_filesize = 2097152; by default, file upload is limited to 2 Meg extension_dir = c: php; enable_dl = On, which stores the accessible extended library (module) directory; whether to make dl () valid.; The dl () function * does not work very well on a multi-threaded server. for example, IIS or Zeus, it is disabled by default ;;;;;;;;;;;;;;;;; file Uploads; file_uploads = On; whether to allow File Upload through HTTP; upload_tmp_dir =; temporary directory of the file used for HTTP upload (use the system default if not specified) upload_max_filesize = 2 M; Maximum file upload license size; fopen wrappers; allow_url_fopen = On; whether to use URLs as http :.. or use the file as ftp :...;;;;;;;;;;;;;;;;;;;;;;; dynamic scaling; Dynamic extension ;;;;;;;;;;;;;;;;;;;;;;; If you want an extension library to be automatically loaded, use the following syntax:; extension = modulename. extension; for example, in windows, extension = msql. dll; or in UNIX; extension = msql. so; note that this should only be the name of the module, and directory information is not required to be placed in it. The following extension_dir indicates the location of the specified extension Library.; Windows extension; extension = php_calendar.dll; extension = extension; extension = php_filepro.dll extension = php_gd.dll; extension = php_dbm.dll; extension = extension; 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. therefore, no need to use its dll ;;;;; Module setting ;; module Settings; [Syslog] define_syslog_variables = Off; whether to define various system log variables; for example: $ LOG_PID, $ LOG_CRON, and so on. It is a good idea to turn it off to improve efficiency.; At runtime, you can call the function define_syslog_variables () to define these variables [mail function] SMTP = localhost; only for win32 system sendmail_from = me@localhost.com; only for win32 system; sendmail_path =; it is only used for unix and supports parameters (sendmail-t-I by default) [Debugger] debugger. host = localhost debugger. port = 7869 debugger. enabled = False [Logging]; these configurations indicate the Logging mechanism used for the sample.; Check examples/README. logging for more explanations; logging. method = db; logging. directory =/path/to/log/directory [Java]; java. class. path =. php_java.jar; java. home = c: jdk; java. library = c: jdkjreinhotspotjvm. 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_persiste Nt = On; enable or disable persistent connection uodbc. check_persistent = On; check whether the connection is available before reuse. max_persistent =-1; maximum number of persistent connections. -1 indicates unlimited uodbc. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates unrestricted uodbc. defaultll = 4096; fields of the LONG type are controlled. Returns the number of bytes of the variable. 0 indicates passing (?) 0 means passthru uodbc. defaultbinmode = 1; controls binary data. 0 represents ????? Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char; see documents about odbc_binmode and odbc_longreadlen to get explanations of uodbc. defaultll and uodbc. defaultbinmode. [MySQL] mysql. allow_persistent = On; maximum number of persistent connections allowed or disabled for mysql. max_persistent =-1. -1 indicates unlimited mysql. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates unlimited mysql. default_port =; default port used by mysql_connect (). if not set, mysql_connect (); the variable $ MYSQL_TCP_PORT will be used, or the mysql-tcp entry (unix) under/etc/services; or the MYSQL_PORT defined in compilation (in this order); in the Win32 environment, only the MYSQL_PORT is checked. Mysql. default_socket =; the default socket name used for local MySql connection. Null. use the MYSQL built-in value. default_host =; mysql_connect () default host (invalid in security mode) mysql. default_user =; mysql_connect () default user name (invalid in safe mode) mysql. default_password =; mysql_connect () default password (invalid in safe mode); note that it is usually a * bad * idea to save the password in this file; * anyone * who can access it using PHP can run. echo pai_get_var ("mysql. default_password ") to display the password! And, of course, any user with the right to read the file can see the password. [MSQL] msql. allow_persistent = On; allows or disables persistent connections to msql. max_persistent =-1; maximum number of persistent connections. -1 indicates unlimited msql. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates unlimited [ipvssql] pgsql. allow_persistent = On; allows or disables persistent connection pgsql. max_persistent =-1; maximum number of persistent connections. -1 indicates unlimited pgsql. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates no limit [Sybase] sybase. allow_persistent = On; allow or disable persistent connection sybase. max_persistent =-1; maximum number of persistent connections. -1 indicates that there is no limit to sybase. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates no limit; sybase. interface_file = "/usr/sybase/interfaces" sybase. min_error_severity = 10; displays the lowest severity of the error sybase. min_message_severity = 10; displays the minimum importance of messages sybase. compatability_mode = Off; compatible with PHP 3.0 of the old version. If it is enabled, PHP automatically assigns the Sybase type based on the results, rather than treating them as strings. This compatibility mode will not always be available; therefore, modify your code and disable it. [Sybase-CT] sybct. allow_persistent = On; maximum number of persistent connections allowed or disabled. -1 indicates unlimited sybct. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates unlimited sybct. min_server_severity = 10; minimum severity of the error displayed sybct. min_client_severity = 10; minimum importance of the displayed message [bcmath] bcmath. scale = 0; number of 10 decimal digits used for all bcmath functions number of decimal digits for all bcmath functions [browscap]; browscap = extra/browscap. ini browscap = C: WINSYSTEMinetsrvrowscap. ini [Informix] ifx. default_host =; ifx_connect () default host (invalid in security mode) ifx. default_user =; ifx_connect () default user name (invalid in security mode) I Fx. default_password =; ifx_connect () default password (invalid in security mode) ifx. allow_persistent = On; allow or disable persistent connection ifx. max_persistent =-1; maximum number of persistent connections. -1 indicates unlimited ifx. max_links =-1; the maximum number of connections (persistent and non-persistent ). -1 indicates unlimited ifx. textasvarchar = 0; if enabled, the select status character returns the content of a 'text blob 'field, rather than its id ifx. byteasvarchar = 0; if enabled, the select status character returns the content of a 'Byte blob 'field, rather than its id ifx. charasvarchar = 0; traces spaces separated from fixed-length character columns.; May be valid for Informix SE users. Ifx. blobinfile = 0; if it is enabled, text and byte blobs

Contact Us

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

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

A Free Trial That Lets You Build Big!

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

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

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