Zend Guard Loader failing to validate Application license

kundai tinarwo

New member
Joined
Nov 16, 2015
Messages
2
Hi Guys

I have an application with files encoded by ZendGuard-5_5_0. 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 from ZendGuard-5_5_0, and my file.inc file is returning 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();
}

I installed zend guard loader usingcd php-zend-guard-loader-5.5.0-3.el6.art.x86_64.rpm.

My main problem is zendloader seems not to be reading my generated license files for my app.
 
Top