How to install Zend Optimizer

How to install Zend Optimizer

In order to view encoded zend files on your server you need the Zend Optimizer.
http://www.zend.com/

Installing Zend Optimizer:
Download the program and store it on your server.
http://www.zend.com/en/downloads/ # Be sure to select the "Linux x86" option when downloading

cd /home/
mkdir extra
cd extra/

# upload the tar.gz file into your server and unpack the program

tar xvfz ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz

cd ZendOptimizer-3.0.1-linux-glibc21-i386/

# Locate ZendOptimizer.so (Unix) or ZendOptimizer.dll (Windows) file in the directory which corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x).

# edit php.ini

pico /etc/php5/apache2/php.ini

# and add on end php file
zend_extension = /home/extra/full_path_to_ZendOptimizer.so

# restart apache
/etc/init.d/apache2 restart
 

Bespaar continu