Zend Optimizer is a free PHP optimization software created by the PHP core engine "Zend" creator Zend Technologies. According to Zend, using this software can improve performance by at least 30% in some cases! Such a good free meal is of course used, now let's talk about how to configure this software. The Zend Optimizer installation is foolish, and the installation wizard will automatically modify php.ini to help you launch the engine based on your choice.
Let's introduce the configuration options of Zend Optimizer to help you maximize your custom configuration. Below is the configuration file I used, don't understand and don't worry, you will fully understand after reading this article.
[Zend] zend_Optimizer.Optimizerimization_level=1023 zend_Optimizer.encoder_loader=0 zend_extension_manager.optimizer_ts="D:\\PHP\\Zend\\lib\\Optimizer-3.3.0" zend_extension_ts="D:\\PHP\\Zend \\lib\\ZendExtensionManager.dll"
Introduce the meaning of this configuration file: zend_Optimizer.Optimizerimization_level← Optimization degree, here defines how many optimization processes are started; zend_Optimizer.encoder_loader ← Whether to allow processing by Zend Encoder PHP file; zend_extension_manager.optimizer_ts ← directory where the optimizer is located; zend_extension_ts ← The installation path of the Zend Oprimizer module on the hard disk.
Detailed explanation
Optimization process zend_Optimizer.Optimizerimization_level The most important part of this, look carefully! Zend Optimizer has a total of 10 optimization processes, and the more theoretically, the better the performance. Of course, there is always a gap between theory and practice. The more the optimization process is turned on, the more the performance is consumed. The 10 optimization processes of Zend Optimizer are not the same, that is, the effect is not average. The highest value defined by Zend (High mode) is 15, where 15 refers to the optimization process 1-4. Of course, many of my friends are not satisfied with this. After all, the highest optimization process only opens up to four optimization processes without even half of the total. The corresponding numeric code (value) of each optimization process is as follows: Do not use 0 <= If this is not as good as not, you can save some memory! 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 10 (PASS10) 512 The way in which the optimization process is initiated is controlled by the addition of these digital codes (values) and the parameter values of this parameter. For example, in my configuration file, zend_Optimizer.Optimizerimization_level = 1023, where 1023 is the sum of all the digital codes (values) from optimization process 1 to optimization process 10, indicating that all 10 optimization processes are turned on. The High mode value defined by Zend just mentioned is 15, 15 means that the optimization process 1-4 is turned on at the same time.
Encrypted Code Support zend_Optimizer.encoder_loader For this parameter, I think most of the friends who haven't read the Zend Optimizer FAQ document don't know. This parameter is used to tell Zend Optimizer whether to support the code encrypted by Zend Encoder. By default Zend Optimizer will support encrypted code. I recommend that you turn this off if you are not using encrypted code. This function involves the process of unpacking the inverse code, which will cause the system load to increase. The value of this parameter is only two zeros off, 1 is on. The default is 1, and the recommended setting is 0.
Directory positioning zend_extension_manager.optimizer_ts No need to explain this is the easiest place, the parameter is the directory on the hard disk where the Zend Optimizer module is located
Module positioning zend_extension_ts No need to explain this is the easiest place, the parameters are The installation path of the Zend Optimizer module on the hard disk.
The world officially entered the ZB era in 2010, according to IDCs forecast, by 2020, the world will
HTTP Error 403.1 - Forbidden Access: Execution access is denied. Workaround This page cannot display
Use the group policy to restrict the permission of the executable exe of the website directory, whic
When viewing the IIS website access log, it is found that the time recorded in the IIS log is incorr
How to build a WAP website on IIS
In-Depth Analysis of Server Web Cache
Memcache and memcached installation process
Leverage rack switches for low cost and high efficiency
Nginx custom 404 error page setting method
Teach you how to completely reinstall IIS!
Server terminology: workstation, blade server
Nginx and apache limit ip connection number and bandwidth method
The management server ensures that the actual management experience of security is shared.
Solving the Modules Installer service does not start
Five ways to make memory usage more efficient
Microsoft Windows 7 new features users want to expose
How to map OneDrive in Win10 to local?
Win10 Build 10036 new batch of screenshot exposure No Spartan browser
After Win7/Win8.1 upgrades Win10, the WiFi network is often dropped. How to do
How to enter a pure DOS system and set up the CD drive to start
Windows XP 4 the latest application skills
There are several reasons why the network speed is slow. The