phpday 2025 - Call For Papers

运行时配置

这些函数的行为受 php.ini 中的设置影响。

IMAP 配置选项
名字 默认 可修改范围 更新日志
imap.enable_insecure_rsh "0" INI_SYSTEM Available as of PHP 7.1.25, 7.2.13 and 7.3.0. Formerly, it was implicitly enabled.
有关 INI_* 样式的更多详情与定义,见 配置可被设定范围

这是配置指令的简短说明。

imap.enable_insecure_rsh bool

Establishing a connection to a server may invoke rsh or ssh commands, unless this php.ini option is disabled.

警告

Neither PHP nor the IMAP library filter mailbox names before passing them to rsh or ssh commands, thus passing untrusted data to this function without disabling this php.ini option is insecure.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top