GICT knowledge base
How to Install Zend Optimizer in Linux?
Published
In this documentation, we can check how to install Zend Optimizer in Linux. Zend Optimizer is a free run time application. It runs files encoded by Zend Guard and enhances the performance of PHP application. Please note that Zend Optimizer is only available for the accounts using PHP version 5.2 or below.
INSTALLATION
1) Login to the server via SSH.
2) Download the package.
You can check the server’s architecture by using the following commands.
uname –a
For 32-bit Architecture
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
For 64-bit Architecture
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
3) Check the php version of your server using the following command.
php -v
4) Untar the package.
tar- xzvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
5) Copy the module into the directory ‘/usr/lib/php/modules’.
cp ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_1_x_comp/ZendOptimizer.so /usr/lib/php/modules/
6) Edit the PHP configuration file ‘/etc/php.ini’ and add the following line.
zend_extension=/usr/lib/php/modules/ZendOptimizer.so
7) Restart Apache.
/etc/init.d/httpd restart
Testing
1) Execute the following command to get information about Zend.
php -i | grep Zend
2) Run the following command to make sure that the module is uploading.
php -m
3) You can also create a phpinfo page and check if it’s showing details of Zend Optimizer.
That is how we can install Zend Optimizer in Linux.
If you need any further help please reach our support department.
Related guides
How to Increase PHP Upload Max Filesize on Apache and Nginx
Learn how to increase PHP upload max filesize on Apache and Nginx, including configuration settings, common issues, and approaches for handling large file uploads.
PHPHow TO: Debugging 500 errors on zencart
Troubleshooting Your Zen Cart: A Quick Guide to Debugging Running an e-commerce site on InterServer’s high-performance hosting gives you a great head start, but even the...
PHPPHP Versions on cPanel: Everything You Need to Know
PHP Versions on cPanel: Everything You Need to Know If you are running a PHP site here at InterServer, you have probably seen notifications in your dashboard talking...
PHPHow to Install or Upgrade to PHP8.4 in Ubuntu
Upgrade to PHP 8.4 on Ubuntu 24.04 for real-world speed boosts, better error handling, and smoother Laravel, WordPress, and Symfony support.


