安装/配置
PHP Manual

运行时配置

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

Mcrypt configuration options
Name Default Changeable Changelog
mcrypt.algorithms_dir NULL PHP_INI_ALL  
mcrypt.modes_dir NULL PHP_INI_ALL  
有关 PHP_INI_* 样式的更多详情与定义,见 Where a configuration setting may be set

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

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.


安装/配置
PHP Manual