Linux Scroll

Just another WordPress.com site

Ubuntu am64 install Zend Optimizer

The Zend Optimizer enables you to run Zend Guard encoded files.

Download a copy of Zend Optimizer:
Zend Optimizer

Extract:

$ tar -zxvf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz

Create a directory to contain Zend optimizer:

$ mkdir /usr/local/lib64/zend

Move the Zend optimizer lib to:

$ sudo mv ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/ZendOptimizer.so 
/usr/local/lib64/zend/

Add to your php.ini:

$ sudo nano /etc/php5/apache2/php.ini

Add:

zend_extension = /usr/local/lib64/zend/ZendOptimizer.so
zend_optimizer.optimization_level = 15

Restart apache

$ sudo /etc/init.d/apache2 restart
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: