How CentOS installs Zend Optimizer

Source: Internet
Author: User

If your CentOS system needs to install Zend Optimizer, please use the root account to complete the installation (32-bit, 64-bit Linux systems are supported!) ):

wget http://www.CTOHome.com/linux-vps-pack/zend.sh;sh./zend.sh;

In general, you do not need to edit the php.ini file to work properly.

If you are a 64-bit contos/linux system , pay attention to installing the 64-bit Zend Optimizer:

Http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz (64-bit)

Zend Optimizer 3.3.9 There are some new changes, do not need to install, directly in the php.ini file to refer to the. so file:

Http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz (32-bit)

Http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x386.tar.gz (64-bit)

Zend Optimizer 3.3.9 instructions for use:

1. Extract the Zend Optimizer package.
2. Locate the zendoptimizer.so (Unix) or ZendOptimizer.dll (Windows) file in the directory which
Corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x).
3. Add the following line to your php.ini file:
Linux and Mac OS x:zend_extension=<full_path_to_zendoptimizer.so>
Windows:zend_extension_ts=<full_path_to_zendoptimizer.dll>
Windows Non-thread safe:zend_extension=<full_path_to_zendoptimizer.dll>
(*) The Windows non-thread safe binary is a used with Zend Core 2.0.
4. Restart your WEB server.

If you need to modify some parameters, refer to the following information:

Edit/etc/php.ini

Vi/etc/php.ini

Found: Zend.ze1_compatibility_mode = Off

Modified to: Zend.ze1_compatibility_mode = On

Save Exit!

Edit/etc/ispcp/fcgi/parts/php5/php.ini

Found: Zend.ze1_compatibility_mode = Off

Modified to: Zend.ze1_compatibility_mode = On

Add the following at the last location:

[zend]zend_extension_manager.optimizer=/usr/local/zend/lib/optimizer-3.3.3zend_extension_manager.optimizer_ts= /usr/local/zend/lib/optimizer_ts-3.3.3zend_optimizer.version=3.3.3zend_extension=/usr/local/zend/lib/ Zendextensionmanager.sozend_extension_ts=/usr/local/zend/lib/zendextensionmanager_ts.so

Save exit. Then edit the/var/www/fcgi/domain.ltd/php5/php.ini and/var/www/fcgi/master/php5 in the same way as the editor/etc/ispcp/fcgi/parts/php5/php.ini. /php.ini. At this point, Zendoptimizer installation is complete!! All sites can use the Zendoptimizer!!!

Note: Set Zend.ze1_compatibility_mode to on only under PHP4, if you have only installed PHP5, it is recommended not to modify, still remain zend.ze1_compatibility_mode to the off state, that is: zend.ze1 _compatibility_mode = Off

How CentOS installs Zend Optimizer

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.