dongshi9407 2015-11-13 13:29
浏览 86

Zend Guard Loader无法验证应用程序许可证

I have an application with files encoded by zend. If i run "php -v" i get:

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

My /etc/php.ini contains:

[Zend]
zend_loader.license_path=/path/to/license.zl
zend_loader.obfuscation_level_support=3

I did not put "zend_extension=/path/to/ZendGuardLoader.so" in php.ini because its already loaded in /etc/php.d/zendguard.ini.

I have generated several licenses (still counting) for my application and my file.inc file returns the default invalid license error. A summary of my file.inc file is as follows:

$lic_info = zend_loader_file_licensed();
If (!$lic_info){
$error=invalid license;
exit();
}

Please help guys Thanks!!.

  • 写回答

1条回答 默认 最新

  • doulun0651 2016-06-13 09:12
    关注

    My configurations were correct, problem was the php-zendloader package which i was using was corrupted. It was resolved by getting a fresh copy of the files.

    评论

报告相同问题?

悬赏问题

  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 AT89C51控制8位八段数码管显示时钟。
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题