php.ini ディレクティブのリスト

以下のリストには、PHP の設定を行うための php.ini ディレクティブが 含まれます。

"変更可能" カラムは、そのディレクティブをいつどこで定義できるかを表すモードです。その意味については どこで設定を行うのか を参照ください。

設定オプション
名前 デフォルト 変更可能 変更履歴
allow_url_fopen "1" PHP_INI_SYSTEM  
allow_url_include "0" PHP_INI_SYSTEM PHP 7.4.0 以降は非推奨
arg_separator.input "&" PHP_INI_PERDIR  
arg_separator.output "&" PHP_INI_ALL  
assert.active "1" PHP_INI_ALL  
assert.bail "0" PHP_INI_ALL  
assert.callback NULL PHP_INI_ALL  
assert.exception "0" PHP_INI_ALL  
assert.quiet_eval "0" PHP_INI_ALL PHP 8.0.0 以降では削除されました
assert.warning "1" PHP_INI_ALL  
auto_append_file NULL PHP_INI_PERDIR  
auto_detect_line_endings "0" PHP_INI_ALL  
auto_globals_jit "1" PHP_INI_PERDIR  
auto_prepend_file NULL PHP_INI_PERDIR  
bcmath.scale "0" PHP_INI_ALL  
browscap NULL PHP_INI_SYSTEM  
cgi.check_shebang_line "1" PHP_INI_SYSTEM  
cgi.discard_path "0" PHP_INI_SYSTEM  
cgi.fix_pathinfo "1" PHP_INI_SYSTEM  
cgi.force_redirect "1" PHP_INI_SYSTEM  
cgi.nph "0" PHP_INI_ALL  
cgi.redirect_status_env NULL PHP_INI_SYSTEM  
cgi.rfc2616_headers "0" PHP_INI_ALL  
child_terminate "0" PHP_INI_ALL  
cli.pager "" PHP_INI_ALL  
cli.prompt "\\b \\> " PHP_INI_ALL  
cli_server.color "0" PHP_INI_ALL  
com.allow_dcom "0" PHP_INI_SYSTEM  
com.autoregister_typelib "0" PHP_INI_ALL  
com.autoregister_verbose "0" PHP_INI_ALL  
com.autoregister_casesensitive "1" PHP_INI_ALL  
com.code_page "" PHP_INI_ALL  
com.dotnet_version "" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
com.typelib_file "" PHP_INI_SYSTEM  
curl.cainfo NULL PHP_INI_SYSTEM  
date.default_latitude "31.7667" PHP_INI_ALL  
date.default_longitude "35.2333" PHP_INI_ALL  
date.sunrise_zenith "90.833333" PHP_INI_ALL PHP 8.0.0 より前のバージョンでは、デフォルト値は "90.583333" でした。
date.sunset_zenith "90.833333" PHP_INI_ALL PHP 8.0.0 より前のバージョンでは、デフォルト値は "90.583333" でした。
date.timezone "UTC" PHP_INI_ALL PHP 8.2 以降では、この値に無効な値や空文字列を設定すると、警告が発生します。
dba.default_handler DBA_DEFAULT PHP_INI_ALL
default_charset "UTF-8" PHP_INI_ALL デフォルトは "UTF-8" です。
input_encoding "" PHP_INI_ALL  
output_encoding "" PHP_INI_ALL  
internal_encoding "" PHP_INI_ALL  
default_mimetype "text/html" PHP_INI_ALL  
default_socket_timeout "60" PHP_INI_ALL  
disable_classes "" php.ini のみ  
disable_functions "" php.ini のみ  
display_errors "1" PHP_INI_ALL  
display_startup_errors "1" PHP_INI_ALL PHP 8.0.0 より前のバージョンでは、デフォルト値は "0" でした。
docref_ext "" PHP_INI_ALL  
docref_root "" PHP_INI_ALL  
doc_root NULL PHP_INI_SYSTEM  
enable_dl "1" PHP_INI_SYSTEM この非推奨の機能は、きっと 将来 削除 されるでしょう。
enable_post_data_reading On PHP_INI_PERDIR  
engine "1" PHP_INI_ALL  
error_append_string NULL PHP_INI_ALL  
error_log NULL PHP_INI_ALL  
error_log_mode 0o644 PHP_INI_ALL PHP 8.2.0 以降で利用可能
error_prepend_string NULL PHP_INI_ALL  
error_reporting NULL PHP_INI_ALL  
exif.encode_unicode "ISO-8859-15" PHP_INI_ALL  
exif.decode_unicode_motorola "UCS-2BE" PHP_INI_ALL  
exif.decode_unicode_intel "UCS-2LE" PHP_INI_ALL  
exif.encode_jis "" PHP_INI_ALL  
exif.decode_jis_motorola "JIS" PHP_INI_ALL  
exif.decode_jis_intel "JIS" PHP_INI_ALL  
exit_on_timeout "" PHP_INI_ALL  
expect.timeout "10" PHP_INI_ALL  
expect.loguser "1" PHP_INI_ALL  
expect.logfile "" PHP_INI_ALL  
expect.match_max "" PHP_INI_ALL  
expose_php "1" php.ini のみ  
extension NULL php.ini のみ  
extension_dir "/path/to/php" PHP_INI_SYSTEM  
fastcgi.impersonate "0" PHP_INI_SYSTEM  
fastcgi.logging "1" PHP_INI_SYSTEM  
file_uploads "1" PHP_INI_SYSTEM  
filter.default "unsafe_raw" PHP_INI_PERDIR PHP 8.1.0 以降は非推奨
filter.default_flags NULL PHP_INI_PERDIR  
from "" PHP_INI_ALL  
gd.jpeg_ignore_warning "1" PHP_INI_ALL  
geoip.custom_directory "" PHP_INI_ALL
hard_timeout "2" PHP_INI_SYSTEM PHP 7.1.0 以降で利用可能。
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  
ibase.allow_persistent "1" PHP_INI_SYSTEM  
ibase.max_persistent "-1" PHP_INI_SYSTEM  
ibase.max_links "-1" PHP_INI_SYSTEM  
ibase.default_db NULL PHP_INI_SYSTEM  
ibase.default_user NULL PHP_INI_ALL  
ibase.default_password NULL PHP_INI_ALL  
ibase.default_charset NULL PHP_INI_ALL  
ibase.timestampformat "%Y-%m-%d %H:%M:%S" PHP_INI_ALL  
ibase.dateformat "%Y-%m-%d" PHP_INI_ALL  
ibase.timeformat "%H:%M:%S" PHP_INI_ALL  
ibm_db2.binmode "1" PHP_INI_ALL  
ibm_db2.i5_all_pconnect "0" PHP_INI_SYSTEM ibm_db2 1.6.5 以降で利用可能。
ibm_db2.i5_allow_commit "0" PHP_INI_SYSTEM ibm_db2 1.4.9 以降で利用可能。
ibm_db2.i5_dbcs_alloc "0" PHP_INI_SYSTEM ibm_db2 1.5.0 以降で利用可能。
ibm_db2.instance_name NULL PHP_INI_SYSTEM ibm_db2 1.0.2 以降で利用可能。
ibm_db2.i5_ignore_userid "0" PHP_INI_SYSTEM ibm_db2 1.8.0 以降で利用可能。
iconv.input_encoding "" PHP_INI_ALL PHP 5.6.0 で非推奨となりました。
iconv.output_encoding "" PHP_INI_ALL PHP 5.6.0 で非推奨となりました。
iconv.internal_encoding "" PHP_INI_ALL PHP 5.6.0 で非推奨となりました。
ignore_repeated_errors "0" PHP_INI_ALL  
ignore_repeated_source "0" PHP_INI_ALL  
ignore_user_abort "0" PHP_INI_ALL  
implicit_flush "0" PHP_INI_ALL  
include_path ".:/path/to/php/pear" PHP_INI_ALL  
intl.default_locale   PHP_INI_ALL  
intl.error_level 0 PHP_INI_ALL  
intl.use_exceptions 0 PHP_INI_ALL PECL 3.0.0a1 以降で使用可能。
last_modified "0" PHP_INI_ALL  
ldap.max_links "-1" PHP_INI_SYSTEM  
log_errors "0" PHP_INI_ALL  
log_errors_max_len "1024" PHP_INI_ALL  
mail.add_x_header "0" PHP_INI_PERDIR  
mail.force_extra_parameters NULL php.ini のみ  
mail.log "" PHP_INI_PERDIR  
max_execution_time "30" PHP_INI_ALL  
max_input_nesting_level "64" PHP_INI_PERDIR  
max_input_vars 1000 PHP_INI_PERDIR  
max_input_time "-1" PHP_INI_PERDIR  
mbstring.language "neutral" PHP_INI_ALL  
mbstring.detect_order NULL PHP_INI_ALL  
mbstring.http_input "pass" PHP_INI_ALL 非推奨になりました。
mbstring.http_output "pass" PHP_INI_ALL 非推奨になりました。
mbstring.internal_encoding NULL PHP_INI_ALL 非推奨になりました。
mbstring.substitute_character NULL PHP_INI_ALL  
mbstring.func_overload "0" PHP_INI_SYSTEM PHP 7.2.0 で非推奨になり、PHP 8.0.0 で削除されました。
mbstring.encoding_translation "0" PHP_INI_PERDIR  
mbstring.http_output_conv_mimetypes "^(text/|application/xhtml\+xml)" PHP_INI_ALL  
mbstring.strict_detection "0" PHP_INI_ALL  
mbstring.regex_retry_limit "1000000" PHP_INI_ALL PHP 7.4.0 以降で利用可能です。
mbstring.regex_stack_limit "100000" PHP_INI_ALL PHP 7.3.5 以降で利用可能です。
mcrypt.algorithms_dir null PHP_INI_ALL  
mcrypt.modes_dir null PHP_INI_ALL  
memcache.allow_failover "1" PHP_INI_ALL memcache 2.0.2 以降で使用可能です
memcache.max_failover_attempts "20" PHP_INI_ALL memcache 2.1.0 以降で使用可能です
memcache.chunk_size "8192" PHP_INI_ALL memcache 2.0.2 以降で使用可能です
memcache.default_port "11211" PHP_INI_ALL memcache 2.0.2 以降で使用可能です
memcache.hash_strategy "standard" PHP_INI_ALL memcache 2.2.0 以降で使用可能です
memcache.hash_function "crc32" PHP_INI_ALL memcache 2.2.0 以降で使用可能です
memcache.protocol ascii >PHP_INI_ALL memcache 3.0.0 以降で使用可能です
memcache.redundancy 1 >PHP_INI_ALL memcache 3.0.0 以降で使用可能です
memcache.session_redundancy 2 >PHP_INI_ALL memcache 3.0.0 以降で使用可能です
memcache.compress_threshold 20000 >PHP_INI_ALL memcache 3.0.3 以降で使用可能です
memcache.lock_timeout 15 >PHP_INI_ALL memcache 3.0.4 以降で使用可能です
memory_limit "128M" PHP_INI_ALL  
mysql.allow_local_infile "1" PHP_INI_SYSTEM  
mysql.allow_persistent "1" PHP_INI_SYSTEM  
mysql.max_persistent "-1" PHP_INI_SYSTEM  
mysql.max_links "-1" PHP_INI_SYSTEM  
mysql.trace_mode "0" PHP_INI_ALL  
mysql.default_port NULL PHP_INI_ALL  
mysql.default_socket NULL PHP_INI_ALL  
mysql.default_host NULL PHP_INI_ALL  
mysql.default_user NULL PHP_INI_ALL  
mysql.default_password NULL PHP_INI_ALL  
mysql.connect_timeout "60" PHP_INI_ALL  
mysqli.allow_local_infile "0" PHP_INI_SYSTEM PHP 7.2.16, 7.3.3 より前のバージョンでは デフォルト値は "1" でした。
mysqli.local_infile_directory   PHP_INI_SYSTEM PHP 8.1.0 以降で利用可能です。
mysqli.allow_persistent "1" PHP_INI_SYSTEM  
mysqli.max_persistent "-1" PHP_INI_SYSTEM  
mysqli.max_links "-1" PHP_INI_SYSTEM  
mysqli.default_port "3306" PHP_INI_ALL  
mysqli.default_socket NULL PHP_INI_ALL  
mysqli.default_host NULL PHP_INI_ALL  
mysqli.default_user NULL PHP_INI_ALL  
mysqli.default_pw NULL PHP_INI_ALL  
mysqli.reconnect "0" PHP_INI_SYSTEM PHP 8.2.0 で削除されました。
mysqli.rollback_on_cached_plink "0" PHP_INI_SYSTEM  
mysqlnd.collect_statistics "1" PHP_INI_SYSTEM  
mysqlnd.collect_memory_statistics "0" PHP_INI_SYSTEM  
mysqlnd.debug "" PHP_INI_SYSTEM  
mysqlnd.log_mask 0 PHP_INI_ALL  
mysqlnd.mempool_default_size 16000 PHP_INI_ALL  
mysqlnd.net_read_timeout "86400" PHP_INI_ALL PHP 7.2.0 より前のバージョンでは、 デフォルト値は "31536000" で、変更可能な範囲が PHP_INI_SYSTEM でした。
mysqlnd.net_cmd_buffer_size "4096" PHP_INI_SYSTEM  
mysqlnd.net_read_buffer_size "32768" PHP_INI_SYSTEM  
mysqlnd.sha256_server_public_key "" PHP_INI_PERDIR  
mysqlnd.trace_alloc "" PHP_INI_SYSTEM  
mysqlnd.fetch_data_copy 0 PHP_INI_ALL PHP 8.1.0 で削除されました。
oci8.connection_class "" PHP_INI_ALL  
oci8.default_prefetch "100" PHP_INI_SYSTEM  
oci8.events Off PHP_INI_SYSTEM  
oci8.max_persistent "-1" PHP_INI_SYSTEM  
oci8.old_oci_close_semantics Off PHP_INI_SYSTEM PHP 8.1.0 以降は非推奨。
oci8.persistent_timeout "-1" PHP_INI_SYSTEM  
oci8.ping_interval "60" PHP_INI_SYSTEM  
oci8.prefetch_lob_size "0" PHP_INI_ALL PECL OCI8 3.2 以降で利用可能
oci8.privileged_connect Off PHP_INI_SYSTEM  
oci8.statement_cache_size "20" PHP_INI_SYSTEM  
odbc.default_db * NULL PHP_INI_ALL  
odbc.default_user * NULL PHP_INI_ALL  
odbc.default_pw * NULL PHP_INI_ALL  
odbc.allow_persistent "1" PHP_INI_SYSTEM  
odbc.check_persistent "1" PHP_INI_SYSTEM  
odbc.max_persistent "-1" PHP_INI_SYSTEM  
odbc.max_links "-1" PHP_INI_SYSTEM  
odbc.defaultlrl "4096" PHP_INI_ALL  
odbc.defaultbinmode "1" PHP_INI_ALL  
odbc.default_cursortype "3" PHP_INI_ALL  
opcache.enable "1" PHP_INI_ALL  
opcache.enable_cli "0" PHP_INI_SYSTEM PHP 7.1.2 と 7.1.6 の間では、デフォルトは "1" でした
opcache.memory_consumption "128" PHP_INI_SYSTEM  
opcache.interned_strings_buffer "8" PHP_INI_SYSTEM  
opcache.max_accelerated_files "10000" PHP_INI_SYSTEM  
opcache.max_wasted_percentage "5" PHP_INI_SYSTEM  
opcache.use_cwd "1" PHP_INI_SYSTEM  
opcache.validate_timestamps "1" PHP_INI_ALL  
opcache.revalidate_freq "2" PHP_INI_ALL  
opcache.revalidate_path "0" PHP_INI_ALL  
opcache.save_comments "1" PHP_INI_SYSTEM  
opcache.fast_shutdown "0" PHP_INI_SYSTEM PHP 7.2.0 で削除されました
opcache.enable_file_override "0" PHP_INI_SYSTEM  
opcache.optimization_level "0x7FFEBFFF" PHP_INI_SYSTEM PHP 7.3.0 で 0x7FFFBFFF から変更されました。
opcache.inherited_hack "1" PHP_INI_SYSTEM PHP 7.3.0 で削除されました
opcache.dups_fix "0" PHP_INI_ALL  
opcache.blacklist_filename "" PHP_INI_SYSTEM  
opcache.max_file_size "0" PHP_INI_SYSTEM  
opcache.consistency_checks "0" PHP_INI_ALL  
opcache.force_restart_timeout "180" PHP_INI_SYSTEM  
opcache.error_log "" PHP_INI_SYSTEM  
opcache.log_verbosity_level "1" PHP_INI_SYSTEM  
opcache.record_warnings "0" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.preferred_memory_model "" PHP_INI_SYSTEM  
opcache.protect_memory "0" PHP_INI_SYSTEM  
opcache.mmap_base null PHP_INI_SYSTEM  
opcache.restrict_api "" PHP_INI_SYSTEM  
opcache.file_update_protection "2" PHP_INI_ALL  
opcache.huge_code_pages "0" PHP_INI_SYSTEM  
opcache.lockfile_path "/tmp" PHP_INI_SYSTEM  
opcache.opt_debug_level "0" PHP_INI_SYSTEM PHP 7.1.0 以降で利用可能
opcache.file_cache NULL PHP_INI_SYSTEM  
opcache.file_cache_only "0" PHP_INI_SYSTEM  
opcache.file_cache_consistency_checks "1" PHP_INI_SYSTEM  
opcache.file_cache_fallback "1" PHP_INI_SYSTEM Windows のみ
opcache.validate_permission "0" PHP_INI_SYSTEM PHP 7.0.14 以降で利用可能
opcache.validate_root "0" PHP_INI_SYSTEM PHP 7.0.14 以降で利用可能
opcache.preload "" PHP_INI_SYSTEM PHP 7.4.0 以降で利用可能
opcache.preload_user "" PHP_INI_SYSTEM PHP 7.4.0 以降で利用可能
opcache.cache_id "" PHP_INI_SYSTEM Windows のみ。PHP 7.4.0 以降で利用可能
opcache.jit "tracing" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_buffer_size "0" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_debug "0" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_bisect_limit "0" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_prof_threshold "0.005" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_max_root_traces "1024" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_max_side_traces "128" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_max_exit_counters "8192" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_hot_loop "64" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_hot_func "127" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_hot_return "8" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_hot_side_exit "8" PHP_INI_SYSTEM PHP 8.0.0 以降で利用可能
opcache.jit_blacklist_root_trace "16" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_blacklist_side_trace "8" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_max_loop_unrolls "8" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_max_recursive_calls "2" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_max_recursive_returns "2" PHP_INI_ALL PHP 8.0.0 以降で利用可能
opcache.jit_max_polymorphic_calls "2" PHP_INI_ALL PHP 8.0.0 以降で利用可能
open_basedir NULL PHP_INI_ALL  
output_buffering "0" PHP_INI_PERDIR  
output_handler NULL PHP_INI_PERDIR  
pcre.backtrack_limit "1000000" PHP_INI_ALL  
pcre.recursion_limit "100000" PHP_INI_ALL  
pcre.jit "1" PHP_INI_ALL  
pdo.dsn.*   php.ini のみ  
pdo_odbc.connection_pooling "strict" PHP_INI_ALL  
pdo_odbc.db2_instance_name NULL PHP_INI_SYSTEM この非推奨の機能は、きっと 将来 削除 されるでしょう。
pgsql.allow_persistent "1" PHP_INI_SYSTEM  
pgsql.max_persistent "-1" PHP_INI_SYSTEM  
pgsql.max_links "-1" PHP_INI_SYSTEM  
pgsql.auto_reset_persistent "0" PHP_INI_SYSTEM  
pgsql.ignore_notice "0" PHP_INI_ALL  
pgsql.log_notice "0" PHP_INI_ALL  
phar.readonly "1" PHP_INI_ALL  
phar.require_hash "1" PHP_INI_ALL  
phar.cache_list "" PHP_INI_SYSTEM  
post_max_size "8M" PHP_INI_PERDIR  
precision "14" PHP_INI_ALL  
realpath_cache_size "16K" PHP_INI_SYSTEM  
realpath_cache_ttl "120" PHP_INI_SYSTEM  
register_argc_argv "1" PHP_INI_PERDIR  
report_memleaks "1" PHP_INI_ALL  
report_zend_debug "1" PHP_INI_ALL  
request_order "" PHP_INI_PERDIR  
runkit.superglobal "" PHP_INI_PERDIR  
runkit.internal_override "0" PHP_INI_SYSTEM  
sendmail_from NULL PHP_INI_ALL  
sendmail_path "/usr/sbin/sendmail -t -i" PHP_INI_SYSTEM  
serialize_precision "-1" PHP_INI_ALL PHP 7.1.0 より前のバージョンでは、デフォルト値は 17 でした。
session.save_path "" PHP_INI_ALL  
session.name "PHPSESSID" PHP_INI_ALL  
session.save_handler "files" PHP_INI_ALL  
session.auto_start "0" PHP_INI_PERDIR  
session.gc_probability "1" PHP_INI_ALL  
session.gc_divisor "100" PHP_INI_ALL  
session.gc_maxlifetime "1440" PHP_INI_ALL  
session.serialize_handler "php" PHP_INI_ALL  
session.cookie_lifetime "0" PHP_INI_ALL  
session.cookie_path "/" PHP_INI_ALL  
session.cookie_domain "" PHP_INI_ALL  
session.cookie_secure "0" PHP_INI_ALL PHP 7.2.0 より前のバージョンでは、デフォルト値は "" でした。
session.cookie_httponly "0" PHP_INI_ALL PHP 7.2.0 より前のバージョンでは、デフォルト値は "" でした。""
session.cookie_samesite "" PHP_INI_ALL PHP 7.3.0 から利用可能
session.use_strict_mode "0" PHP_INI_ALL  
session.use_cookies "1" PHP_INI_ALL  
session.use_only_cookies "1" PHP_INI_ALL  
session.referer_check "" PHP_INI_ALL  
session.cache_limiter "nocache" PHP_INI_ALL  
session.cache_expire "180" PHP_INI_ALL  
session.use_trans_sid "0" PHP_INI_ALL  
session.trans_sid_tags "a=href,area=href,frame=src,form=" PHP_INI_ALL PHP 7.1.0 から利用可能
session.trans_sid_hosts $_SERVER['HTTP_HOST'] PHP_INI_ALL PHP 7.1.0 から利用可能
session.sid_length "32" PHP_INI_ALL PHP 7.1.0 から利用可能
session.sid_bits_per_character "4" PHP_INI_ALL PHP 7.1.0 から利用可能
session.upload_progress.enabled "1" PHP_INI_PERDIR  
session.upload_progress.cleanup "1" PHP_INI_PERDIR  
session.upload_progress.prefix "upload_progress_" PHP_INI_PERDIR  
session.upload_progress.name "PHP_SESSION_UPLOAD_PROGRESS" PHP_INI_PERDIR  
session.upload_progress.freq "1%" PHP_INI_PERDIR  
session.upload_progress.min_freq "1" PHP_INI_PERDIR  
session.lazy_write "1" PHP_INI_ALL  
session.hash_function "0" PHP_INI_ALL PHP 7.1.0 で削除されました。
session.hash_bits_per_character "4" PHP_INI_ALL PHP 7.1.0 で削除されました。
session.entropy_file "" PHP_INI_ALL PHP 7.1.0 で削除されました。
session.entropy_length "0" PHP_INI_ALL PHP 7.1.0 で削除されました。
short_open_tag "1" PHP_INI_PERDIR  
SMTP "localhost" PHP_INI_ALL  
smtp_port "25" PHP_INI_ALL  
soap.wsdl_cache_enabled 1 PHP_INI_ALL
soap.wsdl_cache_dir /tmp PHP_INI_ALL
soap.wsdl_cache_ttl 86400 PHP_INI_ALL
soap.wsdl_cache 1 PHP_INI_ALL
soap.wsdl_cache_limit 5 PHP_INI_ALL
sql.safe_mode "0" PHP_INI_SYSTEM  
sqlite3.extension_dir "" PHP_INI_SYSTEM  
sqlite3.defensive 1 PHP_INI_USER PHP 7.2.17 ,7.3.4 以降、かつ libsqlite ≥ 3.26.0 でビルドした場合に利用可能 PHP 8.2.0 より前のバージョンでは、この値は PHP_INI_SYSTEM のモードでのみ変更可能でした。
syslog.facility "LOG_USER" PHP_INI_SYSTEM PHP 7.3.0 以降で利用可能
syslog.filter "no-ctrl" PHP_INI_ALL PHP 7.3.0 以降で利用可能
syslog.ident "php" PHP_INI_SYSTEM PHP 7.3.0 以降で利用可能
sys_temp_dir "" PHP_INI_SYSTEM  
sysvshm.init_mem 10000 PHP_INI_SYSTEM  
tidy.default_config "" PHP_INI_SYSTEM  
tidy.clean_output "0" PHP_INI_USER  
track_errors "0" PHP_INI_ALL PHP 7.2.0 以降は非推奨になり、PHP 8.0.0 で 削除されました。
unserialize_callback_func null PHP_INI_ALL  
unserialize_max_depth "4096" PHP_INI_ALL PHP 7.4.0 以降で利用可能。
uploadprogress.file.filename_template "/tmp/upt_%s.txt" PHP_INI_ALL  
upload_max_filesize "2M" PHP_INI_PERDIR  
max_file_uploads 20 PHP_INI_SYSTEM  
upload_tmp_dir NULL PHP_INI_SYSTEM  
url_rewriter.tags "a=href,area=href,frame=src,form=,fieldset=" PHP_INI_ALL  
user_agent NULL PHP_INI_ALL  
user_dir NULL PHP_INI_SYSTEM  
user_ini.cache_ttl "300" PHP_INI_SYSTEM  
user_ini.filename ".user.ini" PHP_INI_SYSTEM  
uopz.disable "0" PHP_INI_SYSTEM uopz 5.0.2 以降で利用可能
uopz.exit "0" PHP_INI_SYSTEM uopz 6.0.1 以降で利用可能
uopz.overloads "1" PHP_INI_SYSTEM uopz 2.0.2 以降で利用可能。uopz 5.0.0 以降は削除されています
variables_order "EGPCS" PHP_INI_PERDIR  
windows.show_crt_warning "0" PHP_INI_ALL  
xbithack "0" PHP_INI_ALL  
xmlrpc_errors "0" PHP_INI_SYSTEM  
xmlrpc_error_number "0" PHP_INI_ALL  
yaz.keepalive "120" PHP_INI_ALL  
yaz.log_mask NULL PHP_INI_ALL yaz 1.0.3 以降で利用可能。
zend.assertions "1" PHP_INI_ALL  
zend.detect_unicode "1" PHP_INI_ALL  
zend.enable_gc "1" PHP_INI_ALL  
zend.multibyte "0" PHP_INI_PERDIR  
zend.script_encoding NULL PHP_INI_ALL  
zend.signal_check "0" PHP_INI_SYSTEM  
zend_extension NULL php.ini のみ  
zlib.output_compression "0" PHP_INI_ALL  
zlib.output_compression_level "-1" PHP_INI_ALL  
zlib.output_handler "" PHP_INI_ALL