store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Fri Jul 25, 2014 2:43 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [atomic] php-zend-guard-loader 5.5.0-1
Unread postPosted: Tue Apr 26, 2011 2:47 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7863
Location: earth
This is the initial release for ZendGuard, the replacement for Zend Optimizer on PHP 5.3.

Description:
Zend Guard is the industry leading solution for PHP IP protection.

Zend Guard provides independent software vendors and IT managers with the ability to safely distribute and manage the distribution of their PHP applications while protecting their source code.

Zend Optimizer is a free application that runs the files encoded using Zend Guard and enhances the overall performance of your PHP applications.

To install:
yum install php-zend-guard-loader


Top
 Profile  
 
 Post subject: Re: [atomic] php-zend-guard-loader 5.5.0-1
Unread postPosted: Tue Apr 26, 2011 5:31 pm 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 276
Code:
php -v
Failed loading ZendGuardLoader.so:  ZendGuardLoader.so: cannot open shared object file: No such file or directory
No entry for terminal type "unknown";
using dumb terminal settings.
PHP 5.3.6 (cli) (built: Apr 19 2011 12:28:40)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd.


Top
 Profile  
 
 Post subject: Re: [atomic] php-zend-guard-loader 5.5.0-1
Unread postPosted: Tue Apr 26, 2011 7:14 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 29, 2007 6:51 pm
Posts: 643
The new package that they put out not long ago to fix this is still broken - they moved the SO to right place, but the ini file still has it with out a full path, which in my case was needed.

Code:
# php -v
Failed loading ZendGuardLoader.so:  ZendGuardLoader.so: cannot open shared object file: No such file or directory
PHP 5.3.6 (cli) (built: Apr 19 2011 13:21:12)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with eAccelerator v0.9.6-svn358-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd.
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH



^^ that is the new package

So run this:
Code:
if [ -f /usr/lib64/php/ZendGuardLoader.so ]; then
 mv /usr/lib64/php/ZendGuardLoader.so /usr/lib64/php/modules/ZendGuardLoader.so
fi
cat << EOF > /etc/php.d/zendguard.ini
zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
; Enables loading encoded scripts. The default value is On
zend_loader.enable=1
; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
;zend_loader.license_path=
EOF


and now it works ok

Code:
# php -v
PHP 5.3.6 (cli) (built: Apr 19 2011 13:21:12)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with eAccelerator v0.9.6-svn358-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH



** note - this is for the 64 bit version, adjust your paths accordingly if your on the 32 bit version.


Top
 Profile  
 
 Post subject: Re: [atomic] php-zend-guard-loader 5.5.0-1
Unread postPosted: Wed May 04, 2011 1:54 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 29, 2007 6:51 pm
Posts: 643
btw this is still an issue:

The default installation of this module doesnt work

Code:

# yum -y install php-zend-guard-loader
Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, kernel-module, rhnplugin
Loading mirror speeds from cached hostfile
 * atomic: www2.atomicorp.com
Excluding Packages from Atomic Secured Linux 2.0
Finished
Excluding Packages from Plesk Server Administrator
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-zend-guard-loader.x86_64 0:5.5.0-2.el5.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package                                                           Arch                                               Version                                                        Repository                                          Size
==============================================================================================================================================================================================================================================
Installing:
 php-zend-guard-loader                                             x86_64                                             5.5.0-2.el5.art                                                atomic                                             423 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 423 k
Downloading Packages:
php-zend-guard-loader-5.5.0-2.el5.art.x86_64.rpm                                                                                                                                                                       | 423 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php-zend-guard-loader                                                                                                                                                                                                  1/1

Installed:
  php-zend-guard-loader.x86_64 0:5.5.0-2.el5.art

Complete!
[root@server231~]# php -v
Failed loading /usr/lib64/php/zend/ZendGuardLoader.so:  /usr/lib64/php/zend/ZendGuardLoader.so: cannot open shared object file: No such file or directory
PHP 5.3.6 (cli) (built: Apr 19 2011 13:21:12)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with eAccelerator v0.9.6-svn358-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd.
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group