Different script source code files that may be included or requested on the Web server

Source: Internet
Author: User
Tags apc crc32 dbx ereg mcrypt

Approximate number of different script source code files that may be included or requested on the Web server (recommended value is 1024~4096).
; If you are unsure, set to 0; This setting is primarily for sites that have thousands of source Files.

apc.optimization = 0
; Optimization level (recommended value is 0). Objection to the use of the Directive. May be deleted in the Future.
; A positive integer value indicates that the optimizer is enabled, and the higher the value, the more aggressive the optimization is Used.
; Higher values may have a very limited speed boost, but are still being tested.

Apc.report_autofilter = Off
; Whether to log all scripts that are not cached automatically because of the early/late binding Reason.

Apc.shm_segments = 1
; The number of shared memory blocks allocated for the compiler buffer (recommended value is 1).
; If APC runs out of shared memory and has set the apc.shm_size instruction to the maximum allowable value for the system, you can try increasing this Value.
; It is not valid to set a value other than 1 in mmap mode because the size of the shared memory segment that passes through Mmap is not limited.

Apc.shm_size = 30
; The size of each shared memory block (in megabytes, recommended value is 128~256).
; Some systems, including most BSD variants, have a small size of default shared memory Blocks.

Apc.slam_defense = 0
; On a very busy server, whether it's starting a service or modifying a file,
; Can cause a race condition because multiple processes are attempting to cache a file at the same time.
; This instruction is used to set the percentage of the process that skips cache steps when processing files that are not Cached.
; For example, set to 75 indicates that there is a 75% probability of not caching when a file is not cached, thus reducing the chance of collisions.
; Objection to the use of the directive, encourage the setting of zero to disable this feature. It is recommended to use the Apc.write_lock Directive.

Apc.stat = On
; Whether to enable the script update Check.
; Be very careful to change this command Value.
; The default value on indicates that APC checks that the script is updated every time the script is Requested.
; If updated, the compiled content is automatically recompiled and Cached. But doing so has a detrimental effect on performance.
; If set to Off, no check is made, resulting in a significant performance gain.
; however, in order for the updated content to take effect, you must restart the Web Server.
; This command is also valid for Include/require Files. But it's important to note that
; If you are using a relative path, APC must check each time Include/require to locate the File.
; Using an absolute path allows you to skip the check, so you are encouraged to use an absolute path for Include/require Operations.

Apc.user_entries_hint = 4096 2881064151
; Similar to the Num_files_hint directive, only for each different user.
; If you are not sure, set to 0.

Apc.write_lock = On
; Whether write locks are enabled.
; On a very busy server, whether it's starting a service or modifying a file,
; Can cause a race condition because multiple processes are attempting to cache a file at the same time.
; Enabling this directive avoids the appearance of competitive conditions.

apc.rfc1867 = Off
; After you open the directive, for each upload file that contains the Apc_upload_progress field exactly before the file field,
; APC will automatically create a upload_<key> user cache entry (<key> is the Apc_upload_progress field value).
; It is important to note that file upload tracking is not thread-safe here,
; So if the old file has not been uploaded and the new file has already started uploading, you will lose track of the old File.

Apc.rfc1867_prefix = "upload_"
; Buffer entry name prefix for rfc1867 upload files

Apc.rfc1867_name = "apc_upload_progress"
; rfc1867 implied form item name for uploaded files that need to be processed by APC

Apc.rfc1867_freq = 0
; The user rfc1867 the update frequency of the uploaded file cache entry.
; The value can be a percentage of the total file size, or an absolute size ending with ' K ', ' M ', ' G '.
; 0 means updates as fast as possible, but this may result in a slow run-down.

Apc.localcache = Off
; Whether to use non-locking local process shadow-cache, It can reduce the competition between locks when writing to Buffers.

Apc.localcache.size = 512
; The shadow-cache of the local process should be set to a value large enough to be about half the size of Num_files_hint.

Apc.stat_ctime = Off
; No documents yet


[bcmath]
; Binary Calculator (binary Calculator) is provided for arbitrary precision mathematical Calculations.
; It supports numbers of any size and precision, as described in string form.

Bcmath.scale = 0
; The number of 100 binary numbers used for all Bcmath functions


[GD]

gd.jpeg_ignore_warning = Off
; Whether to ignore the warning message of the JPEG decoder (such as the image format is not recognized).
; There are two MIME types of image/jpeg and image/pjpeg, and the GD library can only recognize the previous traditional format.
; See Also: http://twpug.net/modules/newbb/viewtopic.php?topic_id=1867&forum=14
; http://bugs.php.net/bug.php?id=29878
; Http://www.faqs.org/faqs/jpeg-faq/part1/section-11.html


[Filter]
; This expansion module is experimental in identifying and filtering data that is unreliable from the source.

Filter.default = "unsafe_raw"
; Filters the $_get,$_post,$_cookie,$_request data using the specified filter,
; The raw data can be accessed through the Input_get () Function.
; "unsafe_raw" means no filtering is DONE.

