Install Zend Guard 6.0 with PHP 5.4 on Centos

From Brian Nelson Ramblings
Jump to: navigation, search

Install Zend Guard 6.0 with PHP 5.4 on Centos

I will show you in step by step method how to install Zend Optimizer extension on your CentOS 6 server running Apache as its main web server. For your information, Zend Guard Loader is a free runtime application that enables PHP to run the scripts encoded by Zend Guard. It can be freely used by anyone looking to run encoded applications.

You can get a copy for your php version by visiting the following link.

As always Let download this to our /downloads folder

cd /downloads

x86_64 bit

When having to install this on many servers, and currently Zend making you login to download that tar, I have uploaded a copy to this sever for easy installation.


Now lets extract the tar

tar xzvf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz

Now lets copy it to the modules folder

cd /usr/lib64/php/modules
cp /downloads/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64/php-5.4.x/ .

Last, create the ZendGuard.ini

vim /etc/php.d/ZendGuard.ini

Now add the following to enable it

; Enable Zend Guard extension

Save and check php for any errors

php -v

If no errors restart apache or php-fpm

Zend Guard 7.0 download for php5.5 and 5.6