PHP: List of php.ini directives - Manual (original) (raw)

allow_url_fopen

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

allow_url_include

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Deprecated as of PHP 7.4.0.

arg_separator.input

"&"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

arg_separator.output

"&"

[INI_ALL](info.constants.php#constant.ini-all)

assert.active

"1"

[INI_ALL](info.constants.php#constant.ini-all)

assert.bail

"0"

[INI_ALL](info.constants.php#constant.ini-all)

assert.callback

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

assert.exception

"0"

[INI_ALL](info.constants.php#constant.ini-all)

assert.quiet_eval

"0"

[INI_ALL](info.constants.php#constant.ini-all)

Removed as of PHP 8.0.0

assert.warning

"1"

[INI_ALL](info.constants.php#constant.ini-all)

auto_append_file

[null](reserved.constants.php#constant.null)

[INI_PERDIR](info.constants.php#constant.ini-perdir)

auto_detect_line_endings

"0"

[INI_ALL](info.constants.php#constant.ini-all)

auto_globals_jit

"1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

auto_prepend_file

[null](reserved.constants.php#constant.null)

[INI_PERDIR](info.constants.php#constant.ini-perdir)

bcmath.scale

"0"

[INI_ALL](info.constants.php#constant.ini-all)

browscap

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

cgi.check_shebang_line

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

cgi.discard_path

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

cgi.fix_pathinfo

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

cgi.force_redirect

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

cgi.nph

"0"

[INI_ALL](info.constants.php#constant.ini-all)

cgi.redirect_status_env

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

cgi.rfc2616_headers

"0"

[INI_ALL](info.constants.php#constant.ini-all)

child_terminate

"0"

[INI_ALL](info.constants.php#constant.ini-all)

cli.pager

""

[INI_ALL](info.constants.php#constant.ini-all)

cli.prompt

"\\b \\> "

[INI_ALL](info.constants.php#constant.ini-all)

cli_server.color

"0"

[INI_ALL](info.constants.php#constant.ini-all)

com.allow_dcom

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

com.autoregister_typelib

"0"

[INI_ALL](info.constants.php#constant.ini-all)

com.autoregister_verbose

"0"

[INI_ALL](info.constants.php#constant.ini-all)

com.autoregister_casesensitive

"1"

[INI_ALL](info.constants.php#constant.ini-all)

com.code_page

""

[INI_ALL](info.constants.php#constant.ini-all)

com.dotnet_version

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

As of PHP 8.0.0

com.typelib_file

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

curl.cainfo

NULL

[INI_SYSTEM](info.constants.php#constant.ini-system)

date.default_latitude

"31.7667"

[INI_ALL](info.constants.php#constant.ini-all)

date.default_longitude

"35.2333"

[INI_ALL](info.constants.php#constant.ini-all)

date.sunrise_zenith

"90.833333"

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 8.0.0, the default was "90.583333"

date.sunset_zenith

"90.833333"

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 8.0.0, the default was "90.583333"

date.timezone

"UTC"

[INI_ALL](info.constants.php#constant.ini-all)

From PHP 8.2, a warning is emitted when setting this to an invalid value or an empty string.

dba.default_handler

DBA_DEFAULT

[INI_ALL](info.constants.php#constant.ini-all)

default_charset

"UTF-8"

[INI_ALL](info.constants.php#constant.ini-all)

input_encoding

""

[INI_ALL](info.constants.php#constant.ini-all)

output_encoding

""

[INI_ALL](info.constants.php#constant.ini-all)

internal_encoding

""

[INI_ALL](info.constants.php#constant.ini-all)

default_mimetype

"text/html"

[INI_ALL](info.constants.php#constant.ini-all)

default_socket_timeout

"60"

[INI_ALL](info.constants.php#constant.ini-all)

disable_classes

""

php.ini only

disable_functions

""

php.ini only

display_errors

"1"

[INI_ALL](info.constants.php#constant.ini-all)

display_startup_errors

"1"

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 8.0.0, the default value was "0".

docref_ext

""

[INI_ALL](info.constants.php#constant.ini-all)

docref_root

""

[INI_ALL](info.constants.php#constant.ini-all)

doc_root

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

enable_dl

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

This deprecated feature _will_certainly be removed in the future.

enable_post_data_reading

"On"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

engine

"1"

[INI_ALL](info.constants.php#constant.ini-all)

error_append_string

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

error_log

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

error_log_mode

0o644

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.2.0

error_prepend_string

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

error_reporting

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

exif.encode_unicode

"ISO-8859-15"

[INI_ALL](info.constants.php#constant.ini-all)

exif.decode_unicode_motorola

"UCS-2BE"

[INI_ALL](info.constants.php#constant.ini-all)

exif.decode_unicode_intel

"UCS-2LE"

[INI_ALL](info.constants.php#constant.ini-all)

exif.encode_jis

""

[INI_ALL](info.constants.php#constant.ini-all)

exif.decode_jis_motorola

"JIS"

[INI_ALL](info.constants.php#constant.ini-all)

exif.decode_jis_intel

"JIS"

[INI_ALL](info.constants.php#constant.ini-all)

exit_on_timeout

""

[INI_ALL](info.constants.php#constant.ini-all)

expect.timeout

"10"

[INI_ALL](info.constants.php#constant.ini-all)

expect.loguser

"1"

[INI_ALL](info.constants.php#constant.ini-all)

expect.logfile

""

[INI_ALL](info.constants.php#constant.ini-all)

expect.match_max

""

[INI_ALL](info.constants.php#constant.ini-all)

expose_php

"1"

php.ini only

extension

[null](reserved.constants.php#constant.null)

php.ini only

extension_dir

"/path/to/php"

[INI_SYSTEM](info.constants.php#constant.ini-system)

fastcgi.impersonate

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

fastcgi.logging

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

file_uploads

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

filter.default

"unsafe_raw"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

Deprecated as of PHP 8.1.0.

filter.default_flags

NULL

[INI_PERDIR](info.constants.php#constant.ini-perdir)

from

""

[INI_ALL](info.constants.php#constant.ini-all)

gd.jpeg_ignore_warning

"1"

[INI_ALL](info.constants.php#constant.ini-all)

geoip.custom_directory

""

[INI_ALL](info.constants.php#constant.ini-all)

hard_timeout

"2"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.1.0.

highlight.comment

"#FF8000"

[INI_ALL](info.constants.php#constant.ini-all)

highlight.default

"#0000BB"

[INI_ALL](info.constants.php#constant.ini-all)

highlight.html

"#000000"

[INI_ALL](info.constants.php#constant.ini-all)

highlight.keyword

"#007700"

[INI_ALL](info.constants.php#constant.ini-all)

highlight.string

"#DD0000"

[INI_ALL](info.constants.php#constant.ini-all)

html_errors

"1"

[INI_ALL](info.constants.php#constant.ini-all)

ibase.allow_persistent

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

ibase.max_persistent

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

ibase.max_links

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

ibase.default_db

NULL

[INI_SYSTEM](info.constants.php#constant.ini-system)

ibase.default_user

NULL

[INI_ALL](info.constants.php#constant.ini-all)

ibase.default_password

NULL

[INI_ALL](info.constants.php#constant.ini-all)

ibase.default_charset

NULL

[INI_ALL](info.constants.php#constant.ini-all)

ibase.timestampformat

"%Y-%m-%d %H:%M:%S"

[INI_ALL](info.constants.php#constant.ini-all)

ibase.dateformat

"%Y-%m-%d"

[INI_ALL](info.constants.php#constant.ini-all)

ibase.timeformat

"%H:%M:%S"

[INI_ALL](info.constants.php#constant.ini-all)

ibm_db2.binmode

"1"

[INI_ALL](info.constants.php#constant.ini-all)

ibm_db2.i5_all_pconnect

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.6.5.

ibm_db2.i5_allow_commit

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.4.9.

ibm_db2.i5_blank_userid

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.i5_char_trim

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 2.1.0.

ibm_db2.i5_dbcs_alloc

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.5.0.

ibm_db2.i5_guard_profile

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.i5_ignore_userid

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.8.0.

ibm_db2.i5_job_sort

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.8.4.

ibm_db2.i5_log_verbose

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.i5_max_pconnect

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.i5_override_ccsid

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.i5_servermode_subsystem

NULL

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.i5_sys_naming

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.9.7.

ibm_db2.instance_name

NULL

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of ibm_db2 1.0.2.

iconv.input_encoding

""

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated in PHP 5.6.0.

iconv.output_encoding

""

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated in PHP 5.6.0.

iconv.internal_encoding

""

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated in PHP 5.6.0.

ignore_repeated_errors

"0"

[INI_ALL](info.constants.php#constant.ini-all)

ignore_repeated_source

"0"

[INI_ALL](info.constants.php#constant.ini-all)

ignore_user_abort

"0"

[INI_ALL](info.constants.php#constant.ini-all)

implicit_flush

"0"

[INI_ALL](info.constants.php#constant.ini-all)

include_path

".:/path/to/php/pear"

[INI_ALL](info.constants.php#constant.ini-all)

intl.default_locale

[INI_ALL](info.constants.php#constant.ini-all)

intl.error_level

0

[INI_ALL](info.constants.php#constant.ini-all)

intl.use_exceptions

0

[INI_ALL](info.constants.php#constant.ini-all)

Available since PECL 3.0.0a1

last_modified

"0"

[INI_ALL](info.constants.php#constant.ini-all)

ldap.max_links

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

log_errors

"0"

[INI_ALL](info.constants.php#constant.ini-all)

log_errors_max_len

"1024"

[INI_ALL](info.constants.php#constant.ini-all)

mail.add_x_header

"0"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

mail.force_extra_parameters

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

mail.log

""

[INI_PERDIR](info.constants.php#constant.ini-perdir)

max_execution_time

"30"

[INI_ALL](info.constants.php#constant.ini-all)

max_input_nesting_level

"64"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

max_input_vars

1000

[INI_PERDIR](info.constants.php#constant.ini-perdir)

max_input_time

"-1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

mbstring.language

"neutral"

[INI_ALL](info.constants.php#constant.ini-all)

mbstring.detect_order

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mbstring.http_input

"pass"

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated

mbstring.http_output

"pass"

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated

mbstring.internal_encoding

NULL

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated

mbstring.substitute_character

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mbstring.func_overload

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Deprecated as of PHP 7.2.0; removed as of PHP 8.0.0.

mbstring.encoding_translation

"0"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

mbstring.http_output_conv_mimetypes

"^(text/|application/xhtml\+xml)"

[INI_ALL](info.constants.php#constant.ini-all)

mbstring.strict_detection

"0"

[INI_ALL](info.constants.php#constant.ini-all)

mbstring.regex_retry_limit

"1000000"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.4.0.

mbstring.regex_stack_limit

"100000"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.3.5.

mcrypt.algorithms_dir

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

mcrypt.modes_dir

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

memcache.allow_failover

"1"

[INI_ALL](info.constants.php#constant.ini-all)

Available since memcache 2.0.2.

memcache.max_failover_attempts

"20"

[INI_ALL](info.constants.php#constant.ini-all)

Available since memcache 2.1.0.

memcache.chunk_size

"8192"

[INI_ALL](info.constants.php#constant.ini-all)

Available since memcache 2.0.2.

memcache.default_port

"11211"

[INI_ALL](info.constants.php#constant.ini-all)

Available since memcache 2.0.2.

memcache.hash_strategy

"standard"

[INI_ALL](info.constants.php#constant.ini-all)

Available since memcache 2.2.0.

memcache.hash_function

"crc32"

[INI_ALL](info.constants.php#constant.ini-all)

Available since memcache 2.2.0.

memcache.protocol

ascii

[INI_ALL](info.constants.php#constant.ini-all)

Supported since memcache 3.0.0

memcache.redundancy

1

[INI_ALL](info.constants.php#constant.ini-all)

Supported since memcache 3.0.0

memcache.session_redundancy

2

[INI_ALL](info.constants.php#constant.ini-all)

Supported since memcache 3.0.0

memcache.compress_threshold

20000

[INI_ALL](info.constants.php#constant.ini-all)

Supported since memcache 3.0.3

memcache.lock_timeout

15

[INI_ALL](info.constants.php#constant.ini-all)

Supported since memcache 3.0.4

memory_limit

"128M"

[INI_ALL](info.constants.php#constant.ini-all)

mysql.allow_local_infile

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysql.allow_persistent

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysql.max_persistent

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysql.max_links

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysql.trace_mode

"0"

[INI_ALL](info.constants.php#constant.ini-all)

mysql.default_port

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysql.default_socket

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysql.default_host

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysql.default_user

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysql.default_password

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysql.connect_timeout

"60"

[INI_ALL](info.constants.php#constant.ini-all)

mysqli.allow_local_infile

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Before PHP 7.2.16 and 7.3.3 the default was "1".

mysqli.local_infile_directory

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.1.0.

mysqli.allow_persistent

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqli.max_persistent

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqli.max_links

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqli.default_port

"3306"

[INI_ALL](info.constants.php#constant.ini-all)

mysqli.default_socket

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysqli.default_host

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysqli.default_user

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysqli.default_pw

NULL

[INI_ALL](info.constants.php#constant.ini-all)

mysqli.reconnect

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Removed as of PHP 8.2.0

mysqli.rollback_on_cached_plink

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.collect_statistics

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.collect_memory_statistics

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.debug

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.log_mask

0

[INI_ALL](info.constants.php#constant.ini-all)

mysqlnd.mempool_default_size

16000

[INI_ALL](info.constants.php#constant.ini-all)

mysqlnd.net_read_timeout

"86400"

[INI_ALL](info.constants.php#constant.ini-all)

Before PHP 7.2.0 the default value was "31536000" and the changeability was [INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.net_cmd_buffer_size

"4096"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.net_read_buffer_size

"32768"

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.sha256_server_public_key

""

[INI_PERDIR](info.constants.php#constant.ini-perdir)

mysqlnd.trace_alloc

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

mysqlnd.fetch_data_copy

0

[INI_ALL](info.constants.php#constant.ini-all)

Removed as of PHP 8.1.0

oci8.connection_class

""

[INI_ALL](info.constants.php#constant.ini-all)

oci8.default_prefetch

"100"

[INI_SYSTEM](info.constants.php#constant.ini-system)

oci8.events

Off

[INI_SYSTEM](info.constants.php#constant.ini-system)

oci8.max_persistent

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

oci8.old_oci_close_semantics

Off

[INI_SYSTEM](info.constants.php#constant.ini-system)

Deprecated as of PHP 8.1.0.

oci8.persistent_timeout

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

oci8.ping_interval

"60"

[INI_SYSTEM](info.constants.php#constant.ini-system)

oci8.prefetch_lob_size

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available since PECL OCI8 3.2.

oci8.privileged_connect

Off

[INI_SYSTEM](info.constants.php#constant.ini-system)

oci8.statement_cache_size

"20"

[INI_SYSTEM](info.constants.php#constant.ini-system)

odbc.allow_persistent

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

odbc.check_persistent

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

odbc.max_persistent

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

odbc.max_links

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

odbc.defaultlrl

"4096"

[INI_ALL](info.constants.php#constant.ini-all)

odbc.defaultbinmode

"1"

[INI_ALL](info.constants.php#constant.ini-all)

odbc.default_cursortype

"3"

[INI_ALL](info.constants.php#constant.ini-all)

opcache.enable

1

[INI_ALL](info.constants.php#constant.ini-all)

opcache.enable_cli

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

Between PHP 7.1.2 and 7.1.6 inclusive, the default was 1

opcache.memory_consumption

128

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.interned_strings_buffer

8

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.max_accelerated_files

10000

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.max_wasted_percentage

5

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.use_cwd

1

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.validate_timestamps

1

[INI_ALL](info.constants.php#constant.ini-all)

opcache.revalidate_freq

2

[INI_ALL](info.constants.php#constant.ini-all)

opcache.revalidate_path

0

[INI_ALL](info.constants.php#constant.ini-all)

opcache.save_comments

1

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.fast_shutdown

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

Removed in PHP 7.2.0

opcache.enable_file_override

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.optimization_level

0x7FFEBFFF

[INI_SYSTEM](info.constants.php#constant.ini-system)

Changed from 0x7FFFBFFF in PHP 7.3.0

opcache.inherited_hack

1

[INI_SYSTEM](info.constants.php#constant.ini-system)

Removed in PHP 7.3.0

opcache.dups_fix

0

[INI_ALL](info.constants.php#constant.ini-all)

opcache.blacklist_filename

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.max_file_size

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.consistency_checks

0

[INI_ALL](info.constants.php#constant.ini-all)

Disabled as of 8.1.18 and 8.2.5. Removed as of PHP 8.3.0.

opcache.force_restart_timeout

180

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.error_log

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.log_verbosity_level

1

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.record_warnings

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.preferred_memory_model

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.protect_memory

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.mmap_base

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

Windows only.

opcache.restrict_api

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.file_update_protection

2

[INI_ALL](info.constants.php#constant.ini-all)

opcache.huge_code_pages

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.lockfile_path

"/tmp"

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.opt_debug_level

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.1.0

opcache.file_cache

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.file_cache_only

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.file_cache_consistency_checks

1

[INI_SYSTEM](info.constants.php#constant.ini-system)

opcache.file_cache_fallback

1

[INI_SYSTEM](info.constants.php#constant.ini-system)

Windows only.

opcache.validate_permission

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.0.14

opcache.validate_root

0

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.0.14

opcache.preload

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.4.0

opcache.preload_user

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.4.0

opcache.cache_id

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

Windows only. Available as of PHP 7.4.0

opcache.jit

"disable"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0. Prior to PHP 8.4.0, the default value was "tracing".

opcache.jit_buffer_size

64M

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0. Prior to PHP 8.4.0, the default value was 0.

opcache.jit_debug

0

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_bisect_limit

0

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_prof_threshold

0.005

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_max_root_traces

1024

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_max_side_traces

128

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_max_exit_counters

8192

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_hot_loop

64

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_hot_func

127

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_hot_return

8

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_hot_side_exit

8

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.0.0

opcache.jit_blacklist_root_trace

16

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_blacklist_side_trace

8

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_max_loop_unrolls

8

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_max_recursive_calls

2

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_max_recursive_returns

2

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

opcache.jit_max_polymorphic_calls

2

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.0.0

open_basedir

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

output_buffering

"0"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

output_handler

[null](reserved.constants.php#constant.null)

[INI_PERDIR](info.constants.php#constant.ini-perdir)

pcre.backtrack_limit

"1000000"

[INI_ALL](info.constants.php#constant.ini-all)

pcre.recursion_limit

"100000"

[INI_ALL](info.constants.php#constant.ini-all)

pcre.jit

"1"

[INI_ALL](info.constants.php#constant.ini-all)

pdo.dsn.*

php.ini only

pdo_odbc.connection_pooling

"strict"

[INI_ALL](info.constants.php#constant.ini-all)

pdo_odbc.db2_instance_name

NULL

[INI_SYSTEM](info.constants.php#constant.ini-system)

This deprecated feature _will_certainly be removed in the future.

pgsql.allow_persistent

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

pgsql.max_persistent

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

pgsql.max_links

"-1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

pgsql.auto_reset_persistent

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

pgsql.ignore_notice

"0"

[INI_ALL](info.constants.php#constant.ini-all)

pgsql.log_notice

"0"

[INI_ALL](info.constants.php#constant.ini-all)

phar.readonly

"1"

[INI_ALL](info.constants.php#constant.ini-all)

phar.require_hash

"1"

[INI_ALL](info.constants.php#constant.ini-all)

phar.cache_list

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

post_max_size

"8M"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

precision

"14"

[INI_ALL](info.constants.php#constant.ini-all)

realpath_cache_size

"16K"

[INI_SYSTEM](info.constants.php#constant.ini-system)

realpath_cache_ttl

"120"

[INI_SYSTEM](info.constants.php#constant.ini-system)

register_argc_argv

"1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

report_memleaks

"1"

[INI_ALL](info.constants.php#constant.ini-all)

report_zend_debug

"1"

[INI_ALL](info.constants.php#constant.ini-all)

request_order

""

[INI_PERDIR](info.constants.php#constant.ini-perdir)

runkit.superglobal

""

[INI_PERDIR](info.constants.php#constant.ini-perdir)

runkit.internal_override

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

sendmail_from

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

sendmail_path

"/usr/sbin/sendmail -t -i"

[INI_SYSTEM](info.constants.php#constant.ini-system)

serialize_precision

"-1"

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 7.1.0, the default value was 17.

session.save_path

""

[INI_ALL](info.constants.php#constant.ini-all)

session.name

"PHPSESSID"

[INI_ALL](info.constants.php#constant.ini-all)

session.save_handler

"files"

[INI_ALL](info.constants.php#constant.ini-all)

session.auto_start

"0"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.gc_probability

"1"

[INI_ALL](info.constants.php#constant.ini-all)

session.gc_divisor

"100"

[INI_ALL](info.constants.php#constant.ini-all)

session.gc_maxlifetime

"1440"

[INI_ALL](info.constants.php#constant.ini-all)

session.serialize_handler

"php"

[INI_ALL](info.constants.php#constant.ini-all)

session.cookie_lifetime

"0"

[INI_ALL](info.constants.php#constant.ini-all)

session.cookie_path

"/"

[INI_ALL](info.constants.php#constant.ini-all)

session.cookie_domain

""

[INI_ALL](info.constants.php#constant.ini-all)

session.cookie_secure

"0"

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 7.2.0, the default was "".

session.cookie_httponly

"0"

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 7.2.0, the default was "".

session.cookie_samesite

""

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.3.0.

session.use_strict_mode

"0"

[INI_ALL](info.constants.php#constant.ini-all)

session.use_cookies

"1"

[INI_ALL](info.constants.php#constant.ini-all)

session.use_only_cookies

"1"

[INI_ALL](info.constants.php#constant.ini-all)

session.referer_check

""

[INI_ALL](info.constants.php#constant.ini-all)

session.cache_limiter

"nocache"

[INI_ALL](info.constants.php#constant.ini-all)

session.cache_expire

"180"

[INI_ALL](info.constants.php#constant.ini-all)

session.use_trans_sid

"0"

[INI_ALL](info.constants.php#constant.ini-all)

session.trans_sid_tags

"a=href,area=href,frame=src,form="

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.1.0.

session.trans_sid_hosts

$_SERVER['HTTP_HOST']

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.1.0.

session.sid_length

"32"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.1.0. Deprecated as of PHP 8.4.0.

session.sid_bits_per_character

"4"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.1.0. Deprecated as of PHP 8.4.0.

session.upload_progress.enabled

"1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.upload_progress.cleanup

"1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.upload_progress.prefix

"upload_progress_"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.upload_progress.name

"PHP_SESSION_UPLOAD_PROGRESS"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.upload_progress.freq

"1%"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.upload_progress.min_freq

"1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

session.lazy_write

"1"

[INI_ALL](info.constants.php#constant.ini-all)

session.hash_function

"0"

[INI_ALL](info.constants.php#constant.ini-all)

Removed as of PHP 7.1.0.

session.hash_bits_per_character

"4"

[INI_ALL](info.constants.php#constant.ini-all)

Removed as of PHP 7.1.0.

session.entropy_file

""

[INI_ALL](info.constants.php#constant.ini-all)

Removed as of PHP 7.1.0.

session.entropy_length

"0"

[INI_ALL](info.constants.php#constant.ini-all)

Removed as of PHP 7.1.0.

short_open_tag

"1"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

SMTP

"localhost"

[INI_ALL](info.constants.php#constant.ini-all)

smtp_port

"25"

[INI_ALL](info.constants.php#constant.ini-all)

soap.wsdl_cache_enabled

1

[INI_ALL](info.constants.php#constant.ini-all)

soap.wsdl_cache_dir

/tmp

[INI_ALL](info.constants.php#constant.ini-all)

soap.wsdl_cache_ttl

86400

[INI_ALL](info.constants.php#constant.ini-all)

soap.wsdl_cache

1

[INI_ALL](info.constants.php#constant.ini-all)

soap.wsdl_cache_limit

5

[INI_ALL](info.constants.php#constant.ini-all)

sql.safe_mode

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Removed as of PHP 7.2.0

sqlite3.extension_dir

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

sqlite3.defensive

1

[INI_USER](info.constants.php#constant.ini-user)

Available as of PHP 7.2.17 and 7.3.4 for libsqlite ≥ 3.26.0. Prior to PHP 8.2.0 this setting was changeable only as**[INI_SYSTEM](info.constants.php#constant.ini-system)**.

syslog.facility

"LOG_USER"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.3.0.

syslog.filter

"no-ctrl"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.3.0.

syslog.ident

"php"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 7.3.0.

sys_temp_dir

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

sysvshm.init_mem

10000

[INI_SYSTEM](info.constants.php#constant.ini-system)

tidy.default_config

""

[INI_SYSTEM](info.constants.php#constant.ini-system)

tidy.clean_output

"0"

[INI_USER](info.constants.php#constant.ini-user)

track_errors

"0"

[INI_ALL](info.constants.php#constant.ini-all)

Deprecated as of PHP 7.2.0, removed as of PHP 8.0.0

unserialize_callback_func

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

unserialize_max_depth

"4096"

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.4.0.

uploadprogress.file.filename_template

"/tmp/upt_%s.txt"

[INI_ALL](info.constants.php#constant.ini-all)

upload_max_filesize

"2M"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

max_file_uploads

20

[INI_SYSTEM](info.constants.php#constant.ini-system)

upload_tmp_dir

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

url_rewriter.hosts

""

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 7.1.0.

url_rewriter.tags

"form="

[INI_ALL](info.constants.php#constant.ini-all)

Prior to PHP 7.1.0, the default value was"a=href,area=href,frame=src,form=,fieldset=".

user_agent

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

user_dir

[null](reserved.constants.php#constant.null)

[INI_SYSTEM](info.constants.php#constant.ini-system)

user_ini.cache_ttl

"300"

[INI_SYSTEM](info.constants.php#constant.ini-system)

user_ini.filename

".user.ini"

[INI_SYSTEM](info.constants.php#constant.ini-system)

uopz.disable

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of uopz 5.0.2

uopz.exit

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of uopz 6.0.1

uopz.overloads

"1"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of uopz 2.0.2. Removed as of uopz 5.0.0.

variables_order

"EGPCS"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

windows.show_crt_warning

"0"

[INI_ALL](info.constants.php#constant.ini-all)

xbithack

"0"

[INI_ALL](info.constants.php#constant.ini-all)

xmlrpc_errors

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

xmlrpc_error_number

"0"

[INI_ALL](info.constants.php#constant.ini-all)

yaz.keepalive

"120"

[INI_ALL](info.constants.php#constant.ini-all)

yaz.log_mask

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

Available as of yaz 1.0.3.

zend.assertions

"1"

[INI_ALL](info.constants.php#constant.ini-all)

zend.detect_unicode

"1"

[INI_ALL](info.constants.php#constant.ini-all)

zend.enable_gc

"1"

[INI_ALL](info.constants.php#constant.ini-all)

zend.max_allowed_stack_size

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.3.0

fiber.stack_size

[INI_ALL](info.constants.php#constant.ini-all)

Available as of PHP 8.1.0

zend.multibyte

"0"

[INI_PERDIR](info.constants.php#constant.ini-perdir)

zend.reserved_stack_size

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

Available as of PHP 8.3.0

zend.script_encoding

[null](reserved.constants.php#constant.null)

[INI_ALL](info.constants.php#constant.ini-all)

zend.signal_check

"0"

[INI_SYSTEM](info.constants.php#constant.ini-system)

zend_extension

[null](reserved.constants.php#constant.null)

php.ini only

zlib.output_compression

"0"

[INI_ALL](info.constants.php#constant.ini-all)

zlib.output_compression_level

"-1"

[INI_ALL](info.constants.php#constant.ini-all)

zlib.output_handler

""

[INI_ALL](info.constants.php#constant.ini-all)