我有一个应用程序,其中包含由 zend 编码的文件。如果我运行“php -v”,我会得到:
PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
我的 /etc/php.ini 包含:
[Zend]
zend_loader.license_path=/path/to/license.zl
zend_loader.obfuscation_level_support=3
我没有将“zend_extension=/path/to/ZendGuardLoader.so”放在 php.ini 中,因为它已经加载到 /etc/php.d/zendguard.ini 中。
我为我的应用程序生成了多个许可证(仍在计数),并且我的 file.inc 文件返回默认的无效许可证错误。我的 file.inc 文件的摘要如下:
$lic_info = zend_loader_file_licensed();
If (!$lic_info){
$error=invalid license;
exit();
}
请大家帮忙谢谢!!