Difference between revisions of "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)
(Install Zend Guard 6.0 with PHP 5.4 on Centos)
Line 42: Line 42:
  
 
If no errors restart apache or php-fpm
 
If no errors restart apache or php-fpm
 +
 +
===Zend Guard 7.0 download for php5.5 and 5.6===
 +
 +
PHP5.5
 +
http://briansnelson.com/stuff/zend-loader-php5.5-linux-x86_64.tar.gz
 +
 +
PHP5.6
 +
http://briansnelson.com/stuff/zend-loader-php5.6-linux-x86_64.tar.gz

Revision as of 15:31, 22 October 2015

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.

http://www.zend.com/en/products/guard/downloads

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.

wget http://briansnelson.com/stuff/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz

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/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

Zend Guard 7.0 download for php5.5 and 5.6

PHP5.5

http://briansnelson.com/stuff/zend-loader-php5.5-linux-x86_64.tar.gz

PHP5.6

http://briansnelson.com/stuff/zend-loader-php5.6-linux-x86_64.tar.gz