Директивы php.ini
Table of Contents
Список директив php.ini
Этот список включает директивы php.ini, которые вы можете использовать для настроки PHP.
Имя | По умолчанию | Изменяемый | Список изменений |
---|---|---|---|
allow_call_time_pass_reference | "1" | PHP_INI_PERDIR | PHP_INI_ALL в PHP <= 4.0.0. |
allow_url_fopen | "1" | PHP_INI_SYSTEM | PHP_INI_ALL в PHP <= 4.3.4. Доступна с версии PHP 4.0.4. |
always_populate_raw_post_data | "0" | PHP_INI_PERDIR | PHP_INI_ALL в PHP <= 4.2.3. Доступна с версии PHP 4.1.0. |
apc.cache_by_default | "1" | PHP_INI_SYSTEM | |
apc.enabled | "1" | PHP_INI_SYSTEM | |
apc.filters | "" | PHP_INI_SYSTEM | |
apc.gc_ttl | "3600" | PHP_INI_SYSTEM | |
apc.mmap_file_mask | NULL | PHP_INI_SYSTEM | |
apc.num_files_hint | "1000" | PHP_INI_SYSTEM | |
apc.optimization | "0" | PHP_INI_SYSTEM | |
apc.shm_segments | "1" | PHP_INI_SYSTEM | |
apc.shm_size | "30" | PHP_INI_SYSTEM | |
apc.slam_defense | "0" | PHP_INI_SYSTEM | |
apc.ttl | "0" | PHP_INI_SYSTEM | |
apc.user_entries_hint | "100" | PHP_INI_SYSTEM | |
apc.user_ttl | "0" | PHP_INI_SYSTEM | |
apd.dumpdir | NULL | PHP_INI_ALL | |
apd.statement_tracing | "0" | PHP_INI_ALL | |
arg_separator.input | "&" | PHP_INI_PERDIR | Доступна с версии PHP 4.0.5. |
arg_separator.output | "&" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
asp_tags | "0" | PHP_INI_PERDIR | PHP_INI_ALL в PHP <= 4.0.0. |
assert.active | "1" | PHP_INI_ALL | |
assert.bail | "0" | PHP_INI_ALL | |
assert.callback | NULL | PHP_INI_ALL | |
assert.quiet_eval | "0" | PHP_INI_ALL | |
assert.warning | "1" | PHP_INI_ALL | |
auto_append_file | NULL | PHP_INI_PERDIR | PHP_INI_ALL в PHP <= 4.2.3. |
auto_detect_line_endings | "0" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
auto_globals_jit | "1" | PHP_INI_PERDIR | Доступна с версии PHP 5.0.0. |
auto_prepend_file | NULL | PHP_INI_PERDIR | PHP_INI_ALL в PHP <= 4.2.3. |
bcmath.scale | "0" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
blenc.key_file | "/usr/local/etc/blenckeys" | PHP_INI_ALL | |
browscap | NULL | PHP_INI_SYSTEM | |
child_terminate | "0" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
com.allow_dcom | "0" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.5. |
com.autoregister_casesensitive | "1" | PHP_INI_ALL | PHP_INI_SYSTEM в PHP 4. Доступна с версии PHP 4.1.0. |
com.autoregister_typelib | "0" | PHP_INI_ALL | PHP_INI_SYSTEM в PHP 4. Доступна с версии PHP 4.1.0. |
com.autoregister_verbose | "0" | PHP_INI_ALL | PHP_INI_SYSTEM в PHP 4. Доступна с версии PHP 4.1.0. |
com.code_page | "" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
com.typelib_file | "" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.5. |
crack.default_dictionary | NULL | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.5. |
daffodildb.default_host | "localhost" | PHP_INI_ALL | |
daffodildb.default_password | "daffodil" | PHP_INI_ALL | |
daffodildb.default_socket | NULL | PHP_INI_ALL | |
daffodildb.default_user | "DAFFODIL" | PHP_INI_ALL | |
daffodildb.port | "3456" | PHP_INI_ALL | |
date.default_latitude | "31.7667" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
date.default_longitude | "35.2333" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
date.sunrise_zenith | "90.83" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
date.sunset_zenith | "90.83" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
dba.default_handler | "" | PHP_INI_ALL | Доступна с версии PHP 4.3.3. |
dbx.colnames_case | "unchanged" | PHP_INI_SYSTEM | Доступна с версии PHP 4.3.0. |
default_charset | "" | PHP_INI_ALL | |
default_mimetype | "text/html" | PHP_INI_ALL | |
default_socket_timeout | "60" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
define_syslog_variables | "0" | PHP_INI_ALL | |
disable_classes | "" | Только php.ini | Доступна с версии PHP 4.3.2. |
disable_functions | "" | Только php.ini | Доступна с версии PHP 4.0.1. |
display_errors | "1" | PHP_INI_ALL | |
display_startup_errors | "0" | PHP_INI_ALL | Доступна с версии PHP 4.0.3. |
docref_ext | "" | PHP_INI_ALL | Доступна с версии PHP 4.3.2. |
docref_root | "" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
doc_root | NULL | PHP_INI_SYSTEM | |
enable_dl | "1" | PHP_INI_SYSTEM | |
engine | "1" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
error_append_string | NULL | PHP_INI_ALL | |
error_log | NULL | PHP_INI_ALL | |
error_prepend_string | NULL | PHP_INI_ALL | |
error_reporting | NULL | PHP_INI_ALL | |
exif.decode_jis_intel | "JIS" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
exif.decode_jis_motorola | "JIS" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
exif.decode_unicode_intel | "UCS-2LE" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
exif.decode_unicode_motorola | "UCS-2BE" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
exif.encode_jis | "" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
exif.encode_unicode | "ISO-8859-15" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
expose_php | "1" | Только php.ini | |
extension_dir | "/path/to/php" | PHP_INI_SYSTEM | |
fbsql.allow_persistent | "1" | PHP_INI_SYSTEM | Доступна с версии PHP 4.2.0. |
fbsql.autocommit | "1" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.batchsize | "1000" | PHP_INI_ALL | Доступна с версии PHP 5-cvs. |
fbsql.default_database | "" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.default_database_password | "" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.default_host | NULL | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.default_password | "" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.default_user | "_SYSTEM" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.generate_warnings | "0" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.max_connections | "128" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.max_links | "128" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.max_persistent | "-1" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
fbsql.max_results | "128" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.6. |
file_uploads | "1" | PHP_INI_SYSTEM | PHP_INI_ALL в PHP <= 4.2.3. Доступна с версии PHP 4.0.3. |
highlight.bg | "#FFFFFF" | PHP_INI_ALL | |
highlight.comment | "#FF8000" | PHP_INI_ALL | |
highlight.default | "#0000BB" | PHP_INI_ALL | |
highlight.html | "#000000" | PHP_INI_ALL | |
highlight.keyword | "#007700" | PHP_INI_ALL | |
highlight.string | "#DD0000" | PHP_INI_ALL | |
html_errors | "1" | PHP_INI_ALL | PHP_INI_SYSTEM в PHP <= 4.2.3. Доступна с версии PHP 4.0.2. |
http.allowed_methods | "OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT" | PHP_INI_ALL | |
hyperwave.allow_persistent | "0" | PHP_INI_SYSTEM | Доступна с версии PHP 4.3.2. |
hyperwave.default_port | "418" | PHP_INI_ALL | |
ibase.allow_persistent | "1" | PHP_INI_SYSTEM | |
ibase.dateformat | "%Y-%m-%d" | PHP_INI_ALL | |
ibase.default_charset | NULL | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
ibase.default_db | NULL | PHP_INI_SYSTEM | Доступна с версии PHP 5.0.0. |
ibase.default_password | NULL | PHP_INI_ALL | |
ibase.default_user | NULL | PHP_INI_ALL | |
ibase.max_links | "-1" | PHP_INI_SYSTEM | |
ibase.max_persistent | "-1" | PHP_INI_SYSTEM | |
ibase.timeformat | "%H:%M:%S" | PHP_INI_ALL | |
ibase.timestampformat | "%Y-%m-%d %H:%M:%S" | PHP_INI_ALL | |
iconv.input_encoding | "ISO-8859-1" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
iconv.internal_encoding | "ISO-8859-1" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
iconv.output_encoding | "ISO-8859-1" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
ifx.allow_persistent | "1" | PHP_INI_SYSTEM | |
ifx.blobinfile | "1" | PHP_INI_ALL | |
ifx.byteasvarchar | "0" | PHP_INI_ALL | |
ifx.charasvarchar | "0" | PHP_INI_ALL | |
ifx.default_host | NULL | PHP_INI_SYSTEM | |
ifx.default_password | NULL | PHP_INI_SYSTEM | |
ifx.default_user | NULL | PHP_INI_SYSTEM | |
ifx.max_links | "-1" | PHP_INI_SYSTEM | |
ifx.max_persistent | "-1" | PHP_INI_SYSTEM | |
ifx.nullformat | "0" | PHP_INI_ALL | |
ifx.textasvarchar | "0" | PHP_INI_ALL | |
ignore_repeated_errors | "0" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
ignore_repeated_source | "0" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
ignore_user_abort | "0" | PHP_INI_ALL | |
implicit_flush | "0" | PHP_INI_ALL | PHP_INI_PERDIR in PHP <= 4.2.3. |
include_path | ".;/path/to/php/pear" | PHP_INI_ALL | |
ingres.allow_persistent | "1" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.2. |
ingres.default_database | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.2. |
ingres.default_password | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.2. |
ingres.default_user | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.2. |
ingres.max_links | "-1" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.2. |
ingres.max_persistent | "-1" | PHP_INI_SYSTEM | Доступна с версии PHP 4.0.2. |
ircg.control_user | "nobody" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
ircg.keep_alive_interval | "60" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
ircg.max_format_message_sets | "12" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
ircg.shared_mem_size | "6000000" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
ircg.work_dir | "/tmp/ircg" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
last_modified | "0" | PHP_INI_ALL | Доступна с версии PHP 4.0.5. |
ldap.max_links | "-1" | PHP_INI_SYSTEM | |
log_errors | "0" | PHP_INI_ALL | |
log_errors_max_len | "1024" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
magic_quotes_gpc | "1" | PHP_INI_PERDIR | PHP_INI_ALL в PHP <= 4.2.3. |
magic_quotes_runtime | "0" | PHP_INI_ALL | |
magic_quotes_sybase | "0" | PHP_INI_ALL | |
mail.force_extra_parameters | NULL | PHP_INI_PERDIR | Доступна с версии PHP 5.0.0. |
mailparse.def_charset | "us-ascii" | PHP_INI_ALL | Доступна с версии PHP 4.1.0. |
maxdb.default_db | NULL | PHP_INI_ALL | |
maxdb.default_host | NULL | PHP_INI_ALL | |
maxdb.default_pw | NULL | PHP_INI_ALL | |
maxdb.default_user | NULL | PHP_INI_ALL | |
maxdb.long_readlen | "200" | PHP_INI_ALL | |
max_execution_time | "30" | PHP_INI_ALL | |
max_input_time | "-1" | PHP_INI_PERDIR | Доступна с версии PHP 4.3.0. |
mbstring.detect_order | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.6. |
mbstring.encoding_translation | "0" | PHP_INI_PERDIR | Доступна с версии PHP 4.3.0. |
mbstring.func_overload | "0" | PHP_INI_PERDIR | PHP_INI_SYSTEM в PHP <= 4.2.3. Доступна с версии PHP 4.2.0. |
mbstring.http_input | "pass" | PHP_INI_ALL | Доступна с версии PHP 4.0.6. |
mbstring.http_output | "pass" | PHP_INI_ALL | Доступна с версии PHP 4.0.6. |
mbstring.internal_encoding | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.6. |
mbstring.language | "neutral" | PHP_INI_PERDIR | Доступна с версии PHP 4.3.0. |
mbstring.script_encoding | NULL | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
mbstring.substitute_character | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.6. |
mcrypt.algorithms_dir | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.2. |
mcrypt.modes_dir | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.2. |
memory_limit | "8M" | PHP_INI_ALL | |
mime_magic.debug | "0" | PHP_INI_SYSTEM | Доступна с версии PHP 5.0.0. |
mime_magic.magicfile | "/path/to/php/magic.mime" | PHP_INI_SYSTEM | Доступна с версии PHP 4.3.0. |
mssql.allow_persistent | "1" | PHP_INI_SYSTEM | |
mssql.batchsize | "0" | PHP_INI_ALL | Доступна с версии PHP 4.0.4. |
mssql.compatability_mode | "0" | PHP_INI_ALL | |
mssql.connect_timeout | "5" | PHP_INI_ALL | |
mssql.datetimeconvert | "1" | PHP_INI_ALL | Доступна с версии PHP 4.2.0. |
mssql.max_links | "-1" | PHP_INI_SYSTEM | |
mssql.max_persistent | "-1" | PHP_INI_SYSTEM | |
mssql.max_procs | "25" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
mssql.min_error_severity | "10" | PHP_INI_ALL | |
mssql.min_message_severity | "10" | PHP_INI_ALL | |
mssql.secure_connection | "0" | PHP_INI_SYSTEM | Доступна с версии PHP 4.3.0. |
mssql.textlimit | "-1" | PHP_INI_ALL | |
mssql.textsize | "-1" | PHP_INI_ALL | |
mssql.timeout | "60" | PHP_INI_ALL | Доступна с версии PHP 4.1.0. |
mysql.allow_persistent | "1" | PHP_INI_SYSTEM | |
mysql.connect_timeout | "60" | PHP_INI_ALL | PHP_INI_SYSTEM в PHP <= 4.3.2. Доступна с версии PHP 4.3.0. |
mysql.default_host | NULL | PHP_INI_ALL | |
mysql.default_password | NULL | PHP_INI_ALL | |
mysql.default_port | NULL | PHP_INI_ALL | |
mysql.default_socket | NULL | PHP_INI_ALL | Доступна с версии PHP 4.0.1. |
mysql.default_user | NULL | PHP_INI_ALL | |
mysql.max_links | "-1" | PHP_INI_SYSTEM | |
mysql.max_persistent | "-1" | PHP_INI_SYSTEM | |
mysql.trace_mode | "0" | PHP_INI_ALL | Доступна с версии PHP 4.3.0. |
mysqli.default_host | NULL | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
mysqli.default_port | "3306" | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |
mysqli.default_pw | NULL | PHP_INI_ALL | Доступна с версии PHP 5.0.0. |