【问题标题】:Zend Guard Loader failing to validate Application licenseZend Guard Loader 无法验证应用程序许可证
【发布时间】:2016-02-15 02:23:17
【问题描述】:

我有一个包含由 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();
}

请大家帮忙 谢谢!!。

【问题讨论】:

    标签: php encoding decode centos6 zend-guard


    【解决方案1】:

    我的配置是正确的,问题是我使用的 php-zendloader 包已损坏。通过获取文件的新副本解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2023-04-01
      • 1970-01-01
      • 2015-08-29
      • 1970-01-01
      • 2012-10-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多