php8.5
Home/ Manual/ reference / imap/ IMAP ConfigureOptions

IMAP ConfigureOptions

IMAP ConfigureOptionsNameDefaultChangeableChangelogimap.enable_insecure_rsh"0"INI_SYSTEMAvailable as of PHP 7.1.25, 7.2.13 and 7.3.0. Formerly, it was implicitly enabled. Constants

Runtime Runtime

NameDefaultChangeableChangelog
imap.enable_insecure_rsh"0"INI_SYSTEMAvailable as of PHP 7.1.25, 7.2.13 and 7.3.0. Formerly, it was implicitly enabled.

Constants

Title

imap.enable_insecure_rshbool

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

Warning

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 Ini option is insecure.

Source: reference/imap/ini.xml · from the official PHP manual (php/doc-en)