Zend-Guard Loader

arazit

Verified User
Joined
Aug 20, 2008
Messages
184
Hello,
Why Zend guard loader version in directadmin is v3.3.3?
Zend Guard 6.0 Released

Zend Guard 6.0 Release Notes
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Zend is pleased to announce the release of Zend Guard 6.0!
You can download this release from:
http://www.zend.com/en/products/guard/downloads


==================
Table of Contents:
==================

1. Changes in Zend Guard
2. Known Bugs
3. Installation Instructions
4. System Requirements


=====================================================
1. Changes in Zend Guard
=====================================================
1.1 Changes in Zend Guard from version 5.5 to 6.0
=====================================================

* Full support for PHP 5.4
* Dropped Support for PHP 5.2 ( Guard 5.5 should be used )

================================
2. Known issues and Limitations
================================

General:
--------
* Encoding/obfuscation for PHP 5.4 is not compatible with PHP 5.3 and
earlier releases, and vice versa. That is, a file encoded to run on PHP 5.3
will not be loaded on PHP 5.4 and vice versa.
Workaround: Encode your application separately to run on PHP 5.3 and PHP 5.4.


Encoding:
---------
* Relative names do not work with --ignore and -?exclude-file
* Using inexact file names (different cases, / instead of \, or not full paths)
does not work with --ignore and --exclude-file (Windows only)
* "Work only with encoded files" option does not work if it is not applied for all files
* Extending stdClass gives a blank output when a file is encoded

Obfuscation:
------------
* Using mbstring.func_overload with obfuscation requires exporting functions
that are overloaded.

Class Obfuscation:
------------------
* Implementing PHP interfaces (such as Iterator) requires exporting
interface methods
* Autoloading does not work for obfuscated classes (due to different class
names)
* Obfuscating class and function names can break any code that accesses a function
by string, such as calling a variable function like $func(), or calling a PHP
internal function to access a class/function as a variable, such as
call_user_func($func), etc.
* --export-php may not automatically export some SPL iterator classes

============================
3. Installation Instructions
============================

Windows
-------
Double-click on the self-extracting archive, and follow the instructions in the
automated installation wizard.

Linux
-----
Extract the downloaded tar.gz file: tar xzvf filename.tar.gz
As soon as the extraction is done, run the extracted binary: ./ZendGuard.bin
and follow the instructions in the installation wizard.

Mac
---
Extract the downloaded .dmg file by double clicking on it.
Double click on the archive directory in order to start the
Zend guard installation wizard and follow the instructions
in the installation wizard.

* Stanalone Guard Loader - download from www.zend.com and follow readme inside the package

* Guard Loader for Zend Server 6.0.1 - can be downloaded from www.zend.com
- Windows : Run the ZendGuardLoader_for_PHP54.exe setup to add loader to your PHP54 Zend Server

- Linux : <your package manager> install php-5.4-loader-zend-server
- vim /usr/local/zend/etc/conf.d/loader.ini
- uncomment the line: zend_extension_manager.dir.loader=/usr/local/zend/lib/loader

- Mac : Download ZendGuardLoader-70429-PHP-5.4-darwin10.7-x86_64.zip , unzip and follow readme instructions
--> Known issue for all above - Zend Guard loader will not be displayed in Zend Server UI

======================
4. System Requirements
======================

- Supported operating systems:
- Linux x86
- Linux x86-64 ( only with 32 bit libraries )
- Windows x86 XP / 7 / 2008
- Mac OS X 10.8

- PHP Compatibility - Supported PHP versions are 5.3 and 5.4

Support and Feedback:
---------------------
* Support for Zend Guard 6.0 and evaluation support is provided via
the Zend forums at http://forums.zend.com

Thank you for using Zend Guard
-------------------------------
Zend Technologies, Inc.
www.zend.com

Copyright 2013 Zend Technologies, Inc. All Rights Reserved


http://files.zend.com/help/Zend-Guard/content/installing_zend_guard_loader.htm
 
Zend Guard Loader 7.0.0 is the latest version and it's available for PHP 5.5 and 5.6 in CustomBuild 2.0. Zend Guard is a different product, it's used for encoding PHP files (http://www.zend.com/en/products/guard) and it's not available in CustomBuild script at all :)
 
Zend Guard Loader failing to validate Application license

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.
 
Back
Top