Filter.default_flags =
; The default flag for the Filter_data () Function.


[mbstring]
Multi-Byte String Module Support

Mbstring.language = "neutral"
; The default NLS (local language Setting) can be set to the following values:
; The default value of "neutral" indicates neutrality, which is equivalent to Unknown.
; "zh-cn" or "simplified chinese" means Simplified Chinese
; "zh-tw" or "traditional chinese" means traditional Chinese
; "uni" or "universal" means Unicode
; This directive automatically defines the default values for subsequent mbstring.internal_encoding directives.
; And the mbstring.internal_encoding instruction must be placed after the Instruction.

Mbstring.internal_encoding =
; This directive must be placed after the Mbstring.language Instruction.
; The default internal encoding, if not set, depends on the value of the Mbstring.language directive:
; "neutral" corresponds to "iso-8859-1"
; "zh-cn" corresponds to "euc-cn" (equivalent to "GB2312")
; "zh-tw" corresponds to "euc-tw" (equivalent to "BIG5")
; "uni" corresponds to "UTF-8"
; Reminder: for simplified chinese, You can also force the setting to "CP936" (equivalent to "GBK")
; Note: It may be SJIS, BIG5, GBK is not suitable for internal coding, but "GB2312" is certainly not a problem.
; It is recommended to manually force the specified

Mbstring.encoding_translation = Off
; Whether the incoming HTTP request is transparently encoded in accordance with the mbstring.internal_encoding instruction,
; That is, the encoding of the input characters is automatically detected and converted to internal encoding transparently.
; A portable library or program must not rely on automatic encoding conversions.

Mbstring.http_input = "pass"
; Default HTTP input encoding, "pass" means skip (do not convert)
; The meaning of "aotu" is the same as that explained in the Mbstring.detect_order Directive.
; Can be set to a single value or set to a comma-delimited List.

Mbstring.http_output = "pass"
; Default HTTP output encoding, "pass" means skip (do not convert)
; The meaning of "aotu" is the same as that explained in the Mbstring.detect_order Directive.
; Can be set to a single value or set to a comma-delimited List.
; The Output_handler directive must be set to "mb_output_handler".

Mbstring.detect_order =
; The default encoding detection order, "pass" means skip (do not convert).
; The default value ("auto") varies with the mbstring.language directive:
; "neutral" and "universal" correspond to "ASCII, UTF-8"
; "simplified chinese" corresponds to "ASCII, UTF-8, euc-cn, CP936"
; "traditional chinese" corresponds to "ASCII, UTF-8, euc-tw, BIG-5"
; It is recommended that you manually force a single value to be specified in a controlled environment

Mbstring.func_overload = 0
; The corresponding Single-byte string function is automatically overloaded with the mb_* Function.
; For example: Mail (), ereg () will be automatically replaced with Mb_send_mail (), Mb_ereg ()
; 0,1,2,4 can be used for bit combinations. For example, 7 means replace All. The specific replacement instructions are as Follows:
; 0: No replacement
; 1:mail () →mb_send_mail ()
; 2:strlen () →mb_strlen (); substr () →mb_substr ()
; Strpos () →mb_strpos (); Strrpos () →mb_strrpos ()
; Strtolower () →mb_strtolower (); Strtoupper () →mb_strtoupper ()
; Substr_count () →mb_substr_count ()
; 4:ereg () →mb_ereg (); Eregi () →mb_eregi ()
; Ereg_replace () →mb_ereg_replace (); Eregi_replace () →mb_eregi_replace ()
; Split () →mb_split ()

Mbstring.script_encoding =
; The encoding used by the script

Mbstring.strict_detection = Off
; Whether to use rigorous coding testing

Mbstring.substitute_character =
; When a character cannot be decoded, it is replaced with this character.
; If set to an integer, the corresponding Unicode value is represented, and no value is set to indicate that the error character is not Displayed.
; Recommended set to "-"


[Mcrypt]
; An interface to the MCrypt library that supports many kinds of block encryption Algorithms.
; This module is not recommended because there are too many problems and it is recommended to encrypt at the database layer.

Mcrypt.algorithms_dir =
; The directory where the default cryptographic algorithm module Resides. It is usually "/usr/local/lib/libmcrypt".
; There is no detailed documentation yet, and the explanation here may be wrong.

Mcrypt.modes_dir =
; The default encryption mode module is located in the Directory. It is usually "/usr/local/lib/libmcrypt".
; There is no documentation yet, and the explanation here may be wrong.


[Memcache-2.2.2]
; A high-performance distributed Memory object caching system that maintains a unified, huge hash table in memory,
; It can be used to store data in a variety of formats, including images, videos, files, and database retrieval Results.

Memcache.allow_failover = On
; Whether to transparently fail over to the other server when an error is Encountered.

Memcache.chunk_size = 8192
; The data will be transferred according to the block size set by this Value. The smaller this value is, the more additional network traffic is Required.
; If you find that unexplained speed decreases, you can try to increase this value to 32768.

