Tuesday, July 3, 2007

Installing Zend optimizer

How to install Zend optimizer on Linux server with any control panel :

1) First off you’ll need to grab a copy of the optimizer depending on what platform you would like to install it on. you can find it at zend dot com
Linux users should grab the Linux glibc2.1

2) Once you have downloaded the file locally you’ll need to upload it to your web server. FTP to your server and upload it to a directory of your choice. It’s to bad that Zend had to make it so they couldn’t provide us with a direct download so you can’t wget the file directly from the server… a bit of a pain.

3) Uncompress/extract the file

# tar zvfx ZendOptimizer*.tar.gz

# cd ZendOptimizer-2.5.3-linux-glibc21-i386/

4) Now run the installer,

# ./install.sh

5) Now follow the instrustions on the screen.

6) Ensure that Zend Optimizer is working you can do the following in the shell.

# php -v

You should see something like this for output:

PHP 4.3.8 (cgi) (built: Sep 1 2004 17:00:35)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies

7) After the installation is complete you can remove the directory.

cd to where the extracted Zend first.

# rm –rf ZendOptimizer-2.5.3-linux-glibc21-i386


For cpanel :

If you are on a cpanel server, its even simpler -

# /scripts/installzendopt

Thats it..... the zend optimizer has been installed on your server.