运行时配置

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

Blenc 配置选项
名字 默认 可修改范围 更新日志
blenc.key_file /usr/local/etc/blenckeys PHP_INI_ALL

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

blenc.key_file string

It's the location where BLENC can find the file containing a list of available decryption keys. This file must be readable by webserver.

User Contributed Notes

jp [a.t] giot.net 18-Feb-2014 08:54
When you add the blenc extension to your php installation, you should add in your php.ini :

; Blenc for windows
extension=php_blenc.dll
blenc.key_file = "c:\path\to\blenckeys"

a blank key file directive doesn't allow the blenc extension to decrypt the files (and also to add keys when encoding a file)