Поведение этих функций зависит от установок в php.ini.
| Name | Default | Changeable | Changelog | 
|---|---|---|---|
| mcrypt.algorithms_dir | NULL | PHP_INI_ALL | |
| mcrypt.modes_dir | NULL | PHP_INI_ALL | 
Краткое разъяснение конфигурационных директив.
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.
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.