Install Zend Guard with PHP 5.3 on Centos

From Brian Nelson Ramblings
Jump to: navigation, search

Install Zend Guard with PHP 5.3 on Centos

I will show you in step by step method how to install Zend Optimizer extension on your CentOS 6.x 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

Now lets extract the tar

tar xzvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

Now lets copy it to the modules folder

cd /usr/lib64/php/modules
cp /downloads/ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.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