以下のリストには、PHP の設定を行うための php.ini ディレクティブが 含まれます。
表 I-1. 設定オプション
| 名前 | デフォルト | 変更の可否 | 変更履歴 |
|---|---|---|---|
| allow_call_time_pass_reference | "1" | PHP_INI_PERDIR | PHP <= 4.0.0 で PHP_INI_ALL。 |
| allow_url_fopen | "1" | PHP_INI_SYSTEM | PHP <= 4.3.4 で PHP_INI_ALL。 PHP 4.0.4 以降で利用可能。 |
| allow_url_include | "0" | PHP_INI_SYSTEM | PHP 5.2.0 以降で使用可能。 |
| always_populate_raw_post_data | "0" | PHP_INI_PERDIR | PHP <= 4.2.3 で PHP_INI_ALL。 PHP 4.1.0 以降で利用可能。 |
| apc.cache_by_default | "1" | PHP_INI_ALL | APC <= 3.0.12p2 で PHP_INI_SYSTEM。 |
| apc.enabled | "1" | PHP_INI_SYSTEM | APC <= 3.0.12p2 で PHP_INI_ALL。 |
| apc.enable_cli | "0" | PHP_INI_SYSTEM | |
| apc.file_update_protection | "2" | PHP_INI_SYSTEM | |
| apc.filters | NULL | PHP_INI_SYSTEM | |
| apc.gc_ttl | "3600" | PHP_INI_SYSTEM | |
| apc.max_file_size | "1M" | PHP_INI_SYSTEM | |
| apc.mmap_file_mask | NULL | PHP_INI_SYSTEM | |
| apc.num_files_hint | "1000" | PHP_INI_SYSTEM | |
| apc.optimization | "0" | PHP_INI_ALL | |
| 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 <= 4.0.0 で PHP_INI_ALL。 |
| 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 <= 4.2.3 で PHP_INI_ALL。 |
| 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 <= 4.2.3 で PHP_INI_ALL。 |
| bcmath.scale | "0" | PHP_INI_ALL | |
| bcompiler.enabled | "1" | PHP_INI_ALL | |
| birdstep.max_links | "-1" | PHP_INI_ALL | PHP 4.2.0 以降で利用可能。 |
| blenc.key_file | "/usr/local/etc/blenckeys" | PHP_INI_ALL | |
| browscap | NULL | PHP_INI_SYSTEM | |
| cgi.check_shebang_line | "1" | PHP_INI_SYSTEM | PHP 5.2.0 以降で利用可能。 |
| cgi.discard_path | "0" | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| cgi.fix_pathinfo | "1" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| cgi.force_redirect | "1" | PHP_INI_ALL | PHP 4.2.0 以降で利用可能。 |
| cgi.nph | "0" | PHP_INI_ALL | PHP 4.3.5 以降で利用可能。 |
| cgi.redirect_status_env | NULL | PHP_INI_ALL | PHP 4.2.0 以降で利用可能。 |
| cgi.rfc2616_headers | "0" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| 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 4 では PHP_INI_SYSTEM。 PHP 4.1.0 以降で利用可能。 |
| com.autoregister_typelib | "0" | PHP_INI_ALL | PHP 4 では PHP_INI_SYSTEM。 PHP 4.1.0 以降で利用可能。 |
| com.autoregister_verbose | "0" | PHP_INI_ALL | PHP 4 では PHP_INI_SYSTEM。 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_PERDIR | 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 以降で利用可能。 |
| date.timezone | "" | PHP_INI_ALL | PHP 5.1.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 only | PHP 4.3.2 以降で利用可能。 |
| disable_functions | "" | php.ini only | 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 以降で利用可能。 |
| expect.logfile | "" | PHP_INI_ALL | |
| expect.loguser | "1" | PHP_INI_ALL | |
| expect.timeout | "10" | PHP_INI_ALL | |
| expose_php | "1" | php.ini only | |
| extension_dir | "/path/to/php" | PHP_INI_SYSTEM | |
| fastcgi.impersonate | "0" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| fastcgi.logging | "1" | PHP_INI_ALL | PHP 4.4.0 以降で利用可能。 |
| 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.1.0 以降で利用可能。 |
| 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 <= 4.2.3 では PHP_INI_ALL。PHP 4.0.3 以降で利用可能。 |
| filter.default | "string" | PHP_INI_ALL | |
| filter.default_flags | NULL | PHP_INI_ALL | |
| from | "" | PHP_INI_ALL | |
| gd.jpeg_ignore_warning | "0" | PHP_INI_ALL | PHP 5.1.4 以降で利用可能。 |
| 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 <= 4.2.3 では PHP_INI_SYSTEM。PHP 4.0.2 以降で利用可能。 |
| http.allowed_methods | "" | PHP_INI_ALL | |
| http.allowed_methods_log | "" | PHP_INI_ALL | |
| http.cache_log | "" | PHP_INI_ALL | |
| http.composite_log | "" | PHP_INI_ALL | |
| http.etag_mode | "MD5" | PHP_INI_ALL | |
| http.force_exit | "1" | PHP_INI_ALL | |
| http.ob_deflate_auto | "0" | PHP_INI_PERDIR | |
| http.ob_deflate_flags | "0" | PHP_INI_ALL | |
| http.ob_inflate_auto | "0" | PHP_INI_PERDIR | |
| http.ob_inflate_flags | "0" | PHP_INI_ALL | |
| http.only_exceptions | "0" | PHP_INI_ALL | |
| http.redirect_log | "" | 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 | |
| ibm_db2.binmode | "1" | PHP_INI_ALL | |
| ibm_db2.instance_name | NULL | PHP_INI_SYSTEM | |
| 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 <= 4.2.3 では PHP_INI_PERDIR。 |
| include_path | ".;/path/to/php/pear" | PHP_INI_ALL | |
| ingres.allow_persistent | "1" | PHP_INI_SYSTEM | PHP 4.0.2 以降で利用可能。 |
| ingres.blob_segment_length | "4096" | PHP_INI_ALL | |
| ingres.cursor_mode | "0" | PHP_INI_ALL | |
| 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 以降で利用可能。 |
| ingres.report_db_warnings | "1" | PHP_INI_ALL | |
| ingres.timeout | "-1" | PHP_INI_ALL | |
| ingres.trace_connect | "0" | PHP_INI_ALL | |
| 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 <= 4.2.3 では PHP_INI_ALL。 |
| 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 以降で利用可能。 |
| max_input_nesting_level | "64" | PHP_INI_SYSTEM|PHP_INI_PERDIR | PHP 5.2.2 以降で利用可能。 |
| 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 <= 4.2.3 では PHP_INI_SYSTEM。 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.strict_detection | "0" | PHP_INI_ALL | PHP 5.1.2 以降で利用可能。 |
| 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 | "128M" | 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 以降で利用可能。 |
| msql.allow_persistent | "1" | PHP_INI_ALL | |
| msql.max_links | "-1" | PHP_INI_ALL | |
| msql.max_persistent | "-1" | PHP_INI_ALL | |
| mssql.allow_persistent | "1" | PHP_INI_SYSTEM | |
| mssql.batchsize | "0" | PHP_INI_ALL | PHP 4.0.4 以降で利用可能。 |
| mssql.charset | "" | PHP_INI_ALL | PHP 5.1.2 以降で利用可能。 |
| 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 | "-1" | 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 <= 4.3.2 では PHP_INI_SYSTEM。 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 以降で利用可能。 |
| mysqli.default_socket | NULL | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| mysqli.default_user | NULL | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| mysqli.max_links | "-1" | PHP_INI_SYSTEM | PHP 5.0.0 以降で利用可能。 |
| mysqli.reconnect | "0" | PHP_INI_SYSTEM | PHP 5.0.0 以降で利用可能。 |
| namazu.debugmode | "0" | PHP_INI_ALL | |
| namazu.lang | NULL | PHP_INI_ALL | |
| namazu.loggingmode | "0" | PHP_INI_ALL | |
| namazu.sortmethod | NULL | PHP_INI_ALL | |
| namazu.sortorder | NULL | PHP_INI_ALL | |
| nsapi.read_timeout | "60" | PHP_INI_ALL | PHP 4.3.3 以降で利用可能。 |
| oci8.default_prefetch | "10" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| oci8.max_persistent | "-1" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| oci8.old_oci_close_semantics | "0" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| oci8.persistent_timeout | "-1" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| oci8.ping_interval | "60" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| oci8.privileged_connect | "0" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| oci8.statement_cache_size | "20" | PHP_INI_SYSTEM | PHP 5.1.2 以降で利用可能。 |
| odbc.allow_persistent | "1" | PHP_INI_SYSTEM | |
| odbc.check_persistent | "1" | PHP_INI_SYSTEM | |
| odbc.defaultbinmode | "1" | PHP_INI_ALL | |
| odbc.defaultlrl | "4096" | PHP_INI_ALL | |
| odbc.default_db | NULL | PHP_INI_ALL | |
| odbc.default_pw | NULL | PHP_INI_ALL | |
| odbc.default_user | NULL | PHP_INI_ALL | |
| odbc.max_links | "-1" | PHP_INI_SYSTEM | |
| odbc.max_persistent | "-1" | PHP_INI_SYSTEM | |
| opendirectory.max_refs | "-1" | PHP_INI_ALL | |
| opendirectory.separator | "/" | PHP_INI_ALL | |
| open_basedir | NULL | PHP_INI_SYSTEM | |
| oracle.allow_persistent | "-1" | PHP_INI_ALL | |
| oracle.max_links | "-1" | PHP_INI_ALL | |
| oracle.max_persistent | "-1" | PHP_INI_ALL | |
| output_buffering | "0" | PHP_INI_PERDIR | |
| output_handler | NULL | PHP_INI_PERDIR | PHP 4.0.4 以降で利用可能。 |
| pcre.backtrack_limit | "100000" | PHP_INI_ALL | PHP 5.2.0 以降で利用可能。 |
| pcre.recursion_limit | "100000" | PHP_INI_ALL | PHP 5.2.0 以降で利用可能。 |
| pdo_odbc.connection_pooling | "strict" | PHP_INI_ALL | PHP 5.1.0 以降で利用可能。 |
| pdo_odbc.db2_instance_name | NULL | PHP_INI_SYSTEM | |
| pfpro.defaulthost | "test-payflow.verisign.com" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pfpro.defaultport | "443" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pfpro.defaulttimeout | "30" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pfpro.proxyaddress | "" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pfpro.proxylogon | "" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pfpro.proxypassword | "" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pfpro.proxyport | "" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| pgsql.allow_persistent | "1" | PHP_INI_SYSTEM | |
| pgsql.auto_reset_persistent | "0" | PHP_INI_SYSTEM | PHP 4.2.0 以降で利用可能。 |
| pgsql.ignore_notice | "0" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| pgsql.log_notice | "0" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| pgsql.max_links | "-1" | PHP_INI_SYSTEM | |
| pgsql.max_persistent | "-1" | PHP_INI_SYSTEM | |
| post_max_size | "8M" | PHP_INI_PERDIR | PHP <= 4.2.3 では PHP_INI_SYSTEM。 PHP 4.0.3 以降で利用可能。 |
| precision | "14" | PHP_INI_ALL | |
| printer.default_printer | "" | PHP_INI_ALL | |
| realpath_cache_size | "16K" | PHP_INI_SYSTEM | PHP 5.1.0 以降で利用可能。 |
| realpath_cache_ttl | "120" | PHP_INI_SYSTEM | PHP 5.1.0 以降で利用可能。 |
| register_argc_argv | "1" | PHP_INI_PERDIR | PHP <= 4.2.3 では PHP_INI_ALL |
| register_globals | "0" | PHP_INI_PERDIR | PHP <= 4.2.3 では PHP_INI_ALL |
| register_long_arrays | "1" | PHP_INI_PERDIR | PHP 5.0.0 以降で利用可能。 |
| report_memleaks | "1" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| report_zend_debug | "1" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| runkit.internal_override | "0" | PHP_INI_SYSTEM | |
| runkit.superglobal | "" | PHP_INI_PERDIR | |
| safe_mode | "0" | PHP_INI_SYSTEM | |
| safe_mode_allowed_env_vars | "PHP_" | PHP_INI_SYSTEM | |
| safe_mode_exec_dir | "" | PHP_INI_SYSTEM | |
| safe_mode_gid | "0" | PHP_INI_SYSTEM | PHP 4.1.0 以降で利用可能。 |
| safe_mode_include_dir | NULL | PHP_INI_SYSTEM | PHP 4.1.0 以降で利用可能。 |
| safe_mode_protected_env_vars | "LD_LIBRARY_PATH" | PHP_INI_SYSTEM | |
| sendmail_from | NULL | PHP_INI_ALL | |
| sendmail_path | NULL | PHP_INI_SYSTEM | |
| serialize_precision | "100" | PHP_INI_ALL | PHP 4.3.2 以降で利用可能。 |
| session.auto_start | "0" | PHP_INI_ALL | |
| session.bug_compat_42 | "1" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| session.bug_compat_warn | "1" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| session.cache_expire | "180" | PHP_INI_ALL | |
| session.cache_limiter | "nocache" | PHP_INI_ALL | |
| session.cookie_domain | "" | PHP_INI_ALL | |
| session.cookie_httponly | NULL | PHP_INI_ALL | PHP 5.2.0 以降で利用可能。 |
| session.cookie_lifetime | "0" | PHP_INI_ALL | |
| session.cookie_path | "/" | PHP_INI_ALL | |
| session.cookie_secure | "" | PHP_INI_ALL | PHP 4.0.4 以降で利用可能。 |
| session.entropy_file | "" | PHP_INI_ALL | |
| session.entropy_length | "0" | PHP_INI_ALL | |
| session.gc_divisor | "100" | PHP_INI_ALL | PHP 4.3.2 以降で利用可能。 |
| session.gc_maxlifetime | "1440" | PHP_INI_ALL | |
| session.gc_probability | "1" | PHP_INI_ALL | |
| session.hash_bits_per_character | "4" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| session.hash_function | "0" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| session.name | "PHPSESSID" | PHP_INI_ALL | |
| session.referer_check | "" | PHP_INI_ALL | |
| session.save_handler | "files" | PHP_INI_ALL | |
| session.save_path | "" | PHP_INI_ALL | |
| session.serialize_handler | "php" | PHP_INI_ALL | |
| session.use_cookies | "1" | PHP_INI_ALL | |
| session.use_only_cookies | "1" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| session.use_trans_sid | "0" | PHP_INI_ALL | PHP <= 4.2.3 では PHP_INI_ALL。PHP <= 5 では PHP_INI_PERDIR。 PHP 4.0.3 以降で利用可能。 |
| session_pgsql.create_table | "1" | PHP_INI_SYSTEM | |
| session_pgsql.db | "host=localhost dbname=php_session user=nobody" | PHP_INI_SYSTEM | |
| session_pgsql.disable | "0" | PHP_INI_SYSTEM | |
| session_pgsql.failover_mode | "0" | PHP_INI_SYSTEM | |
| session_pgsql.gc_interval | "3600" | PHP_INI_SYSTEM | |
| session_pgsql.keep_expired | "0" | PHP_INI_SYSTEM | |
| session_pgsql.sem_file_name | "/tmp/php_session_pgsql" | PHP_INI_SYSTEM | |
| session_pgsql.serializable | "0" | PHP_INI_SYSTEM | |
| session_pgsql.short_circuit | "0" | PHP_INI_SYSTEM | |
| session_pgsql.use_app_vars | "0" | PHP_INI_SYSTEM | |
| session_pgsql.vacuum_interval | "21600" | PHP_INI_SYSTEM | |
| short_open_tag | "1" | PHP_INI_PERDIR | PHP <= 4.0.0 では PHP_INI_ALL。 |
| simple_cvs.authMethod | "0" | PHP_INI_ALL | |
| simple_cvs.compressionLevel | "0" | PHP_INI_ALL | |
| simple_cvs.cvsRoot | "0" | PHP_INI_ALL | |
| simple_cvs.host | "0" | PHP_INI_ALL | |
| simple_cvs.moduleName | "0" | PHP_INI_ALL | |
| simple_cvs.userName | "0" | PHP_INI_ALL | |
| simple_cvs.workingDir | "0" | PHP_INI_ALL | |
| SMTP | "localhost" | PHP_INI_ALL | |
| smtp_port | "25" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| soap.wsdl_cache_dir | "/tmp" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| soap.wsdl_cache_enabled | "1" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| soap.wsdl_cache_ttl | "86400" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| soap.wsdl_cache_limit | "5" | PHP_INI_ALL | PHP 5.1.4 以降で利用可能。 |
| sql.safe_mode | "0" | PHP_INI_SYSTEM | |
| sqlite.assoc_case | "0" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| sybase.allow_persistent | "1" | PHP_INI_ALL | PHP <= 4.0.2 では PHP_INI_ALL、PHP <= 4.0.3 では PHP_INI_SYSTEM。 |
| sybase.compatability_mode | "0" | PHP_INI_ALL | |
| sybase.interface_file | "" | PHP_INI_ALL | |
| sybase.max_links | "-1" | PHP_INI_ALL | PHP <= 4.0.2 では PHP_INI_ALL、PHP <= 4.0.3 では PHP_INI_SYSTEM。 |
| sybase.max_persistent | "-1" | PHP_INI_ALL | PHP <= 4.0.2 では PHP_INI_ALL、PHP <= 4.0.3 では PHP_INI_SYSTEM。 |
| sybase.min_error_severity | "10" | PHP_INI_ALL | |
| sybase.min_message_severity | "10" | PHP_INI_ALL | |
| sybct.allow_persistent | "1" | PHP_INI_SYSTEM | PHP <= 4.0.2 では PHP_INI_ALL、PHP 4.0.2 以降で使用可能。 |
| sybct.deadlock_retry_count | "0" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| sybct.hostname | NULL | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| sybct.login_timeout | "-1" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| sybct.max_links | "-1" | PHP_INI_SYSTEM | PHP <= 4.0.2 では PHP_INI_ALL、PHP 4.0.2 以降で使用可能。 |
| sybct.max_persistent | "-1" | PHP_INI_SYSTEM | PHP <= 4.0.2 では PHP_INI_ALL、PHP 4.0.2 以降で使用可能。 |
| sybct.min_client_severity | "10" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| sybct.min_server_severity | "10" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| sybct.packet_size | "0" | PHP_INI_ALL | PHP 4.3.5 以降で利用可能。 |
| sybct.timeout | "0" | PHP_INI_ALL | PHP 4.0.2 以降で利用可能。 |
| sysvshm.init_mem | "10000" | PHP_INI_ALL | |
| tidy.clean_output | "0" | PHP_INI_PERDIR | PHP 5.0.0 以降で利用可能。 |
| tidy.default_config | "" | PHP_INI_SYSTEM | PHP 5.0.0 以降で利用可能。 |
| track_errors | "0" | PHP_INI_ALL | |
| unicode.fallback_encoding | NULL | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.from_error_mode | "2" | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.from_error_subst_char | "3f" | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.http_input_encoding | NULL | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.output_encoding | NULL | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.runtime_encoding | NULL | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.script_encoding | NULL | PHP_INI_ALL | PHP 6.0.0 以降で利用可能。 |
| unicode.semantics | "off" | PHP_INI_SYSTEM | PHP 6.0.0 以降で利用可能。 |
| unserialize_callback_func | NULL | PHP_INI_ALL | PHP 4.2.0 以降で利用可能。 |
| upload_max_filesize | "2M" | PHP_INI_PERDIR | PHP <= 4.2.3では、PHP_INI_ALL |
| upload_tmp_dir | NULL | PHP_INI_SYSTEM | |
| url_rewriter.tags | "a=href,area=href,frame=src,form=,fieldset=" | PHP_INI_ALL | PHP 4.0.4 以降で利用可能。 |
| user_agent | NULL | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| user_dir | NULL | PHP_INI_SYSTEM | |
| valkyrie.auto_validate | "0" | PHP_INI_ALL | |
| valkyrie.config_path | NULL | PHP_INI_ALL | |
| variables_order | "EGPCS" | PHP_INI_PERDIR | |
| xbithack | "0" | PHP_INI_ALL | PHP 4.0.5 以降で利用可能 |
| xmlrpc_errors | "0" | PHP_INI_SYSTEM | PHP 4.1.0 以降で利用可能。 |
| xmlrpc_error_number | "0" | PHP_INI_ALL | PHP 4.1.0 以降で利用可能。 |
| xmms.path | "/usr/bin/xmms" | PHP_INI_ALL | |
| xmms.session | "0" | PHP_INI_ALL | |
| y2k_compliance | "1" | PHP_INI_ALL | |
| yaz.keepalive | "120" | PHP_INI_ALL | |
| yaz.log_file | NULL | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| yaz.log_mask | NULL | PHP_INI_ALL | |
| yaz.max_links | "100" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| zend.ze1_compatibility_mode | "0" | PHP_INI_ALL | PHP 5.0.0 以降で利用可能。 |
| zlib.output_compression | "0" | PHP_INI_ALL | PHP 4.0.5 以降で利用可能 |
| zlib.output_compression_level | "-1" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
| zlib.output_handler | "" | PHP_INI_ALL | PHP 4.3.0 以降で利用可能。 |
表 I-2. PHP_INI_* 定数の定義
| 定数 | 値 | 意味 |
|---|---|---|
| PHP_INI_USER | 1 | ユーザスクリプトまたはWindowsレジストリ で設定可能なエントリ |
| PHP_INI_PERDIR | 2 | php.ini, .htaccess または httpd.confで設定可能なエントリ |
| PHP_INI_SYSTEM | 4 | php.ini または httpd.confで設定可能なエントリ |
| PHP_INI_ALL | 7 | どこでも設定可能なエントリ |