![](https://www.community.vpssell.com/assets/files/2024-08-03/1722671949-373435-1.png)
Zend Guard Loader is an extension that allows you to use PHP files encoded with Zend Guard, which protects applications from unauthorized use and reverse engineering.
Tutorial for VestaCP with CentOS 6:
0. Preliminary Requirements:
- Server with VestaCP and CentOS 6 installed.
1. Download and Extract Zend Guard Loader:
- Download the Zend Guard Loader:
wget http://downloads.zend.com/guard/7.0.0/zend-loader-php5.5-linux-x86_64.tar.gz
- Extract the archive and navigate to its folder:
tar xzvf zend-loader-php5.5-linux-x86_64.tar.gz
cd zend-loader-php5.5-linux-x86_64
2. Install Zend Guard Loader:
- Copy the
ZendGuardLoader.so
file to the PHP extension directory:
cp ZendGuardLoader.so /usr/lib64/php
- Create a
.ini
file for Zend Guard Loader with 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
- Restart Apache to apply the changes:
service httpd restart
![](https://www.community.vpssell.com/assets/files/2024-08-03/1722672120-255090-2.png)