Zendchina official: The following describes the installation method for Zend Optimizer 3.3 in a Linux environment. This article is a Linux system based on the RHEL5 architecture.
(1) Installation of Zendoptimizer 3.3.3 version.
Zendoptimizer 3.3.3:
Http://down1.chinaunix.net/distfiles/ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
Installation:
# wget http://down1.chinaunix.net/distfiles/ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
# TAR-ZXVF Zendoptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
# CD Zendoptimizer-3.3.3-linux-glibc23-x86_64
#./install.sh
Follow the prompts to enter the location of the php.ini file (usually by default, my/usr/local/php5/lib/directory), and then enter the location of the APACHECTL to restart the server (in general, my/usr/local/apache2/bin /APACHECTL).
If the ZendOptimizer-3.3.3 installation succeeds, Phpinfo () will appear with the following information:
Makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
With Eaccelerator v0.9.5.3, Copyright (c) 2004-2006 eaccelerator, by Eaccelerator
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
Note: Zend optimizer cannot be started by modifying the/etc/sysconfig/selinux file: selinux=enforcing
selinux=disabled, restart in effect, if you do not want to restart, with the command Setenforce 0, and then done, the general SELinux does not need to open
The front is installed, and finally this step prompts Zend Optimizer not start, such as:
(2) Zendoptimizer 3.3.9 installation, higher version Zend Optimizer
Previous old version Zend Optimizer installation method is to run the installation script./install.sh, the new Zend Optimizer 3.3.9 does not have a script installed and can only be installed in the following ways.
1. Download the file source file:
x86:
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
x64:
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
2. Unzip the downloaded package (x86):
TAR-ZXVF zendoptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
3. CD zendoptimizer-3.3.9-linux-glibc23-x86_64
Note here that after entering the data folder, so file is the corresponding version, optimistic about the PHP version of the system to install.
4. Copy the zendoptimizer.so file to the/usr/local/zend/lib
CP Zendoptimizer.so/usr/local/zend/lib
5. Add the following two lines to php.ini and do not add any spaces or tabs
Zend_optimizer.optimization_level=15
Zend_extension=/usr/local/zend/lib/zendoptimizer.so
6. Restart Apache. Solve.
Linux Command 1-install optimizer