Zendoptimizer Configuration Guide _php Tutorial

Source: Internet
Author: User
Zend Optimizer Configuration Guide
Current Author: Chao (HeartIcy@163.com)
Date Created: January 14, 2003
Revision: 1.1
Zend Optimizer is a free PHP optimization software opened by the PHP core engine "Zend" creator Zend technology company. According to Zend Company
Disclosed that using this software in some cases can at least improve performance by more than 30%! This is a good free meal, of course, we'll do it now.
Talk about how to configure this set of software.
The installation of Zend opt is a fool, and the Setup Wizard automatically modifies the php.ini to help you start the engine based on your choice. Below
Let us introduce the configuration options for Zend opt to help you maximize your custom and reasonable configuration. Below is the configuration file I used, see not
Understand and don't worry, after reading this article you will fully understand.
[Zend]
zend_optimizer.optimization_level=1023
Zend_optimizer.encoder_loader=0
zend_extension_ts= "C:Program FilesendlibendOptimizer.dll"
Now let's introduce the meaning of this configuration file:
Zend_optimizer.optimization_level "= = Optimization degree, here defines how many optimization processes to start.
Zend_optimizer.encoder_loader "= = whether to allow processing of PHP files encrypted by Zend Encoder.
Zend_extension_ts the directory where the = = Optimizer resides.
Zend_optimizer.optimization_level detailed explanation of the optimization process
Here is the most important part, look carefully! Zend opt has a total of 10 optimization processes, the more theoretically the more performance the better. Of course
There is always a gap between theory and practice. The more you turn on the optimization process, the greater the performance consumption, and the more Zend opt 10 optimizations
Process is not the same, which means the effect is not average. Zend The highest value defined by the company (high mode) is 15, here 15 means open 1-4
Optimization process. Of course, many friends are not satisfied with this, after all, the highest only open 4 optimization process even half of the total is not. Each excellent

The corresponding numeric code (value) of the process is as follows:
Do not use 0 <= if this is not installed, but also save a bit of memory to say!
Optimization Process 1 (PASS1) 1
Optimization Process 2 (PASS2) 2
Optimization Process 3 (PASS3) 4
Optimization Process 4 (PASS4) 8
Optimization Process 5 (PASS5) 16
Optimization Process 6 (PASS6) 32
Optimization Process 7 (PASS7) 64
Optimization Process 8 (PASS8) 128
Optimization Process 9 (PASS9) 256
Optimization process (PASS10) 512
The way in which the optimization process is turned on is controlled by the addition of these numeric codes (values) and by the parameter values of the parameters. As I
The configuration file in Zend_optimizer.optimization_level = 1023, where 1023 is the optimization process 1 to the optimization process 10 full
The sum of the part number code (value) is added, which means that all 10 optimization processes are turned on. The high mode value defined by the Zend company just mentioned
For 15,15, open the optimization process at the same time 1-4.
Cryptographic code support Zend_optimizer.encoder_loader detailed explanation
For this parameter, I think most of the friends who have not seen the Zend Opt FAQ document do not know. This parameter is used to tell Zend Opt
Whether to support code that has been Zend Encoder encrypted. By default, Zend Opt will support encrypted code. If you are not using encrypted
Code I recommend you to turn off this option. This function involves the process of unpacking the anti-code, which can lead to the aggravation of the system load. My friend has
Development completed the corresponding anti-compilation tool, is expected to be launched after the Spring Festival.
The value of this parameter is only two 0 off, 1 is turned on. The default is 1 and the recommended setting is 0.
Module positioning Zend_extension_ts No need to explain
This is the simplest place, the parameter is the installation path of the Zend opt module on the hard disk.
All right, this is it! Hope this article is helpful to friends who like PHP. If there are any areas that you do not understand, you can use e-mail
I contacted-HeartIcy@163.com. Before I published the "Open a free ASP fast road" by the domestic many websites to erase the copyright notice and the author of the information immoral reprint, I hope the same situation do not appear in this article. It writing community A Liang surname author please self-esteem, and several other sites do not take a breath, I also know what you did! * This document complies with the United States Free Software Foundation General Documentation License Agreement issued *

http://www.bkjia.com/PHPjc/532060.html www.bkjia.com true http://www.bkjia.com/PHPjc/532060.html techarticle Zend Optimizer Configuration Guide Current Author: Chao (HeartIcy@163.com) Date Created: January 14, 2003 Revision: 1.1 Zend Optimizer is made by the PHP core engine "Zend" creator Zend technology ...

  • 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.