In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
Installing Zend Guard Loader (Zend Optimizer) on wheezy
Ástþór IPZend Guard Loader is a free runtime application that enables PHP to run the scripts encoded by Zend Guard.
1. Download a copy of Zend Guard Loader from the location below and upload to your server. By default PHP 5.4 is installed on wheezy so select the package Zend Guard Loader (Runtime for PHP 5.4).
http://www.zend.com/products/guard/downloads
2. Enter the directory where Zend Guard Loader is located and extract
tar zxvf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz
Replace with the name of the file downloaded from zend.com
3. Create a directory where Zend Guard loader will be located
mkdir /usr/local/lib/Zend
3. Move the Zend optimizer lib to a permanent location
mv ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64/php-5.4.x/ZendGuardLoader.so /usr/local/lib/Zend/
The ZendGuardLoader.so may be located in a different location based on the package downloaded from zend.com.
4. Add these two lines to the bottom of your php.ini to enable Zend Guard Loader (pico /etc/php5/apache2/php.ini)
zend_extension = /usr/local/lib/Zend/ZendGuardLoader.so
zend_loader.enable=1
5. Restart apache
/etc/init.d/apache2 restart