ini_set ini_get 可操作配置参数列表

来源:互联网 发布:dede织梦cms模板 编辑:程序博客网 时间:2024/05/17 03:19
参数列表如下
NameDefaultChangeablecom.allow_dcom"0"PHP_INI_SYSTEMcom.autoregister_typelib"0"PHP_INI_SYSTEMcom.autoregister_verbose"0"PHP_INI_SYSTEMcom.autoregister_casesensitive"1"PHP_INI_SYSTEMcom.typelib_file""PHP_INI_SYSTEMcrack.default_dictionaryNULLPHP_INI_SYSTEMexif.encode_unicode"ISO-8859-15"PHP_INI_ALLexif.decode_unicode_motorola"UCS-2BE"PHP_INI_ALLexif.decode_unicode_intel"UCS-2LE"PHP_INI_ALLexif.encode_jis""PHP_INI_ALLexif.decode_jis_motorola"JIS"PHP_INI_ALLexif.decode_jis_intel"JIS"PHP_INI_ALLfbsql.allow_persistent"1"PHP_INI_SYSTEMfbsql.generate_warnings"0"PHP_INI_SYSTEMfbsql.autocommit"1"PHP_INI_SYSTEMfbsql.max_persistent"-1"PHP_INI_SYSTEMfbsql.max_links"128"PHP_INI_SYSTEMfbsql.max_connections"128"PHP_INI_SYSTEMfbsql.max_results"128"PHP_INI_SYSTEMfbsql.batchSize"1000"PHP_INI_SYSTEMfbsql.default_hostNULLPHP_INI_SYSTEMfbsql.default_user"_SYSTEM"PHP_INI_SYSTEMfbsql.default_password""PHP_INI_SYSTEMfbsql.default_database""PHP_INI_SYSTEMfbsql.default_database_password""PHP_INI_SYSTEMhwapi.allow_persistent"0"PHP_INI_SYSTEMhyperwave.allow_persistent"0"PHP_INI_SYSTEMhyperwave.default_port"418"PHP_INI_ALLiconv.input_encodingICONV_INPUT_ENCODINGPHP_INI_ALLiconv.output_encodingICONV_OUTPUT_ENCODINGPHP_INI_ALLiconv.internal_encodingICONV_INTERNAL_ENCODINGPHP_INI_ALLifx.allow_persistent"1"PHP_INI_SYSTEMifx.max_persistent"-1"PHP_INI_SYSTEMifx.max_links"-1"PHP_INI_SYSTEMifx.default_hostNULLPHP_INI_SYSTEMifx.default_userNULLPHP_INI_SYSTEMifx.default_passwordNULLPHP_INI_SYSTEMifx.blobinfile"1"PHP_INI_ALLifx.textasvarchar"0"PHP_INI_ALLifx.byteasvarchar"0"PHP_INI_ALLifx.charasvarchar"0"PHP_INI_ALLifx.nullformat"0"PHP_INI_ALLingres.allow_persistent"1"PHP_INI_SYSTEMingres.max_persistent"-1"PHP_INI_SYSTEMingres.max_links"-1"PHP_INI_SYSTEMingres.default_databaseNULLPHP_INI_ALLingres.default_userNULLPHP_INI_ALLingres.default_passwordNULLPHP_INI_ALLibase.allow_persistent"1"PHP_INI_SYSTEMibase.max_persistent"-1"PHP_INI_SYSTEMibase.max_links"-1"PHP_INI_SYSTEMibase.default_userNULLPHP_INI_ALLibase.default_passwordNULLPHP_INI_ALLibase.timestampformat"%m/%d/%Y%H:%M:%S"PHP_INI_ALLibase.dateformat"%m/%d/%Y"PHP_INI_ALLibase.timeformat"%H:%M:%S"PHP_INI_ALLjava.class.pathNULLPHP_INI_ALLjava.homeNULLPHP_INI_ALLjava.library.pathNULLPHP_INI_ALLjava.libraryJAVALIBPHP_INI_ALLjava.libraryNULLPHP_INI_ALLldap.max_links"-1"PHP_INI_SYSTEMmbstring.detect_orderNULLPHP_INI_ALLmbstring.http_inputNULLPHP_INI_ALLmbstring.http_outputNULLPHP_INI_ALLmbstring.internal_encodingNULLPHP_INI_ALLmbstring.substitute_characterNULLPHP_INI_ALLmbstring.func_overload"0"PHP_INI_SYSTEMmcrypt.algorithms_dirNULLPHP_INI_ALLmcrypt.modes_dirNULLPHP_INI_ALLmime_magic.magicfile"/usr/share/misc/magic.mime"PHP_INI_SYSTEMmssql.allow_persistent"1"PHP_INI_SYSTEMmssql.max_persistent"-1"PHP_INI_SYSTEMmssql.max_links"-1"PHP_INI_SYSTEMmssql.max_procs"25"PHP_INI_ALLmssql.min_error_severity"10"PHP_INI_ALLmssql.min_message_severity"10"PHP_INI_ALLmssql.compatability_mode"0"PHP_INI_ALLmssql.connect_timeout"5"PHP_INI_ALLmssql.timeout"60"PHP_INI_ALLmssql.textsize"-1"PHP_INI_ALLmssql.textlimit"-1"PHP_INI_ALLmssql.batchsize"0"PHP_INI_ALLmssql.datetimeconvert"1"PHP_INI_ALLmssql.secure_connection"0"PHP_INI_SYSTEMmysql.allow_persistent"1"PHP_INI_SYSTEMmysql.max_persistent"-1"PHP_INI_SYSTEMmysql.max_links"-1"PHP_INI_SYSTEMmysql.default_hostNULLPHP_INI_ALLmysql.default_userNULLPHP_INI_ALLmysql.default_passwordNULLPHP_INI_ALLmysql.default_portNULLPHP_INI_ALLmysql.default_socketNULLPHP_INI_ALLncurses.value"42"PHP_INI_ALLncurses.string"foobar"PHP_INI_ALLodbc.allow_persistent"1"PHP_INI_SYSTEModbc.max_persistent"-1"PHP_INI_SYSTEModbc.max_links"-1"PHP_INI_SYSTEModbc.default_dbNULLPHP_INI_ALLodbc.default_userNULLPHP_INI_ALLodbc.default_pwNULLPHP_INI_ALLodbc.defaultlrl"4096"PHP_INI_ALLodbc.defaultbinmode"1"PHP_INI_ALLodbc.check_persistent"1"PHP_INI_SYSTEMpfpro.defaulthost"test.signio.com" pfpro.defaulthost"test-payflow.verisign.com" pfpro.defaultport"443"PHP_INI_ALLpfpro.defaulttimeout"30"PHP_INI_ALLpfpro.proxyaddress""PHP_INI_ALLpfpro.proxyport""PHP_INI_ALLpfpro.proxylogon""PHP_INI_ALLpfpro.proxypassword""PHP_INI_ALLpgsql.allow_persistent"1"PHP_INI_SYSTEMpgsql.max_persistent"-1"PHP_INI_SYSTEMpgsql.max_links"-1"PHP_INI_SYSTEMpgsql.auto_reset_persistent"0"PHP_INI_SYSTEMpgsql.ignore_notice"0"PHP_INI_ALLpgsql.log_notice"0"PHP_INI_ALLsession.save_path"/tmp"PHP_INI_ALLsession.name"PHPSESSID"PHP_INI_ALLsession.save_handler"files"PHP_INI_ALLsession.auto_start"0"PHP_INI_ALLsession.gc_probability"1"PHP_INI_ALLsession.gc_divisor"100"PHP_INI_ALLsession.gc_maxlifetime"1440"PHP_INI_ALLsession.serialize_handler"php"PHP_INI_ALLsession.cookie_lifetime"0"PHP_INI_ALLsession.cookie_path"/"PHP_INI_ALLsession.cookie_domain""PHP_INI_ALLsession.cookie_secure""PHP_INI_ALLsession.use_cookies"1"PHP_INI_ALLsession.use_only_cookies"0"PHP_INI_ALLsession.referer_check""PHP_INI_ALLsession.entropy_file""PHP_INI_ALLsession.entropy_length"0"PHP_INI_ALLsession.cache_limiter"nocache"PHP_INI_ALLsession.cache_expire"180"PHP_INI_ALLsession.use_trans_sid"0"PHP_INI_SYSTEM
PHP_INI_PERDIRsession.encode_sources"globals,track"PHP_INI_ALLassert.active"1"PHP_INI_ALLassert.bail"0"PHP_INI_ALLassert.warning"1"PHP_INI_ALLassert.callbackNULLPHP_INI_ALLassert.quiet_eval"0"PHP_INI_ALLsafe_mode_protected_env_varsSAFE_MODE_PROTECTED_ENV_VARSPHP_INI_SYSTEMsafe_mode_allowed_env_varsSAFE_MODE_ALLOWED_ENV_VARSPHP_INI_SYSTEMurl_rewriter.tags"a=href,area=href,
frame=src,
form=fakeentry"PHP_INI_ALLsybct.allow_persistent"1"PHP_INI_SYSTEMsybct.max_persistent"-1"PHP_INI_SYSTEMsybct.max_links"-1"PHP_INI_SYSTEMsybct.min_server_severity"10"PHP_INI_ALLsybct.min_client_severity"10"PHP_INI_ALLsybct.hostnameNULLPHP_INI_ALLvpopmail.directory""PHP_INI_ALLzlib.output_compression"0"PHP_INI_SYSTEM
PHP_INI_PERDIRzlib.output_compression_level"-1"PHP_INI_ALLdefine_syslog_variables"0"PHP_INI_ALLhighlight.bgHL_BG_COLORPHP_INI_ALLhighlight.commentHL_COMMENT_COLORPHP_INI_ALLhighlight.defaultHL_DEFAULT_COLORPHP_INI_ALLhighlight.htmlHL_HTML_COLORPHP_INI_ALLhighlight.keywordHL_KEYWORD_COLORPHP_INI_ALLhighlight.stringHL_StrING_COLORPHP_INI_ALLallow_call_time_pass_reference"1"PHP_INI_SYSTEM
PHP_INI_PERDIRasp_tags"0"PHP_INI_SYSTEM
PHP_INI_PERDIRdisplay_errors"1"PHP_INI_ALLdisplay_startup_errors"0"PHP_INI_ALLenable_dl"1"PHP_INI_SYSTEMexpose_php"1"PHP_INI_SYSTEMhtml_errors"1"PHP_INI_ALLxmlrpc_errors"0"PHP_INI_SYSTEMxmlrpc_error_number"0"PHP_INI_ALLignore_user_abort"0"PHP_INI_ALLimplicit_flush"0"PHP_INI_ALLlog_errors"0"PHP_INI_ALLlog_errors_max_len"1024"PHP_INI_ALLignore_repeated_errors"0"PHP_INI_ALLignore_repeated_source"0"PHP_INI_ALLmagic_quotes_gpc"1"PHP_INI_PERDIR
PHP_INI_SYSTEMmagic_quotes_runtime"0"PHP_INI_ALLmagic_quotes_sybase"0"PHP_INI_ALLoutput_buffering"0"PHP_INI_PERDIR
PHP_INI_SYSTEMoutput_handlerNULLPHP_INI_PERDIR
PHP_INI_SYSTEMregister_argc_argv"1"PHP_INI_PERDIR
PHP_INI_SYSTEMregister_globals"0"PHP_INI_PERDIR
PHP_INI_SYSTEMsafe_mode"1"PHP_INI_SYSTEMsafe_mode"0"PHP_INI_SYSTEMsafe_mode_include_dirNULLPHP_INI_SYSTEMsafe_mode_gid"0"PHP_INI_SYSTEMshort_open_tagDEFAULT_SHORT_OPEN_TAGPHP_INI_SYSTEM
PHP_INI_PERDIRsql.safe_mode"0"PHP_INI_SYSTEMtrack_errors"0"PHP_INI_ALLy2k_compliance"0"PHP_INI_ALLunserialize_callback_funcNULLPHP_INI_ALLarg_separator.output"&"PHP_INI_ALLarg_separator.input"&"PHP_INI_SYSTEM
PHP_INI_PERDIRauto_append_fileNULLPHP_INI_SYSTEM
PHP_INI_PERDIRauto_prepend_fileNULLPHP_INI_SYSTEM
PHP_INI_PERDIRdoc_rootNULLPHP_INI_SYSTEMdefault_charsetSAPI_DEFAULT_CHARSETPHP_INI_ALLdefault_mimetypeSAPI_DEFAULT_MIMETYPEPHP_INI_ALLerror_logNULLPHP_INI_ALLextension_dirPHP_EXTENSION_DIRPHP_INI_SYSTEMgpc_order"GPC"PHP_INI_ALLinclude_pathPHP_INCLUDE_PAthPHP_INI_ALLmax_execution_time"30"PHP_INI_ALLopen_basedirNULLPHP_INI_SYSTEMsafe_mode_exec_dir"1"PHP_INI_SYSTEMupload_max_filesize"2M"PHP_INI_SYSTEM
PHP_INI_PERDIRfile_uploads"1"PHP_INI_SYSTEMpost_max_size"8M"PHP_INI_SYSTEM
PHP_INI_PERDIRupload_tmp_dirNULLPHP_INI_SYSTEMuser_dirNULLPHP_INI_SYSTEMvariables_orderNULLPHP_INI_ALLerror_append_stringNULLPHP_INI_ALLerror_prepend_stringNULLPHP_INI_ALLSMTP"localhost"PHP_INI_ALLsmtp_port25PHP_INI_ALLbrowscapNULLPHP_INI_SYSTEMerror_reportingNULLPHP_INI_ALLmemory_limit"8M"PHP_INI_ALLprecision"14"PHP_INI_ALLsendmail_fromNULLPHP_INI_ALLsendmail_pathDEFAULT_SENDMAIL_PAthPHP_INI_SYSTEMdisable_classes""php.ini onlydisable_functions""php.ini onlyallow_url_fopen"1"PHP_INI_ALLalways_populate_raw_post_data"0"PHP_INI_SYSTEM
PHP_INI_PERDIRxbithack"0"PHP_INI_ALLengine"1"PHP_INI_ALLlast_modified"0"PHP_INI_ALLchild_terminate"0"PHP_INI_ALLasync_send"0"PHP_INI_ALL

 

可操作范围见下表:

操作范围
ConstantValueMeaningPHP_INI_USER1Entry can be set in user scriptsPHP_INI_PERDIR2Entry can be set in php.ini, .htaccess or httpd.confPHP_INI_SYSTEM4Entry can be set in php.ini or httpd.confPHP_INI_ALL7Entry can be set anywhere

 

常量值含义PHP_INI_USER1该项目可以在用户脚本中设定PHP_INI_PERDIR2该项目可以在php.ini .htaccess或者 httpd.conf 中设定PHP_INI_SYSTEM4该项目可以在php.ini httpd.conf中设定PHP_INI_ALL7该项目可以在任何地方设定
原创粉丝点击