Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Default Value: 100
- ; Development Value: 1000
- ; Production Value: 1000
- ; http://php.net/session.gc-divisor
- session.gc_divisor = 1000
- ; After this number of seconds, stored data will be seen as 'garbage' and
- ; cleaned up by the garbage collection process.
- ; http://php.net/session.gc-maxlifetime
- session.gc_maxlifetime = 1440
- ; NOTE: If you are using the subdirectory option for storing session files
- ; (see session.save_path above), then garbage collection does *not*
- ; happen automatically. You will need to do your own garbage
- ; collection through a shell script, cron entry, or some other method.
- ; For example, the following script would is the equivalent of
- ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
- ; find /path/to/sessions -cmin +24 -type f | xargs rm
- ; PHP 4.2 and less have an undocumented feature/bug that allows you to
- ; to initialize a session variable in the global scope.
- ; PHP 4.3 and later will warn you, if this feature is used.
- ; You can disable the feature and the warning separately. At this time,
- ; the warning is only displayed, if bug_compat_42 is enabled. This feature
- ; introduces some serious security problems if not handled correctly. It's
- ; recommended that you do not use this feature on production servers. But you
- ; should enable this on development servers and enable the warning as well. If you
- ; do not enable the feature on development servers, you won't be warned when it's
- ; used and debugging errors caused by this can be difficult to track down.
- ; Default Value: On
- ; Development Value: On
- ; Production Value: Off
- ; http://php.net/session.bug-compat-42
- session.bug_compat_42 = Off
- ; This setting controls whether or not you are warned by PHP when initializing a
- ; session value into the global space. session.bug_compat_42 must be enabled before
- ; these warnings can be issued by PHP. See the directive above for more information.
- ; Default Value: On
- ; Development Value: On
- ; Production Value: Off
- ; http://php.net/session.bug-compat-warn
- session.bug_compat_warn = Off
- ; Check HTTP Referer to invalidate externally stored URLs containing ids.
- ; HTTP_REFERER has to contain this substring for the session to be
- ; considered as valid.
- ; http://php.net/session.referer-check
- session.referer_check =
- ; How many bytes to read from the file.
- ; http://php.net/session.entropy-length
- ;session.entropy_length = 32
- ; Specified here to create the session id.
- ; http://php.net/session.entropy-file
- ; Defaults to /dev/urandom
- ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
- ; If neither are found at compile time, the default is no entropy file.
- ; On windows, setting the entropy_length setting will activate the
- ; Windows random source (using the CryptoAPI)
- ;session.entropy_file = /dev/urandom
- ; Set to {nocache,private,public,} to determine HTTP caching aspects
- ; or leave this empty to avoid sending anti-caching headers.
- ; http://php.net/session.cache-limiter
- session.cache_limiter = nocache
- ; Document expires after n minutes.
- ; http://php.net/session.cache-expire
- session.cache_expire = 180
- ; trans sid support is disabled by default.
- ; Use of trans sid may risk your users security.
- ; Use this option with caution.
- ; - User may send URL contains active session ID
- ; to other person via. email/irc/etc.
- ; - URL that contains active session ID may be stored
- ; in publicly accessible computer.
- ; - User may access your site with the same session ID
- ; always using URL stored in browser's history or bookmarks.
- ; http://php.net/session.use-trans-sid
- session.use_trans_sid = 0
- ; Select a hash function for use in generating session ids.
- ; Possible Values
- ; 0 (MD5 128 bits)
- ; 1 (SHA-1 160 bits)
- ; This option may also be set to the name of any hash function supported by
- ; the hash extension. A list of available hashes is returned by the hash_algos()
- ; function.
- ; http://php.net/session.hash-function
- session.hash_function = 0
- ; Define how many bits are stored in each character when converting
- ; the binary hash data to something readable.
- ; Possible values:
- ; 4 (4 bits: 0-9, a-f)
- ; 5 (5 bits: 0-9, a-v)
- ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
- ; Default Value: 4
- ; Development Value: 5
- ; Production Value: 5
- ; http://php.net/session.hash-bits-per-character
- session.hash_bits_per_character = 5
- ; The URL rewriter will look for URLs in a defined set of HTML tags.
- ; form/fieldset are special; if you include them here, the rewriter will
- ; add a hidden <input> field with the info which is otherwise appended
- ; to URLs. If you want XHTML conformity, remove the form entry.
- ; Note that all valid entries require a "=", even if no value follows.
- ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
- ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
- ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
- ; http://php.net/url-rewriter.tags
- url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
- ; Enable upload progress tracking in $_SESSION
- ; Default Value: On
- ; Development Value: On
- ; Production Value: On
- ; http://php.net/session.upload-progress.enabled
- ;session.upload_progress.enabled = On
- ; Cleanup the progress information as soon as all POST data has been read
- ; (i.e. upload completed).
- ; Default Value: On
- ; Development Value: On
- ; Production Value: On
- ; http://php.net/session.upload-progress.cleanup
- ;session.upload_progress.cleanup = On
- ; A prefix used for the upload progress key in $_SESSION
- ; Default Value: "upload_progress_"
- ; Development Value: "upload_progress_"
- ; Production Value: "upload_progress_"
- ; http://php.net/session.upload-progress.prefix
- ;session.upload_progress.prefix = "upload_progress_"
- ; The index name (concatenated with the prefix) in $_SESSION
- ; containing the upload progress information
- ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
- ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
- ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
- ; http://php.net/session.upload-progress.name
- ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
- ; How frequently the upload progress should be updated.
- ; Given either in percentages (per-file), or in bytes
- ; Default Value: "1%"
- ; Development Value: "1%"
- ; Production Value: "1%"
- ; http://php.net/session.upload-progress.freq
- ;session.upload_progress.freq = "1%"
- ; The minimum delay between updates, in seconds
- ; Default Value: 1
- ; Development Value: 1
- ; Production Value: 1
- ; http://php.net/session.upload-progress.min-freq
- ;session.upload_progress.min_freq = "1"
- [MSSQL]
- ; Allow or prevent persistent links.
- mssql.allow_persistent = On
- ; Maximum number of persistent links. -1 means no limit.
- mssql.max_persistent = -1
- ; Maximum number of links (persistent+non persistent). -1 means no limit.
- mssql.max_links = -1
- ; Minimum error severity to display.
- mssql.min_error_severity = 10
- ; Minimum message severity to display.
- mssql.min_message_severity = 10
- ; Compatibility mode with old versions of PHP 3.0.
- mssql.compatibility_mode = Off
- ; Connect timeout
- ;mssql.connect_timeout = 5
- ; Query timeout
- ;mssql.timeout = 60
- ; Valid range 0 - 2147483647. Default = 4096.
- ;mssql.textlimit = 4096
- ; Valid range 0 - 2147483647. Default = 4096.
- ;mssql.textsize = 4096
- ; Limits the number of records in each batch. 0 = all records in one batch.
- ;mssql.batchsize = 0
- ; Specify how datetime and datetim4 columns are returned
- ; On => Returns data converted to SQL server settings
- ; Off => Returns values as YYYY-MM-DD hh:mm:ss
- ;mssql.datetimeconvert = On
- ; Use NT authentication when connecting to the server
- mssql.secure_connection = Off
- ; Specify max number of processes. -1 = library default
- ; msdlib defaults to 25
- ; FreeTDS defaults to 4096
- ;mssql.max_procs = -1
- ; Specify client character set.
- ; If empty or not set the client charset from freetds.conf is used
- ; This is only used when compiled with FreeTDS
- ;mssql.charset = "ISO-8859-1"
- [Assertion]
- ; Assert(expr); active by default.
- ; http://php.net/assert.active
- ;assert.active = On
- ; Issue a PHP warning for each failed assertion.
- ; http://php.net/assert.warning
- ;assert.warning = On
- ; Don't bail out by default.
- ; http://php.net/assert.bail
- ;assert.bail = Off
- ; User-function to be called if an assertion fails.
- ; http://php.net/assert.callback
- ;assert.callback = 0
- ; Eval the expression with current error_reporting(). Set to true if you want
- ; error_reporting(0) around the eval().
- ; http://php.net/assert.quiet-eval
- ;assert.quiet_eval = 0
- [COM]
- ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
- ; http://php.net/com.typelib-file
- ;com.typelib_file =
- ; allow Distributed-COM calls
- ; http://php.net/com.allow-dcom
- ;com.allow_dcom = true
- ; autoregister constants of a components typlib on com_load()
- ; http://php.net/com.autoregister-typelib
- ;com.autoregister_typelib = true
- ; register constants casesensitive
- ; http://php.net/com.autoregister-casesensitive
- ;com.autoregister_casesensitive = false
- ; show warnings on duplicate constant registrations
- ; http://php.net/com.autoregister-verbose
- ;com.autoregister_verbose = true
- ; The default character set code-page to use when passing strings to and from COM objects.
- ; Default: system ANSI code page
- ;com.code_page=
- [mbstring]
- ; language for internal character representation.
- ; http://php.net/mbstring.language
- ;mbstring.language = Japanese
- ; internal/script encoding.
- ; Some encoding cannot work as internal encoding.
- ; (e.g. SJIS, BIG5, ISO-2022-*)
- ; http://php.net/mbstring.internal-encoding
- ;mbstring.internal_encoding = UTF-8
- ; http input encoding.
- ; http://php.net/mbstring.http-input
- ;mbstring.http_input = UTF-8
- ; http output encoding. mb_output_handler must be
- ; registered as output buffer to function
- ; http://php.net/mbstring.http-output
- ;mbstring.http_output = pass
- ; enable automatic encoding translation according to
- ; mbstring.internal_encoding setting. Input chars are
- ; converted to internal encoding by setting this to On.
- ; Note: Do _not_ use automatic encoding translation for
- ; portable libs/applications.
- ; http://php.net/mbstring.encoding-translation
- ;mbstring.encoding_translation = Off
- ; automatic encoding detection order.
- ; auto means
- ; http://php.net/mbstring.detect-order
- ;mbstring.detect_order = auto
- ; substitute_character used when character cannot be converted
- ; one from another
- ; http://php.net/mbstring.substitute-character
- ;mbstring.substitute_character = none
- ; overload(replace) single byte functions by mbstring functions.
- ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
- ; etc. Possible values are 0,1,2,4 or combination of them.
- ; For example, 7 for overload everything.
- ; 0: No overload
- ; 1: Overload mail() function
- ; 2: Overload str*() functions
- ; 4: Overload ereg*() functions
- ; http://php.net/mbstring.func-overload
- ;mbstring.func_overload = 0
- ; enable strict encoding detection.
- ;mbstring.strict_detection = On
- ; This directive specifies the regex pattern of content types for which mb_output_handler()
- ; is activated.
- ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
- ;mbstring.http_output_conv_mimetype=
- [gd]
- ; Tell the jpeg decode to ignore warnings and try to create
- ; a gd image. The warning will then be displayed as notices
- ; disabled by default
- ; http://php.net/gd.jpeg-ignore-warning
- ;gd.jpeg_ignore_warning = 0
- [exif]
- ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
- ; With mbstring support this will automatically be converted into the encoding
- ; given by corresponding encode setting. When empty mbstring.internal_encoding
- ; is used. For the decode settings you can distinguish between motorola and
- ; intel byte order. A decode setting cannot be empty.
- ; http://php.net/exif.encode-unicode
- ;exif.encode_unicode = ISO-8859-15
- ; http://php.net/exif.decode-unicode-motorola
- ;exif.decode_unicode_motorola = UCS-2BE
- ; http://php.net/exif.decode-unicode-intel
- ;exif.decode_unicode_intel = UCS-2LE
- ; http://php.net/exif.encode-jis
- ;exif.encode_jis =
- ; http://php.net/exif.decode-jis-motorola
- ;exif.decode_jis_motorola = JIS
- ; http://php.net/exif.decode-jis-intel
- ;exif.decode_jis_intel = JIS
- [Tidy]
- ; The path to a default tidy configuration file to use when using tidy
- ; http://php.net/tidy.default-config
- ;tidy.default_config = /usr/local/lib/php/default.tcfg
- ; Should tidy clean and repair output automatically?
- ; WARNING: Do not use this option if you are generating non-html content
- ; such as dynamic images
- ; http://php.net/tidy.clean-output
- tidy.clean_output = Off
- [soap]
- ; Enables or disables WSDL caching feature.
- ; http://php.net/soap.wsdl-cache-enabled
- soap.wsdl_cache_enabled=1
- ; Sets the directory name where SOAP extension will put cache files.
- ; http://php.net/soap.wsdl-cache-dir
- soap.wsdl_cache_dir="/tmp"
- ; (time to live) Sets the number of second while cached file will be used
- ; instead of original one.
- ; http://php.net/soap.wsdl-cache-ttl
- soap.wsdl_cache_ttl=86400
- ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
- soap.wsdl_cache_limit = 5
- [sysvshm]
- ; A default size of the shared memory segment
- ;sysvshm.init_mem = 10000
- [ldap]
- ; Sets the maximum number of open links or -1 for unlimited.
- ldap.max_links = -1
- [mcrypt]
- ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
- ; Directory where to load mcrypt algorithms
- ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
- ;mcrypt.algorithms_dir=
- ; Directory where to load mcrypt modes
- ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
- ;mcrypt.modes_dir=
- [dba]
- ;dba.default_handler=
- [opcache]
- ; Determines if Zend OPCache is enabled
- ;opcache.enable=0
- ; Determines if Zend OPCache is enabled for the CLI version of PHP
- ;opcache.enable_cli=0
- ; The OPcache shared memory storage size.
- ;opcache.memory_consumption=64
- ; The amount of memory for interned strings in Mbytes.
- ;opcache.interned_strings_buffer=4
- ; The maximum number of keys (scripts) in the OPcache hash table.
- ; Only numbers between 200 and 100000 are allowed.
- ;opcache.max_accelerated_files=2000
- ; The maximum percentage of "wasted" memory until a restart is scheduled.
- ;opcache.max_wasted_percentage=5
- ; When this directive is enabled, the OPcache appends the current working
- ; directory to the script key, thus eliminating possible collisions between
- ; files with the same name (basename). Disabling the directive improves
- ; performance, but may break existing applications.
- ;opcache.use_cwd=1
- ; When disabled, you must reset the OPcache manually or restart the
- ; webserver for changes to the filesystem to take effect.
- ;opcache.validate_timestamps=1
- ; How often (in seconds) to check file timestamps for changes to the shared
- ; memory storage allocation. ("1" means validate once per second, but only
- ; once per request. "0" means always validate)
- ;opcache.revalidate_freq=2
- ; Enables or disables file search in include_path optimization
- ;opcache.revalidate_path=0
- ; If disabled, all PHPDoc comments are dropped from the code to reduce the
- ; size of the optimized code.
- ;opcache.save_comments=1
- ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
- ; may be always stored (save_comments=1), but not loaded by applications
- ; that don't need them anyway.
- ;opcache.load_comments=1
- ; If enabled, a fast shutdown sequence is used for the accelerated code
- ;opcache.fast_shutdown=0
- ; Allow file existence override (file_exists, etc.) performance feature.
- ;opcache.enable_file_override=0
- ; A bitmask, where each bit enables or disables the appropriate OPcache
- ; passes
- ;opcache.optimization_level=0xffffffff
- ;opcache.inherited_hack=1
- ;opcache.dups_fix=0
- ; The location of the OPcache blacklist file (wildcards allowed).
- ; Each OPcache blacklist file is a text file that holds the names of files
- ; that should not be accelerated. The file format is to add each filename
- ; to a new line. The filename may be a full path or just a file prefix
- ; (i.e., /var/www/x blacklists all the files and directories in /var/www
- ; that start with 'x'). Line starting with a ; are ignored (comments).
- ;opcache.blacklist_filename=
- ; Allows exclusion of large files from being cached. By default all files
- ; are cached.
- ;opcache.max_file_size=0
- ; Check the cache checksum each N requests.
- ; The default value of "0" means that the checks are disabled.
- ;opcache.consistency_checks=0
- ; How long to wait (in seconds) for a scheduled restart to begin if the cache
- ; is not being accessed.
- ;opcache.force_restart_timeout=180
- ; OPcache error_log file name. Empty string assumes "stderr".
- ;opcache.error_log=
- ; All OPcache errors go to the Web server log.
- ; By default, only fatal errors (level 0) or errors (level 1) are logged.
- ; You can also enable warnings (level 2), info messages (level 3) or
- ; debug messages (level 4).
- ;opcache.log_verbosity_level=1
- ; Preferred Shared Memory back-end. Leave empty and let the system decide.
- ;opcache.preferred_memory_model=
- ; Protect the shared memory from unexpected writing during script execution.
- ; Useful for internal debugging only.
- ;opcache.protect_memory=0
- [curl]
- ; A default value for the CURLOPT_CAINFO option. This is required to be an
- ; absolute path.
- ;curl.cainfo =
- ; Local Variables:
- ; tab-width: 4
- ; End:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement