Blenc/setup-Phpdoc专题
安装/配置
目录
需求
安装
此 » PECL 扩展未与 PHP 捆绑。
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/blenc
It's strongly recommended to install BLENC from sources without 'pecl' command. In this way you can:
- Specify your personal encryption key used to create redistributable keys. Your sourcecode will be more difficult to decrypt also for users that can read your key_file on webserver.
- Specify a expiration date for the BLENC module. With expiration date you can decide that BLENC module on target system will work until a date. After that BLENC will not decrypt any files.
All these configuration options are stored into header file: blenc_protect.h
Please read the content of blenc_protect.h in sources of BLENC to know how set these hardcoded options.
运行时配置
这些函数的行为受 php.ini 中的设置影响。
| 名字 | 默认 | 可修改范围 | 更新日志 |
|---|---|---|---|
| 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.