Install Zend Guard with PHP 5.3 on Centos
From Brian Nelson Ramblings
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.
http://www.zend.com/en/products/guard/downloads
As always Let download this to our /downloads folder
cd /downloads
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
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/ZendGuardLoader.so .
Last, create the ZendGuard.ini
vim /etc/php.d/ZendGuard.ini
Now add the following to enable it
; Enable Zend Guard extension zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so zend_loader.enable=1
Save and check php for any errors
php -v
If no errors restart apache or php-fpm