[仅限PaaS]{class="badge informative" title="仅适用于云项目(Adobe管理的PaaS基础架构)和内部部署项目上的Adobe Commerce 。"}
常规和高级配置路径参考
本主题列出了常规和高级配置路径以及 非 敏感值和系统特定值。 magento app:config:dump命令将这些值写入到共享配置文件app/etc/config.php中,该文件应位于源代码控制中。
若要选择性地覆盖任何配置设置或设置敏感设置,请参阅使用环境变量覆盖配置设置。
常规类别
此部分列出了 存储 >设置> 配置 > 常规 下的管理员中选项可用的变量名称和配置路径。
常规路径
这些配置值在 存储 >设置> 配置 >常规> 常规 中的管理员中可用。
名称
配置路径
仅限Commerce?
敏感?
默认国家/地区
general/country/default
允许国家/地区
general/country/allow
对于,邮政编码是可选的
general/country/optional_zip_countries
欧洲联盟国家
general/country/eu_countries
热门目标
general/country/destinations状态为必填
general/region/state_required允许选择国家/地区可选的州
general/region/display_all时区
general/locale/timezone区域设置
general/locale/code重量单位
general/locale/weight_unit每周第一天
general/locale/firstday周末
general/locale/weekend访问限制
general/restriction/is_active
限制模式
general/restriction/mode
启动页面
general/restriction/http_redirect
登陆页面
general/restriction/cms_page
HTTP响应
general/restriction/http_status
存储名称
general/store_information/name商店电话号码
general/store_information/phone商店营业时间
general/store_information/hours国家/地区
general/store_information/country_id地区/州
general/store_information/region_id邮政编码
general/store_information/postcode城市
general/store_information/city街道地址
general/store_information/street_line1街道地址行2
general/store_information/street_line2增值税号
general/store_information/merchant_vat_number启用单存储模式
general/single_store_mode/enabledWeb路径
这些配置值在 存储 >设置> 配置 > 常规 > Web 的管理员中可用。
名称
配置路径
仅限Commerce?
将存储代码添加到Url
web/url/use_store自动重定向到基本URL
web/url/redirect_to_base使用Web服务器重写
web/seo/use_rewrites在店面上使用安全URL
web/secure/use_in_frontend在管理员中使用安全URL
web/secure/use_in_adminhtml启用HTTP严格传输安全(HSTS)
web/secure/enable_hsts升级不安全的请求
web/secure/enable_upgrade_insecure卸载程序标头
web/secure/offloader_headerCMS主页
web/default/cms_home_page“CMS无路由”页
web/default/cms_no_route“CMS无Cookie”页
web/default/cms_no_cookies显示CMS页面的痕迹导航
web/default/show_cms_breadcrumbsCookie生命周期
web/cookie/cookie_lifetime仅使用HTTP
web/cookie/cookie_httponlyCookie限制模式
web/cookie/cookie_restriction验证REMOTE_ADDR
web/session/use_remote_addr验证HTTP_VIA
web/session/use_http_via验证HTTP_X_FORWARDED_FOR
web/session/use_http_x_forwarded_for验证HTTP_USER_AGENT
web/session/use_http_user_agent在店面中使用SID
web/session/use_frontend_sid如果禁用了Cookie,则重定向到CMS-page
web/browser_capabilities/cookies如果JavaScript被禁用,则显示通知
web/browser_capabilities/javascript如果本地存储已禁用,则显示通知
web/browser_capabilities/local_storage货币设置路径
这些配置值在 存储 >设置> 配置 > 常规 > 货币设置 的管理员中可用。
名称
配置路径
仅限Commerce?
基础货币
currency/options/base默认显示货币
currency/options/default允许的货币
currency/options/allowYahoo金融交易
TBDFixer.io
TBDWebservicex
TBD连接超时(以秒为单位)
currency/yahoofinance/timeout连接超时(以秒为单位)
currency/fixerio/timeout连接超时(以秒为单位)
currency/webservicex/timeout已启用
currency/import/enabled服务
currency/import/service开始时间
currency/import/time频率
currency/import/frequency错误电子邮件收件人
currency/import/error_email错误电子邮件发件人
currency/import/error_email_identity错误电子邮件模板
currency/import/error_email_template联系人路径
这些配置值在 存储 >设置> 配置 > 常规 > 联系人 中的管理员中可用。
名称
配置路径
仅限Commerce?
启用联系我们
contact/contact/enabled发送电子邮件至
contact/email/recipient_email电子邮件发件人
contact/email/sender_email_identity电子邮件模板
contact/email/email_template报告路径
这些配置值在 存储 >设置> 配置 > 常规 > 报告 的管理员中可用。
名称
配置路径
仅限Commerce?
年初至今开始
reports/dashboard/ytd_start当前月份开始
reports/dashboard/mtd_start内容管理路径
这些配置值在 存储 >设置> 配置 > 常规 > 内容管理 中的管理员中可用。
名称
配置路径
仅限Commerce?
启用WYSIWYG编辑器
cms/wysiwyg/enabled在WYSIWYG中为目录中的媒体内容使用静态URL
cms/wysiwyg/use_static_urls_in_catalog启用层次结构功能
cms/hierarchy/enabled启用层次结构元数据
cms/hierarchy/metadata_enabled层次结构菜单的默认布局
cms/hierarchy/menu_layoutNew Relic报表路径
这些配置值在 存储 >设置> 配置 > 常规 > New Relic报表 的管理员中可用。
名称
配置路径
仅限Commerce?
启用New Relic集成
newrelicreporting/general/enableNew Relic应用程序名称
newrelicreporting/general/app_name启用Cron
newrelicreporting/cron/enable_cron高级类别
此部分列出了 商店 >设置> 配置 > 高级 下的管理员中选项可用的变量名称和配置路径。
管理员路径
这些配置值在 存储 >设置> 配置 > 高级 > 管理员 中的管理员中可用。
名称
配置路径
仅限Commerce?
忘记密码电子邮件模板
admin/emails/forgot_email_template忘记并重置电子邮件发件人
admin/emails/forgot_email_identity用户通知模板
admin/emails/user_notification_template启动页面
admin/startup/menu_item_id使用自定义管理员URL
admin/url/use_custom使用自定义管理路径
admin/url/use_custom_path管理员帐户共享
admin/security/admin_account_sharing密码重置保护类型
admin/security/password_reset_protection_type恢复链接过期时间(小时)
admin/security/password_reset_link_expiration_period密码重置请求的最大数量
admin/security/max_number_password_reset_requests密码重置请求间隔的最小时间
admin/security/min_time_between_password_reset_requests向URL添加密钥
admin/security/use_form_key登录区分大小写
admin/security/use_case_sensitive_login管理员会话生命周期(秒)
admin/security/session_lifetime锁定帐户的最大登录失败次数
admin/security/lockout_failures锁定时间(分钟)
admin/security/lockout_threshold密码生命周期(天)
admin/security/password_lifetime密码更改
admin/security/password_is_forced启用图表
admin/dashboard/enable_charts在管理员中启用验证码
admin/captcha/enable字体
admin/captcha/fontForms
admin/captcha/forms显示模式
admin/captcha/mode失败的登录尝试次数
admin/captcha/failed_attempts_login验证码超时(分钟)
admin/captcha/timeout符号数
admin/captcha/length验证码中使用的符号
admin/captcha/symbols区分大小写
admin/captcha/case_sensitive启用的操作
admin/magento_logging/actions系统路径
这些配置值在 存储 >设置> 配置 > 高级 > 系统 的管理员中可用。
名称
配置路径
仅限Commerce?
成功的消息生命周期
system/mysqlmq/successful_messages_lifetime重试以下时间后正在处理的消息
system/mysqlmq/retry_inprogress_after失败消息生命周期
system/mysqlmq/failed_messages_lifetime新消息生命周期
system/mysqlmq/new_messages_lifetime生成计划间隔
system/cron/index/schedule_generate_every提前计划
system/cron/index/schedule_ahead_for如果未在中运行,则未运行
system/cron/index/schedule_lifetime历史记录清理间隔
system/cron/index/history_cleanup_every成功历史记录生命周期
system/cron/index/history_success_lifetime失败历史记录生命周期
system/cron/index/history_failure_lifetime使用单独的进程
system/cron/index/use_separate_process生成计划间隔
system/cron/default/schedule_generate_every提前计划
system/cron/default/schedule_ahead_for如果未在中运行,则未运行
system/cron/default/schedule_lifetime历史记录清理间隔
system/cron/default/history_cleanup_every成功历史记录生命周期
system/cron/default/history_success_lifetime失败历史记录生命周期
system/cron/default/history_failure_lifetime生成计划间隔
system/cron/staging/schedule_generate_every
提前计划
system/cron/staging/schedule_ahead_for
如果未在中运行,则未运行
system/cron/staging/schedule_lifetime
历史记录清理间隔
system/cron/staging/history_cleanup_every
成功历史记录生命周期
system/cron/staging/history_success_lifetime
失败历史记录生命周期
system/cron/staging/history_failure_lifetime
使用单独的进程
system/cron/staging/use_separate_process
生成计划间隔
system/cron/catalog/event/schedule_generate_every
提前计划
system/cron/catalog/event/schedule_ahead_for
如果未在中运行,则未运行
system/cron/catalog/event/schedule_lifetime
历史记录清理间隔
system/cron/catalog/event/history_cleanup_every
成功历史记录生命周期
system/cron/catalog/event/history_success_lifetime
失败历史记录生命周期
system/cron/catalog/event/history_failure_lifetime
使用单独的进程
system/cron/catalog/event/use_separate_process
使用单独的进程
system/cron/default/use_separate_process禁用电子邮件通信
system/smtp/disable设置返回路径
system/smtp/set_return_path返回路径电子邮件
system/smtp/return_path_email安装的货币
system/currency/installed使用HTTPS获取信息源
system/adminnotification/use_https更新频率
system/adminnotification/frequency上次更新
system/adminnotification/last_update启用计划备份
system/backup/enabled备份类型
system/backup/type开始时间
system/backup/time频率
system/backup/frequency维护模式
system/backup/maintenance日志条目生命周期,天
system/rotation/lifetime日志存档频率
system/rotation/frequency缓存应用程序
system/full_page_cache/caching_application公共内容的TTL
system/full_page_cache/ttl宽限期
system/full_page_cache/varnish/grace_period导出配置
system/full_page_cache/varnish/export_button_version4日志中保存的天数
system/bulk/lifetime媒体存储
system/media_storage_configuration/media_storage选择媒体数据库
system/media_storage_configuration/media_database (在Commerce 2.4.3中已弃用)环境更新时间
system/media_storage_configuration/configuration_update_time保存文件,天
system/magento_scheduled_import_export_log/save_days启用计划文件历史记录清理
system/magento_scheduled_import_export_log/enabled开始时间
system/magento_scheduled_import_export_log/time频率
system/magento_scheduled_import_export_log/frequency错误电子邮件模板
system/magento_scheduled_import_export_log/error_email_template开发人员路径
这些配置值在 商店 >设置> 配置 > 高级 > 开发人员 的管理员中可用。
名称
配置路径
仅限Commerce?
工作流类型
dev/front_end_development_workflow/type允许符号链接
dev/template/allow_symlink缩小Html
dev/template/minify_html为店面启用模板路径提示
dev/debug/template_hints_storefront为管理员启用模板路径提示
dev/debug/template_hints_admin将块名称添加到提示
dev/debug/template_hints_blocks记录到文件
dev/debug/debug_logging记录到syslog
dev/syslog/syslog_logging已为店面启用
dev/translate_inline/active为管理员启用
dev/translate_inline/active_admin合并JavaScript文件
dev/js/merge_files启用JavaScript捆绑
dev/js/enable_js_bundling缩小JavaScript文件
dev/js/minify_files翻译策略
dev/js/translate_strategy将JS错误记录到会话存储
dev/js/session_storage_logging合并CSS文件
dev/css/merge_css_files缩小CSS文件
dev/css/minify_files图像适配器
dev/image/default_adapter签署静态文件
dev/static/sign异步索引
dev/grid/async_indexing缓存用户定义的属性
dev/caching/cache_user_defined_attributesrecommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c