How to install Zend Optimizer
What is Zend Optimizer?
The Zend Optimizer is a free application that runs the files encoded by the Zend Guard, while enhancing the performance of PHP applications.
How to install
cPanel offers an easy install process. You simply have to run:
/scripts/installzendopt
as root and fallow the install instructions. It’s as simple as clicking Next a few times.
After the install you can check to see if things are ok by running:
php -v
This should print something like:
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies
If for some reason cPanel installs an old version (it happend to me a few times) you have to edit /scripts/installzendopt (simply run “pico /scripts/installzendopt”) and edit “my %urls =” with the latest urls.
my %urls = (
‘Linux’ => ‘http://downloads.zend.com/optimizer/’ . $ver . ‘/ZendOptimizer-’ . $ver . ‘-linux-glibc21-i386.tar.gz,
‘Linux64′ => ‘http://downloads.zend.com/optimizer/’ . $ver . ‘/ZendOptimizer-’ . $ver . ‘-linux-glibc23-x86_64.tar.gz,
‘FreeBSD 6.x’ => ‘http://downloads.zend.com/optimizer/’ . $ver . ‘/ZendOptimizer-’ . $ver . ‘-freebsd6.0-i386.tar.gz,
‘FreeBSD 6.x AMD64′ => ‘http://downloads.zend.com/optimizer/3.2.0/ZendOptimizer-3.2.0-freebsd6.0-amd64.tar.gz’,
‘FreeBSD 5.x’ => ‘http://downloads.zend.com/optimizer/’ . $ver . ‘/ZendOptimizer-’ . $ver . ‘-freebsd5.4-i386.tar.gz,
‘FreeBSD 4.x’ => ‘http://downloads.zend.com/optimizer/2.6.0/ZendOptimizer-2.6.0-freebsd4.3-i386.tar.gz’
);
If you enjoyed this post, make sure you subscribe to my RSS feed!
- September 8th













Dear Sir,
I have a something wrong about installing Zend Optimizer, could you help me? My step as below:
1. I login SSH
2. /scripts/installzendopt (Enter), then printed…
The installation has completed successfully.
[To continue, press Enter]
Relocating php.ini file
Cleaning up
Skipping install to /usr/local/php4, missing php.ini
3. php -v (Enter), then printed
PHP 5.2.5 (cli) (built: Mar 22 2008 00:28:08)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
Regards!
Charles
I have the same problem
Skipping install to /usr/local/php4, missing php.ini
I dont understand this ?
Charles and Albert, you need to restart Apache.