Highly recommended: php. ini Chinese version (2)

Source: Internet
Author: User
Tags informix payflow pro
Strongly recommended: php. ini Chinese version (2) track_vars = On; make $ HTTP _ * _ VARS [] array valid, here * used in use
; ENV, POST, GET, COOKIE or SERVER replacement
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
(In the original article, the so-called magic quotes should refer to the control characters used with escape characters for reference, such '....)
Magic_quotes_runtime = Off; use magic reference for the data generated during the runtime,
For example, the data obtained by SQL query, the data obtained by using the exec () function, and so on.
Magic_quotes_sybase = Off; use a magic reference in the form of Sybase (use '''instead ')

Automatically add files before and after PHP documents
Auto_prepend_file =
Auto_append_file =

Like 4.04b4, PHP always outputs a character encoding method in the "Content-type:" header by default.
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 setting, UNIX: "/path1:/path2" Windows: "\ path1; \ path2"
Doc_root =; php page root path, valid only when not empty
User_dir =; inform php that php is 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 not specified)
Upload_max_filesize = 2097152; file upload is limited to 2 Meg by default
Extension_dir = c: \ php \; directory of the expandable library (module) that can be loaded
Enable_dl = On; whether to make dl () valid.
; The dl () function * does not work well * on a multi-threaded server,
For example, IIS or Zeus, which is disabled by default



; File Uploads;

File_uploads = On; whether to allow file upload over HTTP
; Upload_tmp_dir =; temporary directory of the file used for HTTP upload (if not specified, use the system default)
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 Extensions;

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: this should only be the name of the module, and directory information is not needed.
The following extension_dir indicates the location of the specified 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 you do not need to use its dll



; Module settings;
; Module Settings;


[Syslog]
Define_syslog_variables = Off; whether to define various system log variables
Such as $ LOG_PID and $ LOG_CRON.
It is a good idea to turn it off to improve efficiency.
When running, you can call the define_syslog_variables () function to define these variables.


[Mail function]
SMTP = localhost; used only for win32 systems
Sendmail_from = me@localhost.com; for win32 systems only
; 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 example.
; See 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: \ jdk \ jre \ bin \ hotspot \ jvm. 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 available before reuse
Uodbc. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Uodbc. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
Uodbc. defaultll = 4096; controls fields of the LONG type. 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
For more information, see odbc_binmode and odbc_longreadlen.

[MySQL]
Mysql. allow_persistent = On; allow or disable persistent connections
Mysql. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Mysql. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
Mysql. default_port =; default port used by mysql_connect (). if not set, mysql_connect ()
; The variable $ MYSQL_TCP_PORT or the mysql-tcp entry (unix) under/etc/services will be used ),
; Or, during compilation, MYSQL_PORT is defined (in this order)
; Win32 environment, only check for MYSQL_PORT.
Mysql. default_socket =; the default socket name used for local MySql connection. Null. use MYSQL built-in values.

Mysql. 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 security mode)
Note: Saving the password in this file is usually a * bad * idea.
; * Any * PHP-accessible user can run
; 'Echo cmd_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; allow or disable persistent connections
Msql. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Msql. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit

[PostgresSQL]
Pgsql. allow_persistent = On; allow or disable persistent connections
Pgsql. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Pgsql. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit

[Sybase]
Sybase. allow_persistent = On; allow or disable persistent connections
Sybase. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Sybase. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
; Sybase. interface_file = "/usr/sybase/interfaces"
Sybase. min_error_severity = 10; minimum severity of the error displayed
Sybase. min_message_severity = 10; minimum importance of the displayed message
Sybase. compatability_mode = Off; compatible with the old version of PHP 3.0. If it is enabled, PHP automatically
; Grant the Sybase types based on the results to them,
Instead of treating them as strings.
; This compatibility mode will not always be available,
Therefore, modify your code as needed,
And disable this item.

[Sybase-CT]
Sybct. allow_persistent = On; allow or disable persistent connections
Sybct. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Sybct. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
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 all 10 decimal digits used in the bcmath function number of decimal digits for all bcmath functions

[Browscap]
; Browscap = extra/browscap. ini
Browscap = C: \ WIN \ SYSTEM \ inetsrv \ browscap. ini
[Informix]
Ifx. default_host =; ifx_connect () default host (invalid in security mode)
Ifx. default_user =; ifx_connect () default user name (invalid in safe mode)
Ifx. default_password =; ifx_connect () default password (invalid in security mode)
Ifx. allow_persistent = On; allow or disable persistent connections
Ifx. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Ifx. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
Ifx. textasvarchar = 0; if enabled, the select status character returns the content of a 'text blob 'field instead of its id.
Ifx. byteasvarchar = 0; if enabled, the select status character returns the content of a 'Byte blob 'field instead of its id.
Ifx. charasvarchar = 0; trace spaces stripped from fixed-length character columns.
; May be valid for Informix SE users.
Ifx. blobinfile = 0; if enabled, the text and byte blobs contents are exported to a file.
Instead of saving it to the memory.
Ifx. nullformat = 0; NULL (NULL) is returned as an empty field unless 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 \ temp; parameters passed to the controller when save_handler is set to a file,
3

; 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 starts.
Session. cookie_lifetime = 0; the time when the cookie is saved in seconds,
; Or 0 until the browser is restarted
Session. cookie_path =/; valid cookie path
Session. cookie_domain =; valid domain of the cookie
Session. serialize_handler = php; controller used to connect data
Php is the standard controller of PHP.
Session. gc_probability = 1; percentage of 'garbage collection (fragment) 'processes
; The possibility of starting each session initialization.
Session. gc_maxlifetime = 1440; after the number of seconds, the stored data will be treated
; 'Garbage 'and cleared by the gc process.
Session. referer_check =; check the HTTP reference to invalidate the ids contained in the URL.
Session. entropy_length = 0; the number of bytes read from the file
Session. entropy_file =; specify the session id created here
; Session. entropy_length = 16
; Session. entropy_file =/dev/urandom
Session. cache_limiter = nocache; set to {nocache, private, public} to determine the HTTP
; Cache problems
Session. cache_expire = 180; Document expired after n minutes
Session. use_trans_sid = 1; use the transitional sid support.
; -- 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 or disable persistent connections
Mssql. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Mssql. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
Mssql. min_error_severity = 10; minimum severity of the error displayed
Mssql. min_message_severity = 10; minimum importance of the displayed message
Mssql. compatability_mode = Off; compatible with the old version of PHP 3.0.

[Assertion]
;?????
; Assert. active = On ;? Assert (expr); active by default
; Assert. warning = On; issue a PHP warning for each failed assertion.
; Assert. bail = Off; don't bail out by default.
; Assert. callback = 0; user-function to be called if an assertion fails.
; Assert. quiet_eval = 0; eval the expression with current error_reporting (). set to true if you want error_reporting (0) around the eval ().

[Ingres II]
Ii. allow_persistent = On; allow or disable persistent connections
Ii. max_persistent =-1; maximum number of persistent connections. -1 indicates no limit
Ii. max_links =-1; maximum number of connections (persistent and non-persistent ). -1 indicates no limit
Ii. default_database =; default database (format: [node_id:] dbname [/srv_class]
Ii. default_user =; default user
Ii. default_password =; default password

[Verisign Payflow Pro]
Pfpro. defaulthost = "test.signio.com"; default Signio server
Pfpro. defaultport = 443; default port connected
Pfpro. defaulttimeout = 30; default timeout time in seconds

; Pfpro. proxyaddress =; default proxy IP address (if needed)
; Pfpro. proxyport =; default proxy port
; Pfpro. proxylogon =; default agent logon (logon username)
; Pfpro. proxypassword =; default proxy password

[Sockets]
Sockets. use_system_read = On; replace php_read () encapsulation with the system's read () function
; Local Variables: (Local variable)
; Tab-width: 4
; End:

(Source: Sun piao)

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.