frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

[VestaCP] Installation of Zend Guard loader

ValentineValentine Administrator

Zend Guard Loader is an extension that makes it possible to use PHP files encoded with Zend Guard, a widely accepted PHP encoding and obfuscation product on the market that protects applications from unlicensed use and reverse engineering.

The tutorial was prepared with our "VestaCP with CentOS 6" template and is meant to work on our self-managed virtual private servers.

0. Preliminary requirements:
"VestaCP with CentOS 6" template installed on server.

1. Downloading Zend loader and extracting it
Before any installation we must download Zend Guard loader:

wget http://downloads.zend.com/guard/7.0.0/zend-loader-php5.5-linux-x86_64.tar.gz

After successful download extract archive and enter it's folder:

tar xzvf zend-loader-php5.5-linux-x86_64.tar.gz

cd zend-loader-php5.5-linux-x86_64

2. Installing Zend loader
Copy the "ZendGuardLoader.so" file to following location:

cp ZendGuardLoader.so /usr/lib64/php

Now you must create additional .ini file and paste the following content:

nano /etc/php.d/zenguard.ini
; priority=30
; Enable Zend Guard extension
zend_extension=/usr/lib64/php/ZendGuardLoader.so
zend_loader.enable=1
Just restart Apache and that's it:

service httpd restart

Tagged:
Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch