这些函数的行为受 php.ini 中的设置影响。
名字 | 默认 | 可修改范围 | 更新日志 |
---|---|---|---|
mcrypt.algorithms_dir | NULL |
PHP_INI_ALL | |
mcrypt.modes_dir | NULL |
PHP_INI_ALL |
这是配置指令的简短说明。
mcrypt.algorithms_dir
string
The directory that contains the algorithms. Defaults to the directories compiled within libmcrypt, which is typically /usr/local/lib/libmcrypt. See mcrypt_list_algorithms() for additional details.
mcrypt.modes_dir
string
The directory that contains the modes. Defaults to the directories compiled within libmcrypt, which is typically /usr/local/lib/libmcrypt. See mcrypt_list_modes() for additional details.