Memcache.default_port = 11211
; The default TCP port to use when connecting to the memcached server.

Memcache.max_failover_attempts = 20
; The maximum number of servers to be tried when data is accepted and sent, in effect when Memcache.allow_failover is Opened.

Memcache.hash_strategy = "standard"
; Controls the policy that maps the key to the Server. The default value of "standard" means using the previous version of the old hash policy.
; Set to "consistent" to allow the server to be added/removed from the connection pool without recalculating the mapping between key and Server.

Memcache.hash_function = "crc32"
; Controls the hash function that maps the key to the Server. The default value of "crc32" uses the CRC32 algorithm, while "fnv" indicates the use of the fnv-1a algorithm.
; The fnv-1a is slightly lower than the CRC32, but the hash effect is better.


[Zlib]
; This module allows PHP to transparently read and write gzip (. gz) compressed Files.

Zlib.output_compression = Off
; Whether to use the Zlib library to transparently compress script output results.
; The value of this directive can be set To: Off, on, number of bytes (compression buffer size, default is 4096).
; If you open the directive, when the browser sends the "accept-encoding:gzip (deflate)" header,
; The "content-encoding:gzip (deflate)" and "vary:accept-encoding" headers are added to the answer Header.
; You can use the Ini_set () function to enable or disable this feature in the script before answering the header Output.
; What if I output a "content-type:image/??" Such an answer header, compression will not be enabled (in order to prevent Netscape Bugs).
; You can output "content-type:image/??" Then use "ini_set (' zlib.output_compression ', ' on ')" to reopen this feature.
; Note 1: The compression rate is affected by the size of the compression buffer, and if you want better compression quality, specify a larger compression buffer.
; Note 2: If zlib output compression is enabled, the Output_handler directive must be empty, and the value of the Zlib.output_handler directive must be set.

Zlib.output_compression_level =-1
; Compression level, The available value is 0~9, 0 means no Compression. The higher the value, the better it is, but the more CPU is occupied, the recommended value is.
; The default value of 1 means to use the default value inside the zlib (6).

Zlib.output_handler =
; With the zlib.output_compression command open, you can only specify the output processor Here.
; The processor you can use is either "zlib.inflate" (decompressed) or "zlib.deflate" (compressed).
; If you enable this directive, you must set the Output_handler directive to Null.


[dbx]
; A database abstraction layer that provides a unified interface for different Databases. Currently Supported:
; Frontbase,sql server,mysql,odbc,postgresql,sybase-ct,oracle 8,sqlite

Dbx.colnames_case = "unchanged"
; Field names can be returned as "unchanged" or "uppercase", "lowercase".


[mysqli]
; The Mysqli module can only work with MySQL version 4.1.3 or later.

Mysqli.max_links =-1
; Maximum number of connections allowed per process (persistent and non-persistent). -1 means no Limit

Mysqli.default_port = 3306
; Mysqli_connect () The default TCP port to use when connecting to the MySQL Database.
; If you do not specify a default value here, you will find it in the following order:
; (1) $MYSQL _tcp_port Environment variables
; (2) mysql-tcp Item (unix) in the/etc/services file
; (3) Mysql_port constants specified at compile time
; Note: under Win32, Use only the Mysql_port Constant.

Mysqli.default_socket =
; Mysqli_connect () The default socket name used when connecting to a native MySQL Server.
; If not specified, the built-in Mqsql default value is Used.

Mysqli.default_host =
; Mysqli_connect () The default host to use when connecting to the MySQL Database. The security mode is not VALID.

Mysqli.default_user =
; Mysqli_connect () The default user name to use when connecting to the MySQL Database. The security mode is not VALID.

MYSQLI.DEFAULT_PW =
; Mysqli_connect () The default password to use when connecting to the MySQL Database. The security mode is not VALID.
; Saving a password in a configuration file is a bad idea, and any user with PHP permissions can run
; ' Echo cfg_get_var (' mysql.default_password ') ' to show the password!
; And any user who has read access to the profile can see the Password.

Mysqli.reconnect = Off
; Whether to allow reconnection


[postgressql]
; The Postgressql module is recommended to work with more than 8.0 versions.

Pgsql.allow_persistent = On
; Whether to allow persistent connections

Pgsql.max_persistent =-1
; The maximum number of persistent connections allowed per Process. -1 means no limit.

Pgsql.max_links =-1
; Maximum number of connections allowed per process (persistent and non-persistent). -1 means no limit.

Pgsql.auto_reset_persistent = Off
; Automatic reset of persistent connections interrupted on Pg_pconnect (), Some additional overhead is required for Detection.

Pgsql.ignore_notice = Off
; Whether to ignore the reminder message on the PostgreSQL backend.
; It takes a little extra overhead to record the Back-end reminder Messages.

Pgsql.log_notice = Off
; Whether to record a reminder message from the PostgreSQL backend in the log.
; It is only possible to record when pgsql.ignore_notice=off.

Different script source code files that may be included or requested on the Web server

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.