[Informix]
; Default host for ifx_connect () (not applied in security mode ).
Ifx. default_host =
; Default user for ifx_connect () (not applied in security mode ).
Ifx. default_user =
; The default password for ifx_connect () (will not be applied in security mode ).
Ifx. default_password =
; Allow or block persistent connections.
Ifx. allow_persistent = on
; The maximum number of persistent connections.-1 means no limit.
Ifx. max_persistent =-1
; Maximum number of connections (persistent + non-persistent).-1 means no limit.
Ifx. max_links =-1
If it is set to on, the SELECT statement returns the content of the text segment instead of its ID.
Ifx. textasvarchar = 0
If it is set to on, the SELECT statement returns the content of the byte segment instead of its ID.
Ifx. byteasvarchar = 0
; Spaces at the end of a fixed-length character column will be truncated. This may be helpful to Informix SE users.
Ifx. charasvarchar = 0
If it is set to on, the text and byte segments will be dumped to a file instead of retaining them in the memory.
Ifx. blobinfile = 0
; Null is returned as an empty string, unless it is set to 1. If it is set to 1, null is returned as a string 'null.
Ifx. nullformat = 0
[Session]
The processing method used to store/obtain data.
Session. save_handler = files
The parameter passed to the save_handler. When the file is used, this is the path where the data file is saved.
Note: Windows users must change this value to use PHP session functions.
;
Like 4.0.1, you can define the following path:
;
; Session. save_path = "N;/path"
;
Here N is an integer. Using this parameter, a subdirectory of N-layer depth is created in the directory to save the session file,
Instead of saving all session files in the same/path directory.
This is helpful when you or your operating system saves too many files in a directory.
And provides higher efficiency for servers that process a large number of sessions.
;
Note 1: PhP will not automatically create the directory structure. You can use the scripts in the EXT/Session Directory to create the directory structure.
NOTE 2: If you choose to use a subdirectory to save the session, check the following configuration section about garbage collection.
;
The file storage module uses the 600 mode by default to create files. You can change this option during use.
;
; Session. save_path = "N; mode;/path"
;
The mode here is represented by an octal mechanism. Note that the umask of the process will not be overwritten here.
; Session. save_path = "/tmp"
; Whether to use cookie.
Session. use_cookies = 1
; Session. cookie_secure =
This option allows administrators to protect users who transmit session IDs in URLs from attacks.
The default value is 0.
; Session. use_only_cookies = 1
Session name (used as the cookie name ).
Session. Name = PHPSESSID
; Initialize the session at the beginning of the request.
Session. auto_start = 0
; Cookie survival time (in seconds), or if it is 0, it will remain until the browser restarts.
Session. cookie_lifetime = 0
; Valid Cookie Path.
Session. cookie_path =/
; Cookie valid domain name.
Session. cookie_domain =
; Whether to add the HTTPOnly flag to the cookie. After the flag is added, the cookie cannot be accessed by the browser's script language (such as JavaScript.
Session. cookie_httponly =
. PHP is a standard PHP serializer.
Session. serialize_handler = PHP
Define the proportion of the 'garbage recycl' process starting at each session initialization.
The ratio is determined by gc_probability/gc_divisor,
For example,. 1/100 means that there is a 1% chance to start the 'garbage collection 'process each time a request is sent.
Session. gc_probability = 1
Session. gc_divisor = 100
After the following seconds, the stored data is considered as 'spam 'and cleared by the garbage collection process.
Session. gc_maxlife time = 1440
Note: If you use the sub-directory option to save the session file
(View the session. save_path above), garbage collection will not automatically happen.
You need to use a shell script, cron or other methods to process garbage collection.
For example, the following script sets session. gc_maxlifetime to 1440 (1440 seconds = 24 minutes ):
; CD/path/to/sessions; find-Cmin + 24 | xargs RM
PHP 4.2 and earlier versions have an undisclosed feature/bug. This feature allows you to initialize a session variable globally, even if register_globals has been disabled.
If this feature is used, PHP 4.3 and earlier will warn you.
You can disable this feature and isolate this warning. If bug_compat_42 is enabled, this warning is only displayed.
Session. bug_compat_42 = 1
Session. bug_compat_warn = 1
; Check HTTP Referer to prevent external URLs with IDs.
; Http_referer must contain this field from the session to be considered legal.
Session. referer_check =
; The number of bytes read from this file.
Session. entropy_length = 0
Specify the session ID here.
Session. entropy_file =
; Session. entropy_length = 16
; Session. entropy_file =/dev/urandom
; Set to {nocache, private, public,} to determine the HTTP buffer type
; Leave null to prevent sending the anti-caching header.
Session. cache_limiter = nocache
The document expires in n minutes.
Session. cache_expire = 180
; Trans Sid can be disabled by default.
; Using Trans Sid may expose your users to security risks.
; Be careful when using this item.
-The user may send a URL containing a valid session ID to others by email/IRC/or other means.
-URLs containing valid session IDs may be stored on computers that are easily accessed by the public.
-You may access your website by using the browser history or the URL containing the same session ID in your favorites.
Session. use_trans_sid = 0
; Select the hash Method
; 0: MD5. (128 bits)
; 1: SHA-1 (160 bits)
Session. hash_function = 0
When the binary hash data is converted to the readable form, each character is saved with several characters.
;
; 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 searches for URLs in a defined set of HTML tags.
Form/fieldset is a special character. If you include them here, rewriter adds a hidden <input> field containing information. Otherwise, it adds information to the URL.
If you want to observe XHTML, delete the form entry.
Note that all valid entries require a "=" symbol, or even have 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 no limit.
MSSQL. max_persistent =-1
; Maximum number of connections (persistent + non-persistent).-1 means no limit.
MSSQL. max_links =-1
; Minimum Error severity.
MSSQL. min_error_severity = 10
The minimum severity of the displayed message.
MSSQL. min_message_severity = 10
The compatibility mode of earlier PHP 3.0 versions.
MSSQL. compatability_mode = off
; Connection timeout
; MSSQL. connect_timeout = 5
; Query timeout
; MSSQL. Timeout = 60
; Valid range: 0-2147483647. Default Value: 4096.
; MSSQL. textlimit = 4096
; Valid range: 0-2147483647. Default Value: 4096.
; MSSQL. textsize = 4096
; Quantity limit for each batch of records. 0 = all records are in a batch.
; MSSQL. batchsize = 0
; Specifies how the datetime and datetim4 columns return
; On => convert the returned data to the format set by the SQL Server
; Off => return with YYYY-MM-DD hh: mm: SS
; MSSQL. datetimeconvert = on
Use nt verification when connecting to the server
MSSQL. secure_connection = off
; Specifies the maximum number of processes.-1 = library default
; Msdlib default 25
; Freetds: 4096 by default
; MSSQL. max_procs =-1
; Specifies the client character set.
If it is null or not specified, the client Character Set uses the configuration of freetds. conf.
; Used only when compiling with freetds
; MSSQL. charset = "ISO-8859-